Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10062

Improve the way we truncate component names in project dashboard

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6
    • Component/s: Web
    • Labels:
      None

      Description

      Currently our way of truncating long project/organization/components names in the navigation bar title is not as good as we could expect.
      Basically we are truncating name when they have more than x characters, with no consideration of the the space left in the navigation bar.
      And we can end up with situations like this :

      Where the project name is truncated but a lot of space is remaining and displaying just a few more character would have been enough to show the full name.

      We should have a smarter way of displaying those names, based on space available. But this could be tricky because we have multiple elements on the same line with variable size :

      • Parent organization name
      • Path when accessing a file or module
      • Selected branch name
      • Project version

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stas.vilchik Stas Vilchik (Inactive)
                Reporter:
                gregoire.aubert Gregoire Aubert
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: