Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-12781

Filtered emoticons to be retrieved from REST API instead of caching the entire set in local storage

    XMLWordPrintable

    Details

    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      The Bitbucket Server frontend currently fetches all the emoticons at page load on the pull request page and caches them in the web browser local storage.

      This works fine with the default set of emoticons but becomes an issue when administrators expand the set of available emoticons with third party plugins. The size of the emoticon set becomes larger and can exceed the quota allowed for local storage for the Bitbucket Server domain.

      To solve this, a solution would be to instead only request pages of emoticons from the REST API when necessary, and allow the emoticon REST API to accept a query filter. Having paging and filtering on the backend side would remove the need to cache all emojis at page load on the client side.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fdoherty@atlassian.com Frank Doherty
              Reporter:
              mdiberardino@atlassian.com Matthieu Di Berardino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: