Skip to content

Fix bug in deletion of marked notifications#303

Merged
SciLor merged 13 commits into
toniebox-reverse-engineering:developfrom
henryk86:develop
May 22, 2026
Merged

Fix bug in deletion of marked notifications#303
SciLor merged 13 commits into
toniebox-reverse-engineering:developfrom
henryk86:develop

Conversation

@henryk86

Copy link
Copy Markdown
Collaborator

Summary

This PR fixes the completely broken notification persistence flow and cleans up several related issues that caused notifications to randomly disappear, duplicate, fail deletion, or restore corrupted state from localStorage.

Fixed

  • notifications not persisting after reload/import
  • broken UUID handling in tables/actions
  • delete actions failing randomly
  • stale provider state overwriting imported notifications
  • invalid legacy date handling

Changes

Persistence

  • unified initial load + reload behavior
  • fixed provider state desync after localStorage imports
  • added explicit notification reload support

UUID handling

  • removed synthetic row IDs
  • table/actions now use real notification UUIDs
  • auto-repair for missing or duplicate UUIDs

Date fixes

  • normalized invalid legacy timestamps
  • fixed dayjs date filtering
  • corrected start/end-of-day range handling

Import/export

  • imported notifications are now normalized
  • legacy notification payloads migrate automatically
  • import success notifications no longer overwrite persisted state

Limits

  • hard limit of 500 stored notifications
  • automatic trimming of oldest entries

Result

Notifications now actually:

  • persist correctly
  • survive reloads/imports
  • delete reliably
  • maintain valid UUIDs/dates
  • stop growing infinitely in localStorage

@henryk86 henryk86 changed the title Fix bug in deletion of marked items Fix bug in deletion of marked notifications May 13, 2026
henryk86 added 9 commits May 13, 2026 22:54
…h ESP32-C3 support

- Added support for ESP32-C3 as a hardware tool option in the CC3200 flashing guide.
- Updated UI to allow users to switch between UART and ESP32-C3 configurations.
- Modified steps for preparations, bootloader installation, and certificate handling to accommodate ESP32-C3.
- Improved translations in the French language files for better clarity and additional instructions.
- Introduced new tables and instructions specific to ESP32-C3 setup and configuration.
@SciLor SciLor merged commit c9ebc93 into toniebox-reverse-engineering:develop May 22, 2026
2 checks passed
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.

2 participants