Epic: B
Depends on: TP-10
Source: docs/theme-parser-github-issues.md
Goal
Persist selected registry theme across restarts without storing heavy objects.
Files
lib/core/storage/app_settings.dart
test/core/storage/app_settings_test.dart
Implementation
Add keys:
theme_selected_id
theme_selected_source
theme_selected_path
Add methods:
Future<String?> getSelectedThemeId();
Future<void> setSelectedThemeId(String? id);
Future<String?> getSelectedThemeSource();
Future<void> setSelectedThemeSource(String? source);
Future<String?> getSelectedThemePath();
Future<void> setSelectedThemePath(String? path);
Keep existing preset/imported settings unchanged.
Acceptance Criteria
- Settings roundtrip.
- Clearing selected theme works.
- No SQL workspace revision bump unless existing theme settings already do that intentionally.
Tests
- id/source/path roundtrip;
- clear values;
- existing theme preset tests still pass.
Epic: B
Depends on: TP-10
Source:
docs/theme-parser-github-issues.mdGoal
Persist selected registry theme across restarts without storing heavy objects.
Files
lib/core/storage/app_settings.darttest/core/storage/app_settings_test.dartImplementation
Add keys:
theme_selected_idtheme_selected_sourcetheme_selected_pathAdd methods:
Keep existing preset/imported settings unchanged.
Acceptance Criteria
Tests