Improvement to drafts (and posting, actually) I need to do

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #30, on June 4th, 2012, 06:18 PM »
Also on an unrelated note, while discussing something over PM, the idea came to me that we could track the number of drafts that are in use for a given member, and display that as a notice variable for the PMs and posts, so that you'd know you had drafts around.

The person I was talking to was not that enthusiastic, hahahaa, but I thought I'd suggest it generally in case others like the idea.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #31, on June 4th, 2012, 06:36 PM »
For it to work, we'd need to have a flawless draft system ie no ghost drafts as happen from time to time.
I'd rather see Wedge fill in empty textareas with drafts if they're available. Although that would conflict with browser plugins that do just that.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

godboko71

  • Fence accomplished!
  • Hello
  • Posts: 361
Thank you,
Boko

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #34, on June 4th, 2012, 11:31 PM »
Went into my general draft section...

I have several drafts <= June 1st, but let's see for today:

1
Off-topic / Re: MySQL query optimization
« Today at 11:14 PM »
 EXPLAIN is one of those things that make possibly the only thing that is more confusing to me than regexps... Actually the

2
Off-topic / Re: Old layout vs new layout?
« Today at 09:32 PM »
 Looking good!

Footer needs extra top padding!

---> The second one was made on my iPod. The first one on Opera Desktop. In both cases, I posted these messages without any further trouble... So there still is a small issue with ghost drafts.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #36, on June 4th, 2012, 11:43 PM »
Another...?!!
Or maybe the infamous issue with drafts being saved after clicking the submit button?

Okay time for bed really... I hope you find some time to look into the membergroup caching stuff! okthxbye

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #42, on June 5th, 2012, 02:06 PM »
Chances that this will happen are VERY slim, while a draft being submitted after hitting submit are much higher, because it can take a few seconds for a post to be sent and redirect to the next page -- and during these few seconds, the draft system might very well decide to save the post on its side... i.e. while the post is being submitted, i.e. most likely AFTER the draft was supposedly removed from the database.

(Why don't you comment on my request for membergroup caching...? Out of ideas?)
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #43, on June 5th, 2012, 02:07 PM »
And another draft for me today -- in the Mobile version topic. And once again, it's an incomplete post written on my iPod, meaning that there is definitely a problem with the draft system, even without race conditions taken into account.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Improvement to drafts (and posting, actually) I need to do
« Reply #44, on June 5th, 2012, 02:24 PM »
OK, so it does need some work then, I'll look at it a bit later on.
Quote
(Why don't you comment on my request for membergroup caching...? Out of ideas?)
Because I'm tired and feel like crap and can't really process all the consequences of it right now.