Replies: 9 comments 14 replies
-
From Gazook89:
|
Beta Was this translation helpful? Give feedback.
-
Mock-up 1: Basic MenuJust a quick option for a drop down menu in the Editing page, and an option for the Share page (Share menu was added later with some extra flourishes). Matches the styling of the 'recent brews' menu. I think it should be a "on click" action, rather than hover...and the recent brews should use onclick as well. Placeholder icons used...could go without them as well. Pro's:
Cons:
|
Beta Was this translation helpful? Give feedback.
-
Mock-up 2: Floating ButtonsButtons along the side. Either in a strictly vertical format, or hidden groupings that expand out when their grouping button is clicked (grouping buttons not picture here). One set has some colors just to see what it looks like...could be used as 'hover' or 'active' colors for the buttons. The text labels were created just to provide context in this discussion, but on second look maybe they could be useful in production in the vertical format....slide the text out from behind the buttons as you hover? Note, these are just mockups, not coded at all. EDIT: |
Beta Was this translation helpful? Give feedback.
-
For the record, the current state of the nav bar is as below: Home:
New:
Edit:
Share:
User:
Print:
Source:
|
Beta Was this translation helpful? Give feedback.
-
Mock-up 3: Two Full Width NavBarsAnother option, expanding the Snippet bar to span the width of the entire window, rather than just the editor pane. Means that it would need to adjust depending on the page (edit, share, etc). The save status of the brew is indicated next to the title, using This also shows buttons for zoom in, zoom out, and a menu for making some similar changes. The 'card mode' and 'book spread' would need to be figured out so that their effects could be implemented on the fly, rather than making changes within the brew. Card mode would use Flexbox to as many pages into a row as possible, and book spread would utilize CSS Grid and aim to fit two pages side by side (if iframe width allows it) and also start with the first page on the right side. Finally, I changed the "Editor" snippet menu to "Layout"...I feel like Editor isn't very descriptive. I think some of those snippets could be reorganized as well, but this and that discussion can be done elsewhere. Pros
Cons
|
Beta Was this translation helpful? Give feedback.
-
I think that we should start from the use-cases of each menu item in order to understand where to place it. And probably there should be more than just one menu. A bit of more detailed explanation: There should probably be some generic navbar, which belongs to the site itself and provides high-level navigation, like:
This is probably all that I imagine at the moment for a site-wide menu, which is page-agnostic Then there should be some second-level page-specific navbars, which are unique to each page to give quick access to the most needed feature. Basically, we only have three (but in fact four) different pages: home, edit, share and new (do we really need to distinguish it from the edit page?). So, for edit page:
Home page: Share page:
New page should probably be removed in favor of an edit page, but if not removed probably it should be the same as home page, except you can edit metadata What do you think about that approach? |
Beta Was this translation helpful? Give feedback.
-
Again, just another mockup (and I'm going to start labeling these to make it easier to discuss). Mock-up 4: Three PaneI've sometimes wondered what a third pane would look like, such that css styling is done in one and the structure (md/html) in another. One pain point when creating a whole new custom theme on the fly is knowing which styles already exist, and then adding code to override or remove those styles. If the default stylesheet could be loaded into its own pane, and then modified and saved, that might be neat. Saving the modified stylesheet might mean it is tied to particular brew, or saved as it's own thing but linked to the brew doc as the referenced stylesheet. I'm going to revise this further, specifically the 'account' items, but posting this now because it's typed and I may have to jump ship abruptly before finishing revision |
Beta Was this translation helpful? Give feedback.
-
FYI, @stolksdorf already laid the foundation in the V3 branch for a more sophisticated Editor panel. I'm pretty keen to follow his work that uses buttons to swap between three "tabs": 1) Markdown Editor, 2) CSS, 3) Metadata (which is currently the awkward separate popup window. I am on board with adding additional buttons and rearranging the top nav bar/ editor panel, etc, but as for separate panel views I'm mostly planning to go with this approach (rather than a split view). Some screenshots taken from that version (remember that it is ~ 3years old and missing some of the current stuff): Markdown panel. Note the three buttons on the right edge of the editor panel. |
Beta Was this translation helpful? Give feedback.
-
Well, isn't this issue 3 years old now, youza! (as if i was here then, lol) The current state of the navigation looks about the same: With only 3 changes, New has a dropdown (From Blank / From File), The new page This option by Gazook was great, not sure why we wouln't want to go that way: Myself i like the idea, but we can't put that inside the brewRenderer component (see #3150). |
Beta Was this translation helpful? Give feedback.
-
Noting down some of the ideas mentioned in Gitter chat today (25/01/21):
New
button to the Nav bar #1208)The discussion centres around the redesign of the nav bar system, including the potential creation of a new dropdown menu for the Edit page which contains the normal file operations - "new" "open" "print" "save" - although in Homebrewery's case, it may be more appropriate to shift the following existing navbar items:
Beta Was this translation helpful? Give feedback.
All reactions