-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Improve working-set context menu UI/UX #5573
Comments
Comment by artoale
|
Comment by artoale A couple of screenshot to show the UI |
Comment by larz0 Wow nice. Could you try and make the cog smaller (try 13px) so that it's not larger than the "Working Files" text. Hope that makes sense. Thanks |
Comment by artoale Here we go :) |
Comment by artoale
|
Comment by MentalGear Looking good !
I do the CSS corrections myself in a few hours (once I am free). Btw: Can you explain what you mean with: silent styling as the recent-project drop-down button ? |
Comment by artoale "silent" was intended to mean "quiet" in topcoat terminology (there's no 2013/11/26 Cocoa-Coder notifications@github.com
Alessandro Artoni artoale.com |
Comment by artoale Thanks, I'll fix these as soon as I get home |
Comment by pthiess
|
Comment by peterflynn Re #6012 disappearing: I have no idea what happened to it either, so fwiw I've pinged GitHub support. Once or twice in the past we've hit some sort of "stale cache" GH bug that lead to missing query results, but this seems different... |
Comment by artoale
|
Comment by peterflynn
I would look at things like the rollover state and popup styling, how they behave as the sidebar is resized smaller, which actions close vs. don't close the popup, how the menu items are styled and formatted (including on rollover), etc. One difference worth noting: I know a bunch of work went into making the Recent Projects dropdown keyboard-accessible. But most of our other popup menus are not keyboard-accessible (in fact they generally don't even take focus), so I wouldn't worry about replicating that behavior here... |
Comment by artoale Definitely make sense... I'll try to test this as much as I can and
|
Comment by peterflynn No need to go overboard with the fixes, it's just a good idea to test and make note of anything... if it's just little things they probably don't need to get addressed yet. |
Comment by artoale Even better :-)
|
Comment by artoale I've testing this feature for a while...and it seems to me that the only behavioral difference w.r.t the Recent Project extension is the key binding behavior. The context menu doesn't get focus therefore it's not keyboard-accessible. Apart from that, they both close much on every click (with a small exception being that the X for closing a recent project doesn't close the dropdown. Moreover, they both close when ESC is pressed. |
Comment by MentalGear Some people expressed reservations about the new "Arrange Menu" because it would be a different style than the "Recent Projects" Menu. So for standardizing menus, here's a version of the recent files menu, with the new style applied. But I have to say, imo, no matter which one you favor, there should be a connection. ( or it may look like a context menu from windows 98 ) |
Comment by artoale In my opinion the triangle is very oldish, while the plain dropdown is much
|
Comment by larz0
|
Comment by artoale
|
Comment by TomMalbran
|
Comment by artoale I was considering this more in details...well, it's not super straightforward: I think that, if we really want to refactor the recent project plugin to use this helper, we should consider a more in depth refactoring because:
long story short...it seems to me that refactoring Recent Project with this simple function creates more confusion and doesn't actually reduce code duplication: it requires in fact an adapter that provides a ContextMenu-compatible interface for RecentProject and we should still do a lot of manual event handling registration/registration. Moreover, since we don' t share neither the markup nor the hide/show logic, it will all results in a hackish solution rather than a more clean code. |
Comment by TomMalbran I am not talking about refactoring the entire code in the Recent Projects initialization, just use this function for the part that creates the menu and places it under the project name. |
Comment by artoale Yes, I know...what I'm saying is that, by trying to do that, it looks more like a hack than a good reuse practice :) I' push soon a basic implementation and let you see what I mean :) |
Comment by artoale ping :) |
Comment by TomMalbran Oh, sorry. We don't get mails when a new commit is done, so is better to add a reply after you add a comit and want feedback. That looks great, and was what I thought that we could refactor, just the opening and cloing using the mouse. If we find other stuff later that both codes share, we can refactor those later too. |
Comment by artoale Here we go :) |
Comment by artoale ping! |
Comment by JeffryBooher
|
Comment by artoale Yup, sure! I'll try to rebase it tomorrow night! |
Issue by artoale
Monday Nov 25, 2013 at 21:07 GMT
Originally opened as adobe/brackets#6107
This commit refers to issue #6012
It rearrange items whitin the working sets and move all those related
to "sorting" to a new drop down menu accessible through a new cog
button in the working set header
artoale included the following code: https://github.com/adobe/brackets/pull/6107/commits
The text was updated successfully, but these errors were encountered: