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

Improve help menu: compact further, style lines, adapt height #301

Merged
merged 3 commits into from
Feb 16, 2019

Conversation

neiljp
Copy link
Collaborator

@neiljp neiljp commented Feb 15, 2019

This is a quick follow-up to the help menu observation and contribution by @matrixise in #298 and #297.

This PR:

  • Removes side/top spaces
  • Sets alternating background colors (using 'bar' style for now)
  • Adjusts the menu height to be between (the minimum) of 3/4 window height (rows), and the number of help menu actions

The latter does increase the menu height slightly (it was set to 1/2 in #298), so any feedback through testing would be good.

Tagging @amanagr & @rht who also gave feedback on the PR by @matrixise.

@zulipbot zulipbot added the size: S [Automatic label added by zulipbot] label Feb 15, 2019
height=rows//2
# +2 to both of the following, due to LineBox
width=help_view.width+2,
height=min(3*rows//4, help_view.number_of_actions)+2
Copy link
Contributor

Choose a reason for hiding this comment

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

No objection. I have no strong position on the exact fraction of the screen. Upon measuring the webapp's ratio more carefully, it's ~70%.

@amanagr
Copy link
Member

amanagr commented Feb 16, 2019

@neiljp looks great!

@amanagr amanagr merged commit bd3e97c into zulip:master Feb 16, 2019
@neiljp neiljp mentioned this pull request Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants