Skip to content

fix(library): rename 'dark_lavender' tag color slug to 'dark-lavender' - #1576

Closed
sanketpatel32 wants to merge 1 commit into
TagStudioDev:mainfrom
sanketpatel32:devin/fix-dark-lavender-slug
Closed

sanketpatel32 wants to merge 1 commit into
TagStudioDev:mainfrom
sanketpatel32:devin/fix-dark-lavender-slug

Conversation

@sanketpatel32

Copy link
Copy Markdown

Summary

Fixes #1434 (unblocked by #1432): the "Dark Lavender" default tag color was seeded with slug dark_lavender while every other slug uses kebab-case, producing the nonconforming color string tagstudio-shades:dark_lavender.

  • default_color_groups.py and the v8 seeding migration now use dark-lavender.
  • New MigrationTo401 (DB_VERSION 400 → 401) renames the slug in tag_colors and updates tags.color_slug references in existing libraries.
  • Adds a DB_VERSION_400 empty-library fixture to test_migrations.py; migration verified end-to-end locally.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality (migration test suite passing; verified dark_lavender → dark-lavender on a v400 library)
    • PyInstaller executable

The slug for the Dark Lavender default tag color used an underscore
while every other slug is kebab-case, producing an invalid
'tagstudio-shades:dark_lavender' color string. Fixes the seeded slug
and adds DB migration 401 (DB_VERSION 400 -> 401) renaming it in
tag_colors and in tags.color_slug for existing libraries.

Fixes TagStudioDev#1434
@CyanVoxel CyanVoxel closed this Nov 23, 2026
@TrigamDev TrigamDev added the Type: Invalid This doesn't seem right label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: fix color slug typo

3 participants