Skip to content

fix: rename script category "presentation" → "library"#130

Merged
careck merged 1 commit into
masterfrom
fix/rename-presentation-to-library
Apr 8, 2026
Merged

fix: rename script category "presentation" → "library"#130
careck merged 1 commit into
masterfrom
fix/rename-presentation-to-library

Conversation

@careck
Copy link
Copy Markdown
Member

@careck careck commented Apr 8, 2026

Summary

  • Renames the internal DB/Rust category value from "presentation" to "library" to match the frontend UI label (t('scripts.library'))
  • Adds a DB migration to update existing rows (UPDATE user_scripts SET category = 'library' WHERE category = 'presentation')
  • Updates all 9 affected Rust source/test files (string literals, comments, assertions)

Test plan

  • cargo check -p krillnotes-core — clean compile
  • cargo test -p krillnotes-core — 589 tests passing
  • Manual: open workspace with existing scripts, verify Script Manager shows correct category badges

The DB/Rust layer stored "presentation" as the category value while the
frontend UI displayed "Library". Align the internal value with the
user-facing label to reduce cross-layer confusion.

Includes a DB migration to update existing rows.
@careck careck merged commit 669a3ed into master Apr 8, 2026
@careck careck deleted the fix/rename-presentation-to-library branch April 22, 2026 08:44
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