Skip to content
Snippets Groups Projects

Added UX improvements to the project members settings view

Merged Jose Ivan Vargas Lopez requested to merge 26883-members-page-layout-looks-broken into master

What does this MR do?

Truncates the project title on really long titles in the panel header for the project members list Adds a description to non project owners or masters in the left column

Are there points in the code the reviewer needs to double check?

None at the moment

Why was this MR needed?

To improve the UX of the project members settings view

Screenshots (if relevant)

Before

Description to non project owners or masters

members_without_description_for_non_project_owners

Long titles move things around in the panel header

long_project_titles_move_things_around

After

Description to non project owners or masters

members_description_to_non_project_masters

Truncated title after a set limit of 18 characters

Members_ux_observations

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #26883 (closed)

EE Port

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1712

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @jivanvl this looks good to me! Just a note about truncation :smile:

  • assigned to @jivanvl

  • Annabel Gray changed milestone to %8.17

    changed milestone to %8.17

  • added 1 commit

    • 56c3e304 - Changed the way to truncate the panel to title from ruby to a scss mixin

    Compare with previous version

  • added 1 commit

    • 1a982052 - Changed the way to truncate the panel to title from ruby to a scss mixin

    Compare with previous version

  • @annabeldunstone Improved the MR based on your observations :smile_cat:

  • @jivanvl awesome! Just have a couple notes. I think truncating is the way to go here, but at the moment it's truncating when there's a ton of space in the header. Couldn't we go full-width at a certain point? Screen_Shot_2017-01-26_at_8.25.07_AM Screen_Shot_2017-01-26_at_8.25.16_AM Screen_Shot_2017-01-26_at_8.25.23_AM

  • assigned to @jivanvl

  • added 445 commits

    • 1a982052...9eb39dde - 442 commits from branch master
    • 7690f16a - Added a description for non project masters or owners for the members settings page
    • b925d727 - Changed the way to truncate the panel to title from ruby to a scss mixin
    • b20531aa - Added a media query when there's a more width available to show more of the title

    Compare with previous version

  • @annabeldunstone Check it out it looks like this depending on the size:

    Screen_Shot_2017-01-26_at_4.05.59_PM

    Screen_Shot_2017-01-26_at_4.06.16_PM

  • @jivanvl right, but we shouldn't be truncating text if there's plenty of room left. Something like this might work well https://css-tricks.com/flexbox-truncated-text/. @filipa did something similar here https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8707/diffs#616b98655b9e00d7e852dd5771060f443cac9ebe

  • assigned to @jivanvl

  • At 320px width the label flows into another line:

    image

    In desktop we have some room left, so maybe we can increase the width of the truncation?

    image

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading