Commit Graph
954 Commits
Author SHA1 Message Date
tmshv 8bd52cabd6 move app to src 2026-04-24 20:36:06 +03:00
tmshv ef80f5366c move contacts to const 2026-04-24 20:31:34 +03:00
tmshv 54b142d531 rm cources from menu 2026-04-18 14:46:29 +03:00
tmshv 3172e9c91e menu moved to const 2026-04-13 02:14:31 +03:00
tmshv ed3f93de53 PB + Writer (#287)
* add pb models

* api rules has updated to view public

* pb setup is completed

* add migrate script

* add pb migrations

* ignore storage

* add pocketbase SDK dependency

* change Tag.id and PageCardDto.id to string for PocketBase

* add DocV1 content block types

* add PB client singleton and PB record types

* rewrite factory for PocketBase record types

* rewrite api.ts for PocketBase SDK

* remove unused Strapi files, add PB to config

* mark Task 7 complete in plan

* feat: verify build, tests, and lint pass with PocketBase API layer

* move completed plan: 2026-04-06-pocketbase-api-layer.md

* scaffold hudozka-writer with Vite 8, React 19, TS 5.9, Tiptap

* add PocketBase client and DocV1 types to writer

* add Login component for PocketBase superuser auth

* add App shell with auth gate and page loader

* add DocV1 <-> Tiptap serialization layer

* mark Task 5 complete in writer redesign plan

* add custom Tiptap nodes for DocV1 block types

* add Tiptap editor with toolbar and save to PocketBase

* add image picker with browse and upload

* feat: verify writer build and complete integration task

* move completed plan: 2026-04-06-hudozka-writer-redesign.md

* add local env

* rm textblock from writer

* add writer editor improvements design spec

* add writer editor improvements implementation plan

* feat: use @tiptap/markdown for text block serialization

* feat: add global markdown/rendered toggle

* feat: add BlockMenu component for block type selection

* feat: add hover + button for block insertion

* feat: add slash commands for block insertion

* feat: add interactive file block editor with FilePicker

* feat: show resolved page titles in card grid block

* move completed plan: 2026-04-07-writer-editor-improvements.md

* writer ui improved

* pages migration

* spec: draft/publish workflow for hudozka-writer

* spec: rename draft_doc to draft in spec

* plan: writer draft/publish implementation

* plan has moved

* gitignores

* plans upd

* feat(writer): update PbPage type for draft/publish workflow

* feat(writer): add save/publish/discard handlers with dirty tracking

* feat(writer): add DraftBanner component

* feat(writer): add Publish button and update toolbar layout

* feat(writer): add published toggle and update duplicate for new schema

* docs: mark manual verification steps as skipped in writer draft/publish plan

* move completed plan: 20260407-writer-draft-publish.md

* feat(writer): add BlockActions component for inline block menus

* feat(writer): add draggable NodeViews for text blocks

* feat(writer): use BlockActions in custom block NodeViews

* feat(writer): replace floating BlockInsert with inline BlockActions

* fix(writer): ensure all block wrappers have position: relative for BlockActions

* chore: mark manual verification tasks as skipped in writer block actions plan

* move completed plan: 20260408-writer-block-actions.md

* writer update

* refactor(writer): simplify BlockActions to always-visible delete + drag handle

* feat(writer): add BlockInsert component for inserting blocks between nodes

* feat(writer): redesign block sidebar with always-visible actions and insert button

* move completed plan: 20260408-writer-block-actions-redesign.md

* add spec: textblock container redesign for writer editor

* feat(writer): add TextBlock container node definition

* feat(writer): replace DraggableXxx wrappers with TextBlock container

* feat(writer): update Editor extensions for TextBlock container

* feat(writer): add split button to BlockActions for text blocks

* feat(writer): update serialization for TextBlock container

* feat(writer): update BlockMenu and SlashCommands for TextBlock

* fix(writer): use Fragment.from() for replaceWith calls in BlockActions and SlashCommands

* move completed plan: 20260408-textblock-container.md

* add air
2026-04-12 19:02:03 +03:00
tmshv dddc8fc0d0 hide instagram 2026-04-05 15:33:07 +03:00
tmshv a1e51e78f0 Pages -> App (#265)
* pages -> app

* add meta test

* fix gosuslugi
2026-02-09 00:25:06 +07:00
tmshv 3df47621a2 next 16; react 19; node 24 (#263)
* next 16; react 19

* fix build errors

* add typecheck to workflow

* use node 24

* claude update
2026-02-08 23:07:25 +07:00
tmshv 05f7d4d13d Migrate sitemap to Next.js native app/sitemap.ts (#258)
* sitemap migration to next

* robots.txt migration

* rss refactoring

* claude upd

* add test
2026-02-08 21:46:57 +07:00
tmshv 0fd75a3b9a App refactoring (#257)
* add cache

* update Panel

* next app refacoring

* app style refactoring

* years refactroing
2026-02-08 16:34:08 +07:00
tmshv 9ee9bce197 Normalize interface naming — remove I prefix convention (#255)
* update pr workflow

* interface to types

* use consistent import

* import type syntax

* test plan note
2026-02-08 15:57:11 +07:00
tmshv 7ab9147183 fix any (#254) 2026-02-08 15:22:49 +07:00
tmshv 9f5f721bd0 update (#253) 2026-02-08 15:13:03 +07:00
tmshv dd9058b798 rm two packages for hooks (#251)
* rm two packages for hooks

* fix navigation
2026-02-08 13:31:58 +07:00
tmshv f4c5132d7c Move clamp function to lib directory (#250)
* clamp refactoring

* pr template
2026-02-08 12:34:25 +07:00
tmshv 562b4f6408 solve any problem (#248) 2026-02-08 12:22:52 +07:00
tmshv 79ab798f12 UI Tests (#246)
* adds components test setup

* add some ui tests
2026-02-08 03:49:06 +07:00
tmshv 8c57976663 Ymetrika update (#245)
* update claude with message about components

* yandex metrika to ts

* rm env

* add .env example

* use account from env

* add tests
2026-02-08 03:29:28 +07:00
tmshv df50dfa02f date-fns 4 (#243) 2026-02-08 02:53:27 +07:00
tmshvandClaude Opus 4.6 f5a95f57c8 Add Vitest and unit tests for src/lib/ (#242)
* Add Vitest and unit tests for src/lib/ utilities

Closes #241

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update node types

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 02:32:06 +07:00
tmshv a4b3068850 Migrate to ESLint 9 flat config (#239)
* eslint 9

* fix lint errors

* update package-lock.json
2026-02-08 01:29:39 +07:00
tmshv 6503405c85 fix html 2 2025-10-24 14:52:36 +03:00
tmshv 0dbf3547f1 fix html 2025-10-24 14:49:23 +03:00
tmshv f1cafcd7d7 rm qr files 2025-10-24 14:49:09 +03:00
tmshv 7c0cc6b35b rm qr files 2025-10-24 14:45:53 +03:00
tmshv d5a80377a4 qr -> link; add one more link 2025-10-24 14:44:45 +03:00
tmshv 5bf69fc449 color text hsl to oklch 2025-08-26 02:17:01 +03:00
tmshv e4aa681400 format 2025-08-26 02:16:50 +03:00
tmshv 37e2fc9ea5 rewrit HudozkaLogo to use dark style natively 2025-08-26 01:52:03 +03:00
tmshv 73c02d34c4 format 2025-08-26 01:47:22 +03:00
tmshv 9c50460296 rm unused imports 2025-08-25 23:59:58 +03:00
tmshv 945947aa22 rename config context to menu context; move config to state 2025-08-25 23:56:35 +03:00
tmshv 516a4617c4 add wrap option to fix layout on mobile 2025-08-25 23:09:20 +03:00
tmshv 08b87afb12 semi 2025-08-25 21:59:39 +03:00
tmshv e5023e7709 add play all button 2025-08-25 21:57:31 +03:00
tmshv e0a6ddcafc update accessibility panel 2025-08-25 21:14:00 +03:00
tmshv 85c0d8c4ab add initial accessibility panel 2025-08-25 19:05:44 +03:00
tmshv d70d8a8a7a rm google analytics tracker 2025-08-20 18:27:51 +03:00
tmshv 6449845fd6 duplicate blind button in header 2025-04-26 16:17:39 +03:00
tmshv 5f287ffc9c adds two qr codes at footer 2025-02-21 18:09:02 +03:00
tmshv ef9938eac8 rm empty line 2025-02-21 18:08:36 +03:00
tmshv 845cd2b327 fix img warnings 2024-11-29 22:52:31 +03:00
tmshv 21047227b8 apiGet stability improved 2024-11-26 18:54:32 +03:00
tmshv 0e2796453c sexy card hover 2023-09-25 18:44:38 +03:00
tmshv ac5a656f41 fix grid on mobile 2023-09-25 18:37:30 +03:00
tmshv f9d813c57b card grid wip fix 2023-09-25 18:06:32 +03:00
tmshv f0fe786dc5 card update 2023-09-25 17:43:19 +03:00
tmshv 320768b6db add repeat for gosuslugi 2023-08-16 20:09:08 +03:00
tmshv ac3bbb825d fix gosuslugi 2023-08-16 17:23:15 +03:00
tmshv c1d33cf681 fix typo in FileCard component 2023-02-09 20:28:08 +05:00