- KanbanRenderer: @dnd-kit drag-drop, group by single_select field, optimistic update + rollback, empty column placeholder, read-only mode - CalendarRenderer: @fullcalendar month/week/day toggle, eventDrop -> PATCH date field, event click -> RowDetailModal, stub deps noted - InlineEditor: polymorphic (text/number/date/select/multi-select), save on blur/Enter, cancel on Escape, permission denied read-only - RowDetailModal: simple field detail view opened from calendar events - useUpdateRow: generic PATCH with React Query v5 optimistic+rollback - usePermissions: reads acadenice_permissions from window global or cookie - patchRow helper added to bridge-client.ts - DatabaseViewComponent: dispatches kanban/calendar to real renderers - TableRenderer: integrates InlineEditor on double-click cells - i18n: +12 keys (kanban.*, calendar.*, edit.*, row_detail.*) in en-US + fr-FR - 5 new test suites: kanban, calendar, inline-editor, use-update-row, use-permissions - Updated database-view-component.test.tsx for R3.1.d dispatch Deps to install: @dnd-kit/core@^6 @dnd-kit/sortable@^8 @dnd-kit/utilities@^3 @fullcalendar/react@^6 @fullcalendar/daygrid@^6 @fullcalendar/timegrid@^6 @fullcalendar/interaction@^6 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist