feat(dashboard): Show triggered reminders instead of upcoming ones - #19263
nickvergessen wants to merge 1 commit into
Conversation
|
Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Joas Schilling <coding@schilljs.com>
0d656fe to
2b317d6
Compare
Antreesy
left a comment
There was a problem hiding this comment.
Tested in pair with notifications companion PR - works nicely, but I'm not fond of losing current feature
|
|
||
| const supportsUpcomingReminders = hasTalkFeature('local', 'upcoming-reminders') | ||
| const supportsReminders = hasTalkFeature('local', 'upcoming-reminders') || supportsTriggeredReminders | ||
| const remindersTitle = supportsTriggeredReminders ? t('spreed', 'Reminders') : t('spreed', 'Upcoming reminders') |
There was a problem hiding this comment.
Placeholder element uses t('spreed', 'Message reminders'), maybe also reuse it here?
| async fetchReminders() { | ||
| if (supportsTriggeredReminders) { | ||
| await this.fetchTriggeredReminders() | ||
| } else { |
There was a problem hiding this comment.
Why can't we keep both lists? Maybe with a divider
I find it useful personally to see future reminders as well
There was a problem hiding this comment.
we can wire notifications openAPI via src/types/generate-core-types.sh and workflow update, to keep in sync
| * | ||
| * @param notification A notification with the object type `reminder` | ||
| */ | ||
| function parseReminderNotification(notification: NotificationsNotification): DashboardReminder { |
There was a problem hiding this comment.
I'd move it to src/services/notificationsService.ts or separate util
My problem is that the current behaviour is a counter-feature and basically preventing to focus. The user decided it's not relevant for now and delayed it. There is no need to continue seeing it. |
I also agree. There is no place where the user sees the list of reminders they own. I often see the reminder feature in other apps showing both the upcoming in pale colors and for the triggered ones , they are in highlighted red. It makes sense to me |
☑️ Resolves
AI (if applicable)
🖌️ UI Checklist
🖼️ Screenshots / Screencasts
🏁 Checklist