-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a 'Start a new sequence' button #589
Conversation
Oh! Yes it seems quite similar, both are opening a new page with no steps but in this case we are opening it in a new tab. So people would not lose their work. What would be better to click on the button "Start a new sequence" to open a new page or clicking on the header or both, depending on that maybe we can merge one or both PRs? I think having a seperate button makes it more clear to the user. Thanks! 😄 |
@mridul but why add buttons unnecessarily when it can be done with the header, also most websites have this thing that you click on the logo or the name and it takes you to the home page. What say? 🤔 |
I think both are different ways of thinking of similar functionality - one
reason to have a button might be that people may not know how to "clear"
the sequence and start a new one, and it does seem like in a web app of
this complexity, "starting a new sequence" may not seem obviously the way.
I'm also concerned about people losing their work, so what do you think
about having both a minimal button like [+ New sequence] AND the header do
this, but both open a new window?
Thanks for thinking through this carefully!
…On Thu, Jan 3, 2019 at 7:59 AM aashna27 ***@***.***> wrote:
@mridul <https://github.com/mridul> but why add buttons unnecessarily
when it can be done with the header, also most websites have this thing
that you click on the logo or the name and it takes you to the home page.
What say?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#589 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3ujo5EcRdUyeosnYIRowEwEPL3Hks5u_f6LgaJpZM4ZmAL3>
.
|
If the header restarts the sequence then there is a high chance that the user may click the header by mistake and loose the work. Instead i think the header should open a new page with a new sequence and the foooter should have a button which can clear the current sequence but with a conformation. |
yess seems perfect !! |
super!
…On Thu, Jan 3, 2019 at 12:35 PM aashna27 ***@***.***> wrote:
If the header restarts the sequence then there is a high chance that the
user may click the header by mistake and loose the work. Instead i think
the header should open a new page with a new sequence and the foooter
should have a button which can clear the current sequence but with a
conformation.
yess seems perfect !!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#589 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5DvPSNostMAohMTA1i-0r_Bh8l5ks5u_j89gaJpZM4ZmAL3>
.
|
@jywarren Please have a look! |
@Mridul97 I think the button should confirm if the user wants to reset the sequence. The user may click on that button instead of clicking on download png and may loose progress. |
@harshkhandeparkar Nice! I will add a confirmation option. Thanks! |
Cool that will be awesome 😊
… On 07-Jan-2019 11:59 PM, "Mridul97" ***@***.***> wrote:
@harshkhandeparkar <https://github.com/HarshKhandeparkar> Nice! I will add
a confirmation option. Thanks!
|
@Mridul97 I have a few suggestions you can shorten the if statement to:
No need to catch the Also can you use |
examples/index.html
Outdated
@@ -171,6 +171,7 @@ <h4 class="modal-title">Your gif is ready</h4> | |||
<div class="panel-body"> | |||
<div style="text-align:center;"> | |||
<button class="btn btn-success btn-lg" id="download-btn" name="download">Download PNG</button> | |||
<input type="button" id="resetButton" class="btn btn-success btn-lg" value="Reset Sequence"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still a </a>
remaining here @Mridul97.
Looks awesome @Mridul97. |
Awesome! Can we have it be a white button (btn-default, I think?) And say "clear all steps"? Since restart might sound like just rerunning everything. Thanks!! |
@jywarren I have made the changes. Please have a look! |
Fixes #496
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!