Plots2: Add "save a draft" pop-up to remind people to save their work?

Created on 20 Jul 2018  Â·  24Comments  Â·  Source: publiclab/plots2

Folks sometimes draft a long post at https://publiclab.org/post, and while the rich editor auto-saves drafts (up to 20 of them) locally, that's not super apparent, and it's only in your local browser (you'll lose it if you clear your cache and session).

We could have a Bootstrap pop-up by the Publish button appear after you enter more than 100 characters, reminding you to Don't lose your work - save a draft, and also noting that drafts are stored only in your computer's browser under the ... symbol to the right (maybe in its own popup?)

https://getbootstrap.com/docs/3.3/javascript/#popovers

Something like this?

screen shot 2018-07-20 at 11 03 00 am

Then, once we have #3109, we could have it auto-save directly to revisions, so there's a server-side copy.

enhancement help wanted

Most helpful comment

Hi @jywarren can I work on this issue? I've seen that PR for this issue was abandoned

All 24 comments

Eventually, we could have the /post form automatically save as you begin to type... is that something we'd like to see, @publiclab/community-reps ?

Yes!

I am adding pop-over for now and yes :smile: , I would like to help with this issue once details are final. Thanks!

awesome, thank you!

On Fri, Jul 20, 2018 at 3:33 PM Gaurav Sachdeva notifications@github.com
wrote:

I am adding pop-over for now and yes!, I would like to help with this
issue once details are final. Thanks!

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3110#issuecomment-406705101,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ6mW_JfNf_IrBOgtWUZkaFWbRNkWks5uIjBugaJpZM4VYLzv
.

@jywarren may i work on this issue? also will you tell me which file needs this change?

@publiclab/mentors can i work on this?

Hi Dhiraj, you can proceed with the issue. thanks!

On Fri 5 Oct, 2018, 4:11 AM Dhiraj Sharma, notifications@github.com wrote:

@publiclab/mentors https://github.com/orgs/publiclab/teams/mentors can
i work on this?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3110#issuecomment-427192634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT6S9voMsLdWPJKFLQzfBn9DjNg2EGHdks5uho6YgaJpZM4VYLzv
.

@publiclab/mentors @publiclab/reviewers may i know which code files need the changes.

@jywarren will you please tell me which file need changes?

@Dhiraj240 this is a bit of a guess but I would suggest looking at 177b72e where "save as draft" was recently modified.

@pdurbin Yeah, i compare it with inspect elements,thanks but may i know how you figured it out because right now i am using windows where i am getting to many errors to handle the installation and see it working on localhost.
Planning to install fedora using vmware but that will need time which may stop me to fill the GCI mentor form.

My usual trick for finding the right code to hack on is to search GitHub for a phrase I see in the UI of the app, such as "save as draft" in this case. Here's a screenshot:

screenshot from 2018-10-06 10-01-48

Okay, now i have changed the code but how can i see it working since i am facing ruby installing issues.

Hi, what issues are you seeing? Could you show the errors? Thanks!

On Sat, Oct 6, 2018, 10:12 PM Dhiraj Sharma notifications@github.com
wrote:

Okay, now i have changed the code but how can i see it working since i am
facing ruby installing issues.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3110#issuecomment-427576722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJwkp-pXaogbQY_8JC6V9LRdNT-TOks5uiLoQgaJpZM4VYLzv
.

Hi, what issues are you seeing? Could you show the errors? Thanks!
…
On Sat, Oct 6, 2018, 10:12 PM Dhiraj Sharma @.*> wrote: Okay, now i have changed the code but how can i see it working since i am facing ruby installing issues. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#3110 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJwkp-pXaogbQY_8JC6V9LRdNT-TOks5uiLoQgaJpZM4VYLzv .

I a using windows and @gauravano this alternative didn't work.
screenshot 176
This was after running bundle install --without production mysql

@jywarren It would be nice if you help me or please provide some help in setting up this project on cloud9 as according to documentation it didn't work for me.

Ah, what went wrong? Was there an error message?

On Sat, Oct 13, 2018, 6:29 PM Dhiraj Sharma notifications@github.com
wrote:

@jywarren https://github.com/jywarren It would be nice if you help me
or please provide some help in setting up this project on cloud9 as
according to documentation it didn't work for me.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3110#issuecomment-429529189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ6YEjH-DgawURqHCsjzOFdOob1iXks5ukcBggaJpZM4VYLzv
.

Even after searching through stackoverflow the changes do not seem to work.There is some issue with a lib-v-8 version.

Hmm, we've seen issues on Windows installations in #3665 -- can you share the cloud9 errors and perhaps we can help you with that? Sorry you're having trouble!

In that too nothing seems to process as when i edit installer.sh it keeps on processing with no end result.

Would it be helpful if you could use Cloud9 instead and develop remotely on a linux machine? I'll send you an invite!

https://console.aws.amazon.com/cloud9/home

Oh darn, sorry -- read this too fast, you're already in there.

Can you paste the output into https://gist.github.com and paste the link here, so we can read your errors and help out?

Hi @jywarren can I work on this issue? I've seen that PR for this issue was abandoned

Hi @Ivilili go ahead!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  Â·  3Comments

divyabaid16 picture divyabaid16  Â·  3Comments

milaaraujo picture milaaraujo  Â·  3Comments

keshavsethi picture keshavsethi  Â·  3Comments

keshavsethi picture keshavsethi  Â·  3Comments