mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-02-06 09:55:47 +00:00
Extend prepare-seed.js to extract hashtags from item text fields and generate tags.json automatically during the seeding process. This ensures hashtag click filtering works correctly in the application. Changes: - Extract all #hashtag patterns from items.json text fields - Generate tags.json with unique tags and auto-assigned colors - Preserve existing tag colors when re-running the script - Add tags.json to .gitignore (auto-generated file) The script runs as part of seed.sh, so CI/CD pipelines and local development will automatically have matching tags for all hashtags used in seed data items.
13 lines
275 B
Plaintext
13 lines
275 B
Plaintext
.claude/
|
|
app/node_modules/
|
|
lib/node_modules/
|
|
data/
|
|
node_modules/
|
|
cypress/node_modules/
|
|
cypress/results/
|
|
cypress/runner-results/
|
|
cypress/screenshots/
|
|
|
|
# Generated seed data (auto-generated from items.json by prepare-seed.js)
|
|
backend/directus-config/development/seed/tags.json
|