Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Group Breakpoints Menu #4093

Merged

Conversation

jasonLaster
Copy link
Contributor

@jasonLaster jasonLaster commented Sep 19, 2017

Summary of Changes

  • simplifies labels
  • groups items

Old

screen shot 2017-09-19 at 2 41 26 pm


screen shot 2017-09-19 at 2 41 23 pm

New

screen shot 2017-09-19 at 2 40 13 pm


screen shot 2017-09-19 at 2 40 09 pm

breakpointMenuItem.removeCondition.accesskey=c
breakpointMenuItem.editCondition.label=Edit breakpoint condition
breakpointMenuItem.editCondition.accesskey=n
breakpointMenuItem.enableSelf2=Enable
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we're doing this change. can we switch to use .label

breakpointMenuItem.enableAll2=Enable all
breakpointMenuItem.enableAll2.accesskey=b
breakpointMenuItem.disableAll2=Disable all
breakpointMenuItem.disableAll2.accesskey=k
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no other letter available?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are a lot of other items in the context menu so it is tough to come up w/ one

@darkwing
Copy link
Contributor

It may be better to disable menu items than hide them if it creates a situation where a separator is the first item in the context menu.

@jasonLaster
Copy link
Contributor Author

Oh nice, that's where it's coming from!

@darkwing
Copy link
Contributor

Awesome idea but still seeing a trailing separator:

lastsep

Should we simply disable items that you're hiding? Seems a decent way for users to discover features of the menu, even if they aren't immediately applicable.

@jasonLaster
Copy link
Contributor Author

that's okay, because we haven't finished "add condition". Once that's in there will always be a conditional item

@jasonLaster jasonLaster merged commit 02442c1 into firefox-devtools:master Sep 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants