feat: calendar persistence via kv_module FileBackend#73
Merged
jimmy-claw merged 7 commits intomainfrom Mar 13, 2026
Merged
Conversation
Guard Q_PLUGIN_METADATA in calendar_module.h and scala_plugin.h with #ifndef SCALA_UI_BUILD so only ScalaUIComponent exports the plugin entry point when building libscala_ui.so. - Use LogosCalendar directly in scala_ui_component.cpp (drop ScalaPlugin wrapper) - Remove scala_plugin.cpp from BUILD_UI_PLUGIN sources in CMakeLists.txt - Add LOGOS_CORE_AVAILABLE guard around initLogos() call - Add run-app Makefile target to launch logos-app-poc with scala_ui plugin Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…oftware rendering
Adds logos-cpp-sdk and logos-liblogos as flake inputs and exposes a ui-plugin package that builds libscala_ui.so via cmake with BUILD_UI_PLUGIN=ON, using the workspace Qt/SDK dependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…i .so The BUILD_UI_PLUGIN target listed qml/scala_ui.qrc in sources but CMAKE_AUTORCC was not enabled, so the .qrc was never processed by rcc — resulting in a blank white UI when loading qrc:/scala/CalendarView.qml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add scala_module dependency to scala_ui manifest so logos-app loads the full dependency chain: scala_ui → scala_module → kv_module. This enables persistent calendar storage via kv_module when running inside logos-app. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After setClient(), invoke kv_module.setDataDir() with the app's data directory so calendars are persisted to disk via the FileBackend. This requires logos-kv-module PR#28 (Q_INVOKABLE setDataDir). Closes #72 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kv_module.setDataDir()aftersetClient()inCalendarStoreto enable file-backed persistence~/.local/share/Logos/LogosApp/kv-data/scala/store.jsonDependencies
setDataDirQ_INVOKABLEso it can be called viaModuleProxyTest plan
kv-data/scala/store.jsonappears on disk with calendar JSONCloses #72
🤖 Generated with Claude Code