Skip to content

Shorten label: s/Inline discussions/Discussions#11

Merged
attfarhan merged 3 commits into
masterfrom
fa/update-icon
Jan 13, 2019
Merged

Shorten label: s/Inline discussions/Discussions#11
attfarhan merged 3 commits into
masterfrom
fa/update-icon

Conversation

@attfarhan

@attfarhan attfarhan commented Jan 9, 2019

Copy link
Copy Markdown
Contributor

Part of https://github.com/sourcegraph/sourcegraph/issues/1178.

Updates the label to be just a chat bubble icon, rather than "Inline discussions".

Also adds the parcel serve and build scripts like the new extensions have.

Screenshots:
GitHub:
image

Sourcegraph:
Light theme:
image

Dark theme:
image

@attfarhan

Copy link
Copy Markdown
Contributor Author

@francisschmaltz do you know how theming works for icons contributed by extensions? couldn't figure out how to get two different colors there for light/dark theme, and not aware of any extension that uses icons in this way. (cc @sqs in case you know how this works).

Any suggestions on how to get around this otherwise?

@francisschmaltz

Copy link
Copy Markdown

@attfarhan can you add current screenshots

@emidoots emidoots left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, this looks great! I've wanted this for a long time :)

Let's fix the dark theme icon before merging though, for sure.

@attfarhan

attfarhan commented Jan 10, 2019

Copy link
Copy Markdown
Contributor Author

@francisschmaltz those in the issue description are the latest screenshots. As we discussed I didn't use the CSS hack, hence why I haven't merged.

@attfarhan

Copy link
Copy Markdown
Contributor Author

@francisschmaltz I made the icon have color #808080. Updated the screenshots.

@francisschmaltz francisschmaltz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This looks bad right now. Either we should special case it, or do this the right way (API for sending an SVG that we can change the color).

@attfarhan attfarhan changed the title Update label to just be an icon Shorten label: s/Inline discussions/Discussions Jan 13, 2019
@attfarhan

Copy link
Copy Markdown
Contributor Author

Updated this to just say "Discussions" instead of "Inline discussions" as per https://github.com/sourcegraph/sourcegraph/issues/1178#issuecomment-453588982.

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.

3 participants