Add basic menubar #9

Merged
alexliebowitz merged 2 commits from menubar into master 2017-03-09 00:23:04 +01:00
alexliebowitz commented 2017-03-08 10:07:55 +01:00 (Migrated from github.com)

This includes a Developer menu that can be enabled or disabled through the UI.

This Web UI PR is needed to enable and disable the menu: https://github.com/lbryio/lbry-web-ui/pull/193

This includes a Developer menu that can be enabled or disabled through the UI. This Web UI PR is needed to enable and disable the menu: https://github.com/lbryio/lbry-web-ui/pull/193
kauffj (Migrated from github.com) requested changes 2017-03-08 16:03:09 +01:00
kauffj (Migrated from github.com) left a comment

Please add the minimum of menu options.

Please add the minimum of menu options.
kauffj (Migrated from github.com) commented 2017-03-08 16:00:07 +01:00

What do "undo" and "redo" do in context of this app?

What do "undo" and "redo" do in context of this app?
kauffj (Migrated from github.com) commented 2017-03-08 16:00:51 +01:00

I also have a "paste and match style" option, which I don't see listed here? Is there a way to just add paste without "paste and match style"?

I also have a "paste and match style" option, which I don't see listed here? Is there a way to just add paste without "paste and match style"?
kauffj (Migrated from github.com) commented 2017-03-08 16:01:02 +01:00

What does this do?

What does this do?
kauffj (Migrated from github.com) commented 2017-03-08 16:01:26 +01:00

Same as above questions... why do we need/want this?

Same as above questions... why do we need/want this?
kauffj (Migrated from github.com) commented 2017-03-08 16:02:14 +01:00

We have a help option in the UI. If we add help to the toolbar, it should go to the same place. If we want to encourage FAQ usage, the main "Help" section should do that.

We have a help option in the UI. If we add help to the toolbar, it should go to the same place. If we want to encourage FAQ usage, the main "Help" section should do that.
alexliebowitz (Migrated from github.com) reviewed 2017-03-08 18:36:26 +01:00
alexliebowitz (Migrated from github.com) commented 2017-03-08 18:36:26 +01:00

Undo and redo typing, just like in a browser. They're not going to be heavily used, but I feel like people expect that to be in any app with an Edit menu.

Undo and redo typing, just like in a browser. They're not going to be heavily used, but I feel like people expect that to be in any app with an Edit menu.
alexliebowitz (Migrated from github.com) reviewed 2017-03-08 18:39:23 +01:00
alexliebowitz (Migrated from github.com) commented 2017-03-08 18:39:23 +01:00

I did remove the Paste and Match Style option, so it sounds like you're getting the default Electron menu (the one that appears in developer mode). It looks similar because I based this on the example from the Electron docs which shows you how to make the same menu as the default developer menu. I'll take a look at the office today.

I did remove the Paste and Match Style option, so it sounds like you're getting the default Electron menu (the one that appears in developer mode). It looks similar because I based this on the example from the Electron docs which shows you how to make the same menu as the default developer menu. I'll take a look at the office today.
alexliebowitz (Migrated from github.com) reviewed 2017-03-08 18:44:56 +01:00
alexliebowitz (Migrated from github.com) commented 2017-03-08 18:44:55 +01:00

I feel like these options are supposed to be there for text editing in every app that has text boxes.

I checked the macOS HIG here and it confirms:

Even if your app doesn’t handle text editing within its documents, the expected Edit commands should be available for use in dialogs and wherever users can edit text.

I haven't checked the Windows or GNOME/KDE guidelines, though. Might be different there.

I feel like these options are supposed to be there for text editing in every app that has text boxes. I checked the macOS HIG [here](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/OSXHIGuidelines/MenuBarMenus.html#//apple_ref/doc/uid/20000957-CH29-SW7) and it confirms: > Even if your app doesn’t handle text editing within its documents, the expected Edit commands should be available for use in dialogs and wherever users can edit text. I haven't checked the Windows or GNOME/KDE guidelines, though. Might be different there.
alexliebowitz (Migrated from github.com) reviewed 2017-03-08 18:48:48 +01:00
alexliebowitz (Migrated from github.com) commented 2017-03-08 18:48:48 +01:00

True. I wasn't giving this part a lot of thought because I knew it would be at least today before it was merged. Just trying to get the general framework of the menu up for review. We should probably decide today on the full set of menu items and what they should do.

True. I wasn't giving this part a lot of thought because I knew it would be at least today before it was merged. Just trying to get the general framework of the menu up for review. We should probably decide today on the full set of menu items and what they should do.
kauffj (Migrated from github.com) reviewed 2017-03-08 22:26:19 +01:00
kauffj (Migrated from github.com) commented 2017-03-08 22:26:19 +01:00

Chrome does not have undo and redo in it's menu bar. I do not think that we should either.

Chrome does not have undo and redo in it's menu bar. I do not think that we should either.
kauffj (Migrated from github.com) reviewed 2017-03-08 22:26:32 +01:00
kauffj (Migrated from github.com) commented 2017-03-08 22:26:32 +01:00

Confirmed, I no longer see this.

Confirmed, I no longer see this.
kauffj (Migrated from github.com) reviewed 2017-03-08 22:26:49 +01:00
kauffj (Migrated from github.com) commented 2017-03-08 22:26:49 +01:00

This should be removed probably.

This should be removed probably.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#9
No description provided.