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

Make sure most app names don’t ellipsize, fix #22845, fix #22219 #22924

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

jancborchardt
Copy link
Member

@jancborchardt jancborchardt commented Sep 17, 2020

Small adjustments to make sure that most app names don’t ellipsize, as discussed @karlitschek @juliushaertl

  • font-size reduced to 12px (active/hover/focus get 14px again)
  • letter-spacing: -0.5px;
  • sides add 2 px each (from margin)

Further enhancement for active/hover/focus states:

  • set in bold for further emphasis
  • margin-bottom: -1px; for vertical alignment

Before

Navigation before

After

Navigation after

@jancborchardt jancborchardt added bug design Design, UI, UX, etc. 3. to review Waiting for reviews papercut Annoying recurring issue with possibly simple fix. labels Sep 17, 2020
@jancborchardt jancborchardt added this to the Nextcloud 20 milestone Sep 17, 2020
@karlitschek
Copy link
Member

Great 👍

@faily-bot
Copy link

faily-bot bot commented Sep 17, 2020

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 33185: failure

acceptance-app-files

  • tests/acceptance/features/app-files.feature:108
Show full log
  Scenario: show shares                                               # /drone/src/tests/acceptance/features/app-files.feature:108
    Given I am logged in                                              # LoginPageContext::iAmLoggedIn()
    And I share the link for "welcome.txt"                            # FilesAppSharingContext::iShareTheLinkFor()
    When I open the "Shares" section                                  # AppNavigationContext::iOpenTheSection()
    Then I see that the current section is "Shares"                   # AppNavigationContext::iSeeThatTheCurrentSectionIs()
    Then I see that the file list contains a file named "welcome.txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed()
      Row for file welcome.txt in file list could not be found after 100 seconds (NoSuchElementException)

acceptance-users

  • tests/acceptance/features/users.feature:35
Show full log
  Scenario: disable a user                                                      # /drone/src/tests/acceptance/features/users.feature:35
    Given I act as Jane                                                         # ActorContext::iActAs()
    And I am logged in as the admin                                             # LoginPageContext::iAmLoggedInAsTheAdmin()
    And I open the User settings                                                # SettingsMenuContext::iOpenTheUserSettings()
    And I see that the list of users contains the user user0                    # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
    And I open the actions menu for the user user0                              # UsersSettingsContext::iOpenTheActionsMenuOf()
      Row for user user0 in Users Settings could not be found
      Actions menu for user user0 in Users Settings could not be found (NoSuchElementException)
    And I see that the "Disable user" action in the user0 actions menu is shown # UsersSettingsContext::iSeeTheAction()
    When I click the "Disable user" action in the user0 actions menu            # UsersSettingsContext::iClickTheAction()
    Then I see that the list of users does not contains the user user0          # UsersSettingsContext::iSeeThatTheListOfUsersDoesNotContainsTheUser()
    When I open the "Disabled users" section                                    # AppNavigationContext::iOpenTheSection()
    Then I see that the list of users contains the user user0                   # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()

@jancborchardt
Copy link
Member Author

/backport to stable20

@rullzer rullzer modified the milestones: Nextcloud 20, Nextcloud 21 Sep 18, 2020
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Looks good!

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 18, 2020
@MorrisJobke MorrisJobke merged commit 2f08918 into master Sep 18, 2020
@MorrisJobke MorrisJobke deleted the design/fix-appname-display branch September 18, 2020 16:16
@YouveGotMeowxy
Copy link

YouveGotMeowxy commented Sep 21, 2020

Minor gripe, lol, but is there any way to remove that "bounce" up that the entire row does when placing the cursor over any of the icons? Like, keep all the icons in the same horizontal place, and just have the text popup under the icons instead of bouncing the entire row up to make room for the text. For some reason that looks really ugly to me. It reminds me of a lot of times when working with CSS and a "hover bounce" accidentally happens after adding something and you have to fix it. :)

@jancborchardt
Copy link
Member Author

Like, keep all the icons in the same horizontal place, and just have the text popup under the icons

The problem with that is there are 2 scenarios:

  • Keep the icons where they are, and show the text below: Not enough space below, and alsp looks unbalanced if it's not vertical
  • Put the icons a bit higher by default so the text can just appear: Looks just plain bad, is not vertically aligned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug design Design, UI, UX, etc. papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App name text display improvements App navigation design issues
7 participants