Antonio-Maranhao opened a new pull request, #1426:
URL: https://github.com/apache/couchdb-fauxton/pull/1426

   ## Overview
   
   Adds the ability for setting a list of hidden columns for the Active Tasks. 
It is not enabled by default as it is intended to be used by applications that 
extend Fauxton.
   
   ## Testing recommendations
   
   It's not enabled by default but you can modify one of the `initialize()` 
functions to set the hidden columns. Here's an example using the `news` addon: 
   
   ```
   News.initialize = function () {
     FauxtonAPI.addHeaderLink({
       id: 'News',
       title: 'News',
       icon: 'fonticon-clipboard',
       href: '#/news',
       bottomNav: true,
       top: true
     });
     // it hides the pid column
     FauxtonAPI.reduxDispatch({
       type: ActionTypes.ACTIVE_TASKS_SET_HIDDEN_COLUMNS,
       options: ['pid'],
     });
   };
   ```
   
   ## GitHub issue number
   
   n/a
   
   ## Related Pull Requests
   
   n/a
   
   ## 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/main/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 to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to