You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/03/05 17:24:23 UTC

[GitHub] [superset] opus-42 opened a new issue #13486: Create color mappings for quick update of dashboard colors

opus-42 opened a new issue #13486:
URL: https://github.com/apache/superset/issues/13486


   **Is your feature request related to a problem? Please describe.**
   Configuring dashboard with custom colors is quite painful and requires manually updates. Moreover, these labels usually refers to known context and may repeat over different board for visual consistency.
   
   Current way of creating label_colors is updating the dashboard JSON Metadata :
   ```JSON
   {
       "label_colors": {
           "Girls": "#FF69B4",
           "Boys": "#ADD8E6"
       }
   }
   ```
   
   **Describe the solution you'd like**
   
   A solution would be define general **color mappings** which would basically be a list of key-value items and could be add through UI to the dashboards:
   * One menu for creating color mappings
   * One bouton in dashboard config to apply the dashboard 
   
   Exemple of a color mappings:
   ```JSON
   {
       "US": "#000000",
       "FR": "#000000",
       ....
   }
   ```
   
   In this proposal the dashboard wouldn't be directly linked to the color mappings.
   Color mappings would simply updated dashboard metadata once, that is to say future changes in the color mappings won't apply to the dashboard.
   
   **Describe alternatives you've considered**
   An alternative that is already used in my company is to use the dashboard REST API and define colors mapping and update via Custom CLI / Python Scripts. This alternative would requires to Open-Source our CLI and Python Superset Client.
   
   There would be a gain to directly integrate directly this in Superset.
   
   I am ready to develop that feature if there is a boarder community need for it. 


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] junlincc commented on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-794955005


   @opus-42 maybe you can drop-in our weekly office hour to share. 
   
   @srinify @garden-of-delete Do we publish upcoming Superset office hours calendar somewhere? 


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] junlincc commented on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-793141398


   @opus-42 Thank you so much for filing the request and offering contribution! This issue has been on our radar and we recently kick off the discussion. @geido is the engineer assigned to this project and can lead the implementation. 
   
   can I schedule a meeting with you both later this week? many thanks! 


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] opus-42 edited a comment on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
opus-42 edited a comment on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-795144502


   @junlincc I have just sent you an email on your preset-io for direct contact / followup to setup this meeting with @geido. Thanks 😃 


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] opus-42 commented on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
opus-42 commented on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-794309485


   @junlincc. Yes I would be available for a meeting and eager to discuss it. Let me know for organization details and how I can send contact information (I'd prefer not to publish personal / pro email here).  


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] opus-42 commented on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
opus-42 commented on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-795144502


   @junlincc I have just sent you an email on your preset-io for direct contact / followup to setup this meeting


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] lilila commented on issue #13486: [dashboard]Create color mappings for quick update of dashboard colors

Posted by GitBox <gi...@apache.org>.
lilila commented on issue #13486:
URL: https://github.com/apache/superset/issues/13486#issuecomment-862032702


   Dear @opus-42 , 
   
   Could you please give us some examples on how you manage to do this: 
   `An alternative that is already used in my company is to use the dashboard REST API and define colors mapping and update via Custom CLI / Python Scripts. This alternative would requires to Open-Source our CLI and Python Superset Client.
   `
   It would be very appreciated 


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org