ElkArte Community

Elk Development => Feature Discussion => Exterminated Features => Topic started by: emanuele on February 07, 2013, 10:23:29 am

Title: "quick" reply
Post by: emanuele on February 07, 2013, 10:23:29 am
A while ago, I was writing a mod for SMF:
https://github.com/emanuele45/full_reply_in_topic
the idea was to start "deprecating" the post page, making it useful just for new topics and modify messages.

Now, after a while I found again the repo, I translated the commit messages to English and pushed at github.
It may be interesting (at some point) consider something like this... O:-)

Of course that mod is a bit outdated at the moment, though Feature Cat may find it interesting. :P
Title: Re: "quick" reply
Post by: Spuds on February 07, 2013, 12:08:01 pm
Could you explain a bit further what this does  O:-)
Title: Re: "quick" reply
Post by: emanuele on February 07, 2013, 01:04:11 pm
Let's say it puts "everything" you need when you want to create a post (including subject, icons, additional options, attachments, etc.) into the "quick" reply.
Then, "Display" inherits all the behaviours of "Post" including the preview, the fact for example that if someone else creates a message while you are posting, warns you the moment you click on "post" or "preview" and AJAXly loads the new message/s and puts then into the proper position giving you the warning "someone has posted you may want to review the message", etc.

A bit of screenshots attached to explain it a bit more easily (on SMF 2.0).

The main drawback is that it has to load quite a lot of javascript in Display too that may be useful...or not..
Title: Re: "quick" reply
Post by: Spuds on February 07, 2013, 05:11:17 pm
Ah ... quick reply on steroids  :D makes sense really
Title: Re: "quick" reply
Post by: emanuele on February 07, 2013, 05:35:38 pm
Why do you always say "yes"? :P
Title: Re: "quick" reply
Post by: IchBin on February 07, 2013, 05:55:09 pm
So that he won't have to come up with the idea later. This means you have to do the coding cuz he's lazy. :D
Title: Re: "quick" reply
Post by: Feature Cat on February 13, 2013, 10:39:47 am
/me sniffs around the code and screenshots, not very convinced of the appeal of this thingy-thing.
Title: Re: "quick" reply
Post by: emanuele on February 13, 2013, 12:30:58 pm
Don't look at the code, it was just a hackish way to keep low the amount of work in SMF. :P
Title: Re: "quick" reply
Post by: Spuds on February 13, 2013, 12:42:09 pm
Quote* Feature Cat sniffs around the code and screenshots, not very convinced of the appeal of this thingy-thing.
Could feature cat actually be getting full  :o  :P
Title: Re: "quick" reply
Post by: Antechinus on February 13, 2013, 03:33:39 pm
TBH I'm happy with what we've got now. Events, polls, attachments, etc can stay where they are.
Title: Re: "quick" reply
Post by: emanuele on November 26, 2013, 06:07:25 am
I think that in the current state I should be able to obtain the same effect without a single code edit...quick reply is in a layer that can be removed and re-added (cool, I have to add a "replace" method to the layers class! :D) easily, Display.template.php doesn't have any template_main, so I can load Post.template.php without risk of function conflicts and re-use the layers there, the only trick I have to use is that I cannot add the Post functions as layers, but I have to call them directly. Not a big deal. :P