Custom icons for repository sidebar URL shortcuts

XMLWordPrintable

      Bitbucket Server lets me add shortcuts to the sidebar of each repository. Currently, each such shortcut has the same icon, provided by Bitbucket Server. If I could set a custom icon for each shortcut, then it would be easier to distinguish the shortcuts from each other, especially when the sidebar has been collapsed. For example, a link to a Jenkins job that uses the repository could have the Jenkins logo as its icon.

      I can imagine a few ways to implement this:

      1. Change the "Add shortcut" and "Edit shortcut" pop-ups so that an icon can be uploaded and used. These pop-ups currently have only "URL" and "Label" fields.
      2. Add an "Icon URL" text box to the "Add shortcut" and "Edit shortcut" pop-ups. Prefill it with the address of favicon.ico at the linked site but allow editing. Use the URL as is in the sidebar, without trying to load the icon at server side. This would probably be easier to maintain than the first option: if the icon ever needs to be updated, one can do it at the web site that hosts the icon, instead of editing the shortcuts in every repository individually.

      Because we can link to multiple web applications in different paths at the same HTTP host:port combination and want different icons for them, it would not be sufficient to only use favicon.ico from the root directory of the web site without letting the administrator choose a different one.

            Assignee:
            Unassigned
            Reporter:
            Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: