Skip to content

reload resources in app after update or delete - #123

Merged
arrocke merged 5 commits into
mainfrom
reload-resources
Aug 29, 2026
Merged

reload resources in app after update or delete#123
arrocke merged 5 commits into
mainfrom
reload-resources

Conversation

@arrocke

@arrocke arrocke commented Aug 29, 2026

Copy link
Copy Markdown
Member

Description

When updating or deleting a resource, we need the app to update its state to use the new resource or remove the deleted one.

  • Glosses - close the old database, the new one opens when the next gloss is requested, and the user is prompted if the gloss database was deleted
  • Audio - remove the timing data from the cache, and reload the player with the new audio URL. The player may switch between local playback and streaming
  • Bible - close the old Bible database. If deleted, close the panel, otherwise reload the new database.

Additionally, we can handle an unset current bible setting to prompt the user to select a Bible to see.

@arrocke
arrocke merged commit 6c5267a into main Aug 29, 2026
1 check passed
@arrocke
arrocke deleted the reload-resources branch August 29, 2026 14:56
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