Skip to content

refactor/add-new-kanban#68

Merged
kapitulin24 merged 41 commits into
devfrom
refactor/add-new-kanban
Jun 22, 2026
Merged

refactor/add-new-kanban#68
kapitulin24 merged 41 commits into
devfrom
refactor/add-new-kanban

Conversation

@AlexandrNel

@AlexandrNel AlexandrNel commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Что сделано

  • Добавлена сущность entities/board с контрактами API (Zod-схемы, HTTP-запросы, React Query хуки)
  • Вынесена палитра цветов колонок в entities/board/lib/colors.ts
  • Реализовано создание доски через диалог с формой и инвалидацией списка
  • Реализовано удаление доски с инвалидацией списка
  • Добавлено создание колонки (название, позиция, выбор цвета) с инвалидацией списка и колонок
  • Добавлено удаление колонки через диалог подтверждения в меню
  • Сделана заготовка создания задачи (поле ввода и кнопка в колонке)
  • Обновлена страница досок проекта: переключение досок, создание/удаление, Zustand-хранилище
  • Переработан канбан: DnD, синхронизация задач через useEffect, кнопка создания колонки
  • Вынесена колонка в отдельный компонент с хедером (цвет, счётчик, меню)
  • Добавлен маппинг API-ответа в структуру канбана
  • Добавлены скелетоны и fallback при ошибках
  • Добавлены ColorPicker и Checkbox в shared
  • Временно отключено правило fsd/insignificant-slice для новых фичей

Проверка

  • pnpm lint
  • pnpm typecheck
  • Открыть страницу досок проекта: загрузка списка, переключение активной доски
  • Создать доску → появляется в табах, список обновляется после refetch
  • Удалить доску → доска исчезает из списка
  • Создать колонку → новая колонка появляется на канбане
  • Удалить колонку → проверить, что колонка пропадает с канбана
  • Открытие меню колонки: удаление, picker цвета (локальный state)
  • Проверить состояние загрузки и ошибки

…pability; add skeleton components for loading states
@AlexandrNel AlexandrNel requested a review from kapitulin24 as a code owner June 3, 2026 09:44
@github-actions github-actions Bot added ui-kit Shared UI components, styles and storybook features User scenarios and sliced features domain Business entities and models labels Jun 3, 2026
@github-actions github-actions Bot added views Pages, widgets and layouts config labels Jun 3, 2026
Comment thread src/entities/board/model/mapper.ts
Comment thread src/features/boards/create/ui/CreateBoardForm.tsx Outdated
Comment thread src/features/task/create/model/useClickOutside.ts
@AlexandrNel AlexandrNel changed the title Refactor/add new kanban refactor/add-new-kanban Jun 8, 2026
…as, and enhance sorting functionality

- Removed `getBoardViewList` and `getBoardView` methods from `BoardQueries`.
- Deleted `mockBoard` and related mock data from `mock-data.ts`.
- Updated `BoardMapper` to accept a column list for sorting.
- Enhanced `Board` and `BoardColumn` schemas with new properties and validation.
- Simplified `CreateBoardColumnFormSchema` and `CreateBoardFormSchema`.
- Refactored default values in board and column creation forms.
- Updated UI components to reflect changes in data structure and naming conventions.
- Introduced `createSortingSchema` for consistent sorting parameter handling.
@github-actions github-actions Bot added the core-logic Global providers, api instances and core shared libs label Jun 18, 2026
@AlexandrNel AlexandrNel force-pushed the refactor/add-new-kanban branch from 79b49c1 to 6337dce Compare June 19, 2026 11:56
Comment thread src/entities/auth/config/oauth-providers.ts Outdated
- refactor: reorganize color constants
- fix(TaskColumnHeader): improve color handling logic, normalize color case to prevent duplicate keys
- refactor(project): fix store creation
- refactor(layout): font was remove from layout
- refactor: simplify auth type import
@AlexandrNel AlexandrNel force-pushed the refactor/add-new-kanban branch from 56788f7 to 2728a60 Compare June 20, 2026 17:08
- split board navigation, header, content and view switcher into separate components
- replace board-with-tasks mapper with kanban-specific data mapping and task grouping
- move ProjectKanban to view data props with optimistic kanban state and query cache updates
- add project board view data type and update board/column mutation hooks
- adjust board creation/removal dialogs and column form return values
@AlexandrNel AlexandrNel force-pushed the refactor/add-new-kanban branch from 6a7dea2 to ee4edde Compare June 22, 2026 12:48
@kapitulin24 kapitulin24 merged commit 655bb7c into dev Jun 22, 2026
7 checks passed
@kapitulin24 kapitulin24 deleted the refactor/add-new-kanban branch June 22, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config core-logic Global providers, api instances and core shared libs domain Business entities and models features User scenarios and sliced features ui-kit Shared UI components, styles and storybook views Pages, widgets and layouts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants