-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add configurable subtitle and explanation inputs #2656
Conversation
- Added `subtitle` and `explanation` as configurable inputs for the `EntityCountDashboard` component - Updated template to display `subtitle` and `explanation` from the configuration, falling back to defaults if not provided - Modified widget configuration to support customizable subtitles and explanations for enhanced clarity
@sleidig Can you please tell me what will be my further step? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far!
(Did you test it without the config-fix change also, to see that the default logic still works correctly?)
For the other widgets we'll have to do the exact same thing, adding those two Input properties. I discussed with Tom but we didn't see a way to nicely generalize that
...s/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html
Outdated
Show resolved
Hide resolved
…et/entity-count-dashboard/entity-count-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
Yes, I have tested it the default logic is working without the config-fix change. |
...t/notes/dashboard-widgets/important-notes-dashboard/important-notes-dashboard.component.html
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality looks good! I have suggested some small adjustments to the exact texts for users.
(please move those to the changed translation/default code as explained above)
...board-widgets/birthday-dashboard-widget/birthday-dashboard/birthday-dashboard.component.html
Outdated
Show resolved
Hide resolved
...s/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html
Outdated
Show resolved
Hide resolved
...board-widgets/progress-dashboard-widget/progress-dashboard/progress-dashboard.component.html
Outdated
Show resolved
Hide resolved
…tes-dashboard/important-notes-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…et/entity-count-dashboard/entity-count-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…rogress-dashboard/progress-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
@sleidig Please review the updated code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more glitches.
I have reset the config-fix so that we see the default values from the components. Please do a final check viewing the app and look at my final comments.
...t/notes/dashboard-widgets/important-notes-dashboard/important-notes-dashboard.component.html
Outdated
Show resolved
Hide resolved
...shboard-widgets/shortcut-dashboard-widget/shortcut-dashboard/shortcut-dashboard.component.ts
Outdated
Show resolved
Hide resolved
src/app/features/todos/todos-dashboard/todos-dashboard.component.html
Outdated
Show resolved
Hide resolved
...board-widgets/shortcut-dashboard-widget/shortcut-dashboard/shortcut-dashboard.component.html
Outdated
Show resolved
Hide resolved
...board-widgets/progress-dashboard-widget/progress-dashboard/progress-dashboard.component.html
Outdated
Show resolved
Hide resolved
...s/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html
Outdated
Show resolved
Hide resolved
...ets/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.ts
Outdated
Show resolved
Hide resolved
...board-widgets/birthday-dashboard-widget/birthday-dashboard/birthday-dashboard.component.html
Outdated
Show resolved
Hide resolved
...ect/notes/dashboard-widgets/important-notes-dashboard/important-notes-dashboard.component.ts
Outdated
Show resolved
Hide resolved
…tes-dashboard/important-notes-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…hortcut-dashboard/shortcut-dashboard.component.ts Co-authored-by: Sebastian <sebastian@aam-digital.com>
…hortcut-dashboard/shortcut-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…et/entity-count-dashboard/entity-count-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…et/entity-count-dashboard/entity-count-dashboard.component.ts Co-authored-by: Sebastian <sebastian@aam-digital.com>
…irthday-dashboard/birthday-dashboard.component.html Co-authored-by: Sebastian <sebastian@aam-digital.com>
…tes-dashboard/important-notes-dashboard.component.ts Co-authored-by: Sebastian <sebastian@aam-digital.com>
src/app/features/todos/todos-dashboard/todos-dashboard.component.ts
Outdated
Show resolved
Hide resolved
🎉 This PR is included in version 3.43.0-master.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
closes: #2594