-
Notifications
You must be signed in to change notification settings - Fork 79
Pretty-fying sample cart and selection alerts #1101
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
Conversation
This is ready to go |
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.
Seems rather strange that you have to have these two lines in the same line.
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.
I don't, but javascript doesn't care about line breaks and it saves some transmit info.
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.
A byte? There are likely other larger areas of connection overhead that
would be more effective to worry about if this is a problem. We can do .min
versions later which would resolve extraneous whitespace, likely better to
worry about readability right now
On Apr 23, 2015 10:03 PM, "Joshua Shorenstein" notifications@github.com
wrote:
In qiita_pet/templates/list_studies.html
#1101 (comment):@@ -38,7 +44,7 @@
moi.send('sel', proc_data);
}-function show_alert(data) { bootstrapAlert(data + ' samples selected.', "success", 2000); }
+function show_alert(data) { bootstrapAlert(data + ' samples selected.', "success", 2000); $('#dflt-sel-info').css('color', 'rgb(0, 160, 0)');}I don't, but javascript doesn't care about line breaks and it saves some
transmit info.—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/pull/1101/files#r29022483.
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.
Eh, ok, I was lazy. Fixed.
👍 this looks great, though a minor thing: I think it would look better on the right side of the screen, to hint at the fact that it refers to the "selected" menu. |
Issue with right side of screen is that the div is position:absolute, so I would need to dynamically adjust the x position with that. As is, I use x=0 so it's much easier and screen-size-independent. |
Some suggestions:
|
In my opinion, your first two suggestions are going to confuse users. They are actually selecting the samples every time, it's just whether they are already registered or not on the back end that matters. Users will most likely not care about previously selected counts and all that, just that the ones they are currently selecting are registered. |
Took care of last 2 suggestions. Good to go again. |
I see your point but if a user stops adding studies, goes away, comes
back, they will not know immediately from the GUI what has been
selected. Thus, adding a way to know quickly what they have already
selected.
|
So tehy look at the selected studies page? |
Not convenient, neither quick.
|
Neither is what you are proposing. It's inconvenient and confusing. |
This is something we need to leave to user testing in my opinion. I think it's good as is and, if in user testing, it comes out as needed I will add it. This is the first alpha after all. |
Pretty-fying sample cart and selection alerts
@squirrelo just a general comment in terms of the UI. Note that the first users of the interface are the reviewers. If the reviewers already find something that is confusing to them, is a read flag that the interface is going to be confusing to the users. Also you're basing your arguments on your brain image of the interface, while @antgonza is already seeing in your current interface that something does now work. Probably, his proposal is not the best one, but is already saying that there is something wrong with the interface. Check the new Contributing.md to see why this is important. @antgonza given that it looks like there is no agreement on the final UI (although I agree with you that there is a problem), it would be useful if you can mock up something to show an improvement. In the past, I downloaded the final HTML from chrome and I did quick modifications there so I can see how the interface is going to look like (but is not functional). I think this will help to @squirrelo to understand that his UI is missing something. |
This adds the color change and the floating div.