Skip to content

[WIP] feat: multi-select notifications with batch delete and mark as read#293

Open
deaflynx wants to merge 6 commits intothingsboard:devfrom
deaflynx:feature/notification-multi-select
Open

[WIP] feat: multi-select notifications with batch delete and mark as read#293
deaflynx wants to merge 6 commits intothingsboard:devfrom
deaflynx:feature/notification-multi-select

Conversation

@deaflynx
Copy link
Copy Markdown

@deaflynx deaflynx commented Apr 9, 2026

Summary

  • Adds multi-select mode to the Notifications tab (long-press to enter)
  • App bar switches to show selected count, Select All checkbox, and close button
  • Bottom action bar with batch Delete and Mark as Read buttons
  • Slidable swipe actions are disabled during selection mode
  • Selection mode exits on back press, filter change, or pull-to-refresh
Screenshot_20260409-153045

Closes #279

Test plan

  • Long-press a notification → enters selection mode with item checked
  • Tap notifications to toggle selection checkboxes
  • Tap "Select All" checkbox → all loaded items selected
  • Tap "Delete" → selected notifications deleted, badge count updated
  • Tap "Mark as Read" → selected unread notifications marked as read
  • Press X or system back → exits selection mode
  • Switch between All/Unread filter → exits selection mode
  • Pull-to-refresh → exits selection mode

…tifications

Long-press a notification to enter selection mode with checkboxes.
Select All via app bar checkbox, then batch Delete or Mark as Read
from the bottom action bar. Closes thingsboard#279.
@deaflynx deaflynx changed the title feat: multi-select notifications with batch delete and mark as read [WIP] feat: multi-select notifications with batch delete and mark as read Apr 9, 2026
deaflynx added 5 commits April 9, 2026 17:32
Add nSelected and selectAll strings to ar, da, de, el, es, fr, it,
nl, no, vi, zh, zh_CN, zh_TW locale files.
Show LinearProgressIndicator during batch delete/mark-as-read.
Track and report failed operations via warning notification.
… feedback

- Add confirmation dialogs for batch delete and mark as read with item counts
- Add determinate progress indicator showing operation progress
- Disable mark as read button when all selected are already read
- Keep unread icon visible during selection mode for status identification
- Use AppColors constants instead of hardcoded color values
- Add confirmation dialog translations for all supported locales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant