Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Emphasize column titles to differentiate it from regular texts. #952

Closed
wants to merge 3 commits into from

Conversation

zee-bit
Copy link
Member

@zee-bit zee-bit commented Mar 17, 2021

This is a minor UI enhancement, that renders the column-titles in bold to remain consistent with the LineBox borders while differentiating them from the rest of the text.

BEFORE:
monochrome
monochrome-before
default
default-before
gruvbox
gruvbox-before
zt_light
light-before
zt_blue
blue-before

AFTER:
monochrome
monochrome-after
default
default-after
gruvbox
gruvbox-after
zt_light
light-after
zt_blue
blue-after

@zulipbot zulipbot added the size: S [Automatic label added by zulipbot] label Mar 17, 2021
@zee-bit zee-bit force-pushed the narrow-titles-bold branch 3 times, most recently from 9ab794e to b0c3cf4 Compare March 18, 2021 22:05
@zee-bit zee-bit changed the title UI: Emphasize narrow titles to differentiate it from regular texts. UI: Emphasize column titles to differentiate it from regular texts. Mar 18, 2021
This refactor renames the LIST_TITLE_BAR_LINE symbol to be more
descriptive by replacing LIST with COLUMN. Since, the window of
zulip-terminal is divided into 3 columns(stream/message/users)
hence renaming to COLUMN seems more appropriate and intuitive.
This commit adds a new palette to themes for rendering column
titles differently than regular text. This palette will be used
in the subsequent commit to render the titles in bold so that they
become consistent with the LineBox borders.
This commit passes a title_attribute to the LineBox widget for
column titles which improves consistency with the surrounding LineBox
borders and also helps in emphasizing the titles with respect to
the text below.
@zulipbot zulipbot added size: M [Automatic label added by zulipbot] and removed size: S [Automatic label added by zulipbot] labels Mar 19, 2021
@neiljp
Copy link
Collaborator

neiljp commented Mar 19, 2021

@zee-bit Thanks for this UI adjustment - it's quite small but does make a difference 👍 I've just merged it with only small adjustments to the commit text for clarity 🎉 (generally we've ended up referring to each entry in a theme as a style)

@neiljp neiljp closed this Mar 19, 2021
@neiljp neiljp added this to the Next Release milestone Mar 19, 2021
@neiljp neiljp added area: UI General user interface update enhancement New feature or request labels Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UI General user interface update enhancement New feature or request size: M [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants