Commit graph

10 commits

Author SHA1 Message Date
Vadym Samoilenko
09943e9f5e Re-enable visual editor preview for Site Content collections
Add router: () => '/' back to translationsEn and translationsUk collections
so TinaCloud shows the homepage preview alongside the editing form.
The EOF error that previously blocked this is fixed (TinaConnectedProvider
defers useTina calls until both queries are loaded).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:31:12 +00:00
Vadym Samoilenko
8d5b499c16 Set mediaRoot to public root so all site assets show in Media Manager
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:19:33 +00:00
Vadym Samoilenko
f7f1376568 Add search, design tokens with color picker, beforeSubmit for blog
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:07:40 +00:00
Vadym Samoilenko
3958080de8 Remove router from global translation collections (fixes EOF GraphQL error)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:04:08 +00:00
Vadym Samoilenko
ee4deec1f7 Regenerate tina-lock.json after config changes (global, router)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 21:53:09 +00:00
Vadym Samoilenko
f53b64760a Add visual editing via useTina + configure tina collections for SPA
Configured TinaCloud for visual editing of translation files with useTina hook integration. Updated .gitignore to exclude generated runtime files while preserving schema files needed by TinaCloud for branch indexing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 21:42:05 +00:00
Vadym Samoilenko
1cca59dbdd Add visual editing via useTina + configure tina collections for SPA
- Integrate useTina hook for live translation editing in LanguageContext
- Configure translationsEn/translationsUk with global=true and router
- Add blog post router and auto-slugify filename generator

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 21:40:15 +00:00
Vadym Samoilenko
0fa1a9ab9a Update TinaCloud project: new client ID, add tina-lock.json
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 21:06:57 +00:00
Vadym Samoilenko
2f3e4d3dd8 Add tina/__generated__ for TinaCloud branch indexing
TinaCloud requires _schema.json and _graphql.json to index branches.
Generated by running tinacms dev locally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 20:50:38 +00:00
Vadym Samoilenko
985d21b53d Add TinaCMS Cloud integration (Phase 1)
- Add tina/config.ts with full schema for all site sections
- Convert i18n from TypeScript to nested JSON (content/translations/)
- Update LanguageContext to import JSON with flattenObject utility
- Update dev/build scripts to run tinacms build
- Add sync-blog.mjs support for content/blog/*.md (TinaCMS posts)
- Update CI/CD with Tina env vars, remove blog rsync exclusion
- Add tina/__generated__/ to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 20:34:35 +00:00