Skip to content

Releases: softartdev/NoteDelight

desktop/5.0.0

04 Nov 05:30

Choose a tag to compare

Refactor: Decouple Snackbar logic and implement OPFS for Web

- Introduce `SnackbarInteractor` to decouple Snackbar logic from ViewModels and Composables.
- Create a `GlobalSnackbarHost` to provide a single, app-wide `SnackbarHostState`.
- Make the `App` composable parameterless by using `koinInject()` for dependencies.
- Remove `SnackbarHostState` passing from all screens and dialogs.
- Update ViewModels to use `SnackbarInteractor` for showing messages, removing direct state manipulation.
- Move `AdaptiveInteractor` to the presentation layer and `SnackbarInteractor` to a new `interactorModule`.

- feat(web): Implement OPFS (Origin-Private FileSystem) for persistent database storage, replacing the previous in-memory solution.
- Add a Gradle task to download the official SQLite WASM build.
- Configure webpack and a custom service worker (`coi-serviceworker.js`) to set required cross-origin headers.
- Update `WebDatabaseHolder` to use a custom worker (`sqlite.worker.js`) that initializes the database with the OPFS VFS.

- build: Upgrade various dependencies, including Compose, Firebase, and Gradle wrapper.

desktop/4.0.0

28 Oct 06:47

Choose a tag to compare

feat: Implement adaptive UI for tablets and large screens

This commit introduces a major feature enhancement by implementing an adaptive user interface that provides a two-pane layout for tablets and larger screens, significantly improving the user experience on these devices. The presentation layer has been refactored to use a unidirectional data flow with sealed `Action` interfaces, simplifying event handling and making the UI more predictable.

### Adaptive UI
- Implemented `AdaptiveScreen` using `ListDetailPaneScaffold` to display a list-detail layout.
- Integrated `ThreePaneScaffoldNavigator` for managing navigation between the list and detail panes.
- Introduced `AdaptiveInteractor` to coordinate the selected note state between `MainViewModel` and `NoteViewModel`.
- Updated `MainScreen` and `NoteDetail` to work within the adaptive layout, including selection highlighting in the note list.
- Added a placeholder for the detail pane when no note is selected.

### Refactor: Unidirectional Data Flow with Action Interfaces
- Refactored all ViewModels (`Main`, `Note`, `Settings`, `Security`, `Dialogs`) to use a single `onAction(Action)` method for handling UI events.
- Defined sealed `Action` interfaces for each screen to provide type-safe, explicit event handling.
- Removed multiple lambda callbacks from `Result` state classes, simplifying Composable function signatures and improving state management.

### Web (WASM)
- Fixed the WebAssembly compilation error by implementing a robust Webpack plugin (`SQLJsWasmFixPlugin`) to normalize `sql-wasm.wasm` paths.
- The plugin handles various incorrect path patterns and ensures all required `sql.js` files are correctly copied and referenced.
- The web app is now fully functional on GitHub Pages.

### Documentation & Housekeeping
- Added comprehensive `README.md` files for every module in the project, detailing their architecture, purpose, and usage.
- Created guides for architecture, testing, version management, and AI agent contributions in the `/docs` directory.
- Upgraded Gradle and multiple library dependencies to their latest versions.
- Cleaned up the CI workflow for the web build and removed redundant build attempts in the KMP workflow.

desktop/3.0.0

09 Oct 16:05

Choose a tag to compare

Remove dependency on ui_test_job in build unit test publish job

desktop/2.1.0

05 Oct 12:26

Choose a tag to compare

Add wasmJs target; refactor project structure; rename files and direc…

desktop/2.0.0

24 Jul 04:08

Choose a tag to compare

Update password dialog titles and subtitles; improve localization str…

desktop/1.1.8

23 Jul 08:43

Choose a tag to compare

migrate to androidx.paging.compose; update SQLCipher to 4.9.0; add Au…

desktop/1.1.7

22 Mar 22:58

Choose a tag to compare

update github actions checkout & cache

desktop/1.1.6

12 Oct 20:51

Choose a tag to compare

up app versions

desktop/1.1.5

05 Jul 11:51

Choose a tag to compare

kotlin 2 + update libs

desktop/1.1.4

04 Dec 20:00

Choose a tag to compare

fix db file path on desktop