Skip to content

Diff options popover - #10756

Merged
niik merged 23 commits into
developmentfrom
diff-options
Oct 12, 2020
Merged

niik merged 23 commits into
developmentfrom
diff-options

Conversation

@niik

@niik niik commented Oct 7, 2020

Copy link
Copy Markdown
Member

Description

Adds a button with a gear icon to the changes and history view that toggles a popover containing diff options. This replaces the checkbox we currently have for hiding/showing whitespace changes and the diff mode.

For discoverability reasons we show a little 'New' callout bubble next to the button. Both the popover and the new callout are new patterns in the app but I think they fit in nicely. The popover parts of the diff options component could and should be extracted into its own reusable container but I'm punting on that until we want to reuse it.

To a large extend this copies the GitHub.com UX for diff settings

image

Screenshots

image

image

Base automatically changed from hack-unified-diff to development October 9, 2020 11:22
@niik

niik commented Oct 12, 2020

Copy link
Copy Markdown
Member Author

@ampinsk Feel free to do an after-the-fact review of this, I'd love your input. Since you're out for the week however I'm going to merge this as-is to get it into the next beta.

@niik
niik merged commit 68a5819 into development Oct 12, 2020
@niik
niik deleted the diff-options branch October 12, 2020 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant