Configurable Cards
See original GitHub issueDiscuss whether users should be able to configure a custom set of cards.
Code is prepared and does support that. Currently the client contains hard-coded card configuration:
[
{label: '?', value: -2, color: '#bdbfbf'},
{label: '1/2', value: 0.5, color: '#667a66'},
{label: '1', value: 1, color: '#839e7a'},
{label: '2', value: 2, color: '#8cb876'},
{label: '3', value: 3, color: '#96ba5b'},
{label: '5', value: 5, color: '#b6c76b'},
{label: '8', value: 8, color: '#c9c857'}
]
The rest of the app is agnostic to the content of that config, as long as every card specifies a label, a value and a color.
Idea
- Remove hardcoded “cardConfig” from client. Default “cardConfig” is set in the backend as property on the “room” object. Client receives that together with rest of room state on “joinedRoom” event. (and can be put onto redux store)
- Introduce “setCardConfig” command and “cardConfigSet” event.
- Provide UI for users to set custom cardConfig
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Configurable Cards feature configuration
The Configurable Cards feature enables you to add and customize the features in Engagement Messenger that are not available by default.
Read more >Configuration Card - Dribbble
Configuration Card. Inspirational designs, illustrations, and graphic elements from the world's best designers. Want more inspiration?
Read more >Customizable Cards - Etsy
Check out our customizable cards selection for the very best in unique or custom, handmade pieces from our shops.
Read more >Customizable / Cards & Card Stock / Paper & Printable Media
Online shopping for Office Products from a great selection of Greeting Cards, Postcards, Business Cards, Index Cards, Cover Stock, Tent Cards & more...
Read more >Photo Cards and Photo Invitations | Customized Online
Looking to create custom photo cards and invites for your special occasion? Check out Mixbook's card templates collection. Get up to 50% off...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Deployed in release 0.7.0
Yeah, it’s perfect. The interface seems simple enough as well. Anyway, I suspect that people will be writing the JSON in an IDE anyway.