Implemented simple HTML5 datalist for FK (foreign key) autocomplete in Insert and Edit forms, replacing the complex Tabulator form approach.
Changes:
- Added renderFieldInput() function to generate input fields with datalist support
- Replaced Tabulator table in promptForRequiredFields() with simple HTML form
- Replaced Tabulator table in showEditModal() with simple HTML form
- All fields now use native HTML5 inputs with proper type support
- FK fields use <input list="datalist"> for browser-native autocomplete
- Added vendor/, composer.lock, composer.phar to .gitignore
Benefits:
✅ Simpler implementation with native HTML5 functionality
✅ No dependency on complex Tabulator configurations
✅ Better browser compatibility with standard HTML5 inputs
✅ Smaller code footprint and faster rendering
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Replace native HTML <select> elements with Tabulator-based vertical forms
- Implement autocomplete functionality for FK fields in Insert modal
- Implement autocomplete functionality for FK fields in Edit modal (single and batch)
- Add comprehensive CSS styling for vertical form-tables
- Show field descriptions, FK references, and comments inline
- Support NULL values for optional fields with clear button
- Auto-enable checkboxes on field edit in batch mode
- Consistent UX with autocomplete in main table grid
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Код восстановления видимости столбцов перемещён внутрь события tableBuilt,
чтобы он выполнялся после полного построения таблицы, когда все столбцы доступны.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- core.js: API wrapper и утилиты (~150 строк)
- user.js: авторизация и localStorage (~240 строк)
- table.js: дерево и Tabulator (~770 строк)
- operations.js: CRUD операции (~740 строк)
- io.js: импорт/экспорт CSV и бэкап (~600 строк)
- app.js: точка входа (~30 строк)
Старый файл сохранён как app.js.bak
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>