Bitcoin Forum
November 19, 2024, 04:32:24 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do you use the "draft" option  (Read 587 times)
Rizzrack (OP)
Copper Member
Hero Member
*****
Offline Offline

Activity: 784
Merit: 710


Defend Bitcoin and its PoW: bitcoincleanup.com


View Profile WWW
July 28, 2020, 11:00:46 AM
Merited by TheBeardedBaby (1)
 #1

Recently the draft option has been implemented on epochtalk: https://github.com/epochtalk/epochtalk/releases/tag/v1.25.0

There's a new version Smiley
Cheers Smiley
Quote
1.25.0 (2020-07-21)
Bug Fixes
issue with draft status not clearing after message appears (97050d2)
Features
add db method for querying post draft by user id (d615417)
add db method for upserting post drafts (4a8d11b)
add resource for updating/retrieving drafts (3374e70)
allow null for draft, in order to clear out users current draft (12f0988)
clear out draft after post is created (e3bf192)
create route to update post drafts (a956c61)
display draft status in editor (d96ba80)
dont save draft if it hasnt changed (59c94cc)
load draft on editor open (59e1328)
route for getting post draft now functional (ba56180)
update to use latest version of epoch (e111b6c)

But still needs some updates to work as good or even better than it already does.

My proposals would be
- have a "save to draft" button on the editor and eliminate the concept "create draft when you preview post"
- keep the current max 100 drafts and delete them after 7 days. Since they got separated,different drafts for posts and PMs, maybe 50 for posts and 50 for PMs...

Would like to know how you use the draft option (as a place to store templates, don't use them that much etc), how many drafts do you have and if you guys have any other ideas or proposals for this topic. i.e the option to delete some drafts from the list etc.

Your input would be highly appreciated.

P.S. I know it's not the most important feature but thought to start with this one as it is fresh out of the coding oven and see where it goes Smiley

suchmoon
Legendary
*
Offline Offline

Activity: 3864
Merit: 9090


https://bpip.org


View Profile WWW
July 28, 2020, 11:33:26 AM
 #2

I think having drafts saved automatically when previewing or posting is great. Most of the time I use drafts when something went wrong building a large post (clicked the "back" button accidentally etc) so I can recover from the automatic preview draft. I would forget to click the manual draft button.

I would make the max number of drafts and days configurable, default to 1000 and 30 days perhaps. Storage is cheap.
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2240
Merit: 3150


₿uy / $ell ..oeleo ;(


View Profile
August 10, 2020, 08:42:16 AM
 #3

I agree with both of you.
I used this option only a few times when I accidentally deleted a reply full with data and formatting which will take a lot of time to write from scratch. But in the current situation the draft is saved until you post the post, then the draft is deleted. Also I don't have the access to the previous edits of the draft only the last one. What I noticed, if you edit your last post the draft is saved, then you save your edited post, and make a new one then comes a question if you want to load the draft. This shouldn't be like that. If you edit the post and hit "edit post" button the draft should be cleared.
 

Rizzrack (OP)
Copper Member
Hero Member
*****
Offline Offline

Activity: 784
Merit: 710


Defend Bitcoin and its PoW: bitcoincleanup.com


View Profile WWW
August 10, 2020, 11:47:37 AM
 #4

Yes, seems the first iteration has one single draft. Starting to think it might be enough... dunno

It saves the text as a draft as you write automatically.
If you close the window, pc restarts, bsod etc and open a thread you are prompted if you want to load the draft. Thing is after if you write in another thread it overwrites the existing draft.

It would serve as a single backup for unexpected situations.
As @suchmoon mentioned that this is the main use case and no one else mentioned any other one I would say it does what it's supposed to... I guess...

LoyceV
Legendary
*
Offline Offline

Activity: 3500
Merit: 17698


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 24, 2020, 08:14:41 AM
 #5

I would make the max number of drafts and days configurable, default to 1000 and 30 days perhaps. Storage is cheap.
I checked a while ago, and 100 drafts lasts me about a day. I preview and edit a lot.
I sometimes use the drafts to restore a lost post, but it's quite useless as it doesn't last long. I'd even want more than 1000 posts (and 30 days) to be more useful. I currently have an unfinished post that I've been postponing for about a month. Once in a while, I click "Preview" to keep a new draft again, but I've also saved a backup on my PC. For convinience, it would be good if drafts are more reliable.

If you close the window, pc restarts, bsod etc and open a thread you are prompted if you want to load the draft. Thing is after if you write in another thread it overwrites the existing draft.
Most of the time, my browser restores all tabs and the unfinished post is still there. But not all the time, and I've lost some posts that way.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2240
Merit: 3150


₿uy / $ell ..oeleo ;(


View Profile
August 24, 2020, 08:35:03 AM
 #6

The number of saved drafts and the days they were saved could be rank/activity connected. The same as the posting time. That way the server load will be reduced quite a lot as many newbies(spambies) never "level up". If you reach Legendary, then you can have those 1000 drafts and 30 days history. Smiley

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!