Skip to content

Add local file support, WhatsNewKit, and File Provider fixes#10

Merged
alexmodrono merged 3 commits intomainfrom
worktree-release-0.1
Mar 18, 2026
Merged

Add local file support, WhatsNewKit, and File Provider fixes#10
alexmodrono merged 3 commits intomainfrom
worktree-release-0.1

Conversation

@alexmodrono
Copy link
Copy Markdown
Owner

Summary

  • Allow users to create local files and directories in the File Provider location (never synced to Moodle)
  • Add WhatsNewKit for version-aware release notes shown after app updates
  • Fix WhatsNewSheet showing during onboarding
  • Improve File Provider recovery after app updates by re-seeding shared database on relaunch

Commits

  • 9e490f7 Allow users to create local files and directories in File Provider
  • df2835d Add WhatsNewKit for version-aware release notes
  • 34f0941 Fix WhatsNewSheet showing during onboarding and improve File Provider recovery

Local items (prefixed with `local-`) are fully editable — users can
create, rename, move, and delete files alongside synced Moodle content.
These items are stored only on disk and are never uploaded or synced.

- Add `isLocal` flag to LocalItem and database schema (v8 migration)
- Implement createItem, modifyItem, deleteItem for local items
- Add allowsAddingSubItems capability to all directories and root
- Sync engine skips local items during diff
- Bulk delete operations preserve local items
Integrates WhatsNewKit to automatically show a "What's New" sheet
when the user updates to a new version.  Version history is tracked
via UserDefaults so each release is shown only once.
… recovery

- Move WhatsNewKit environment and sheet to the workspace branch only,
  so the "What's New" popup never appears during the onboarding flow.

- Make configureInitialDatabase fall back to re-seeding the shared
  File Provider database from the bootstrap database on app relaunch.
  Previously, if the shared database needed seeding but no source was
  provided, the app silently fell back to the app-group database,
  leaving the File Provider state directory stale.
@alexmodrono alexmodrono merged commit 9c50c70 into main Mar 18, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

Nightly Build

Download Findle Nightly (unsigned)

Built from 34f0941.

Important

This build is unsigned. macOS will block it on first launch. To open it:

  1. Try to open the app normally — macOS will show a warning and refuse.
  2. Go to System Settings → Privacy & Security, scroll down, and click Open Anyway.
  3. The File Provider extension requires code signing and won't work in this build.

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