-
Notifications
You must be signed in to change notification settings - Fork 8
Cards View #48
Copy link
Copy link
Open
Labels
codyCody related topicsCody related topicsenhancementNew feature or requestNew feature or requestfrontnedaffects frontend part of Cody Engineaffects frontend part of Cody Engine
Milestone
Metadata
Metadata
Assignees
Labels
codyCody related topicsCody related topicsenhancementNew feature or requestNew feature or requestfrontnedaffects frontend part of Cody Engineaffects frontend part of Cody Engine
Type
Fields
Give feedbackNo fields configured for issues without a type.
A list of information is currently shown in a table component using @mui/x-data-grid. Here is an example
The user should be able to display a list of information in a card grid instead.
As shown on the screenshot, tables are configured in the UI Schema section of information cards on prooph board:
We should introduce a new ui schema variant:
{ "ui:cards": { "card": { "header": { "text": "firstName + ' ' + lastName", // Support Jexl Expressions "typography": "h2", // Default, one of the Material UI Typography options "color": "..." // Optional ... // More config options TBD }, "content": [ // Array of lines, each line can have different config { // First content line "text": "address.street", // Support Jexl Expressions "typography": "body1", // Default, one of the Material UI Typography options "color": "..." // Optional ... // More config options TBD }, { // Second content line "text": "address.city" } ] "actions": [...] // TBD, action button config, connected to command that should be triggered, ... }, "cardsPerRow": 4, ... // more options } }Tasks