Antonio-Maranhao opened a new pull request #1023: Add show/hide alert badge on navbar items URL: https://github.com/apache/couchdb-fauxton/pull/1023 ## Overview Add ability to show/hide a badge on navbar items. This is useful when we want to alert users about changes in state on a different page, or inform users that are actions pending under one of the navbar links. Example:  ## Testing recommendations This function is not in use yet, but you can use the code below in `addons/verifyinstall/base.js` to see it working: ``` FauxtonAPI.addHeaderLink({ title: 'Verify', href: '#/verifyinstall', icon: 'fonticon-ok-circled', bottomNav: true }); FauxtonAPI.showHeaderLinkBadge({title: 'Verify'}); setTimeout(() => { FauxtonAPI.hideHeaderLinkBadge({title: 'Verify'}); }, 5000); ``` ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes; - [ ] Update [rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script) with the correct tag once a new Fauxton release is made
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
