feat(structure): improve type colors and index editing

This commit is contained in:
weekhy authored and GitHub committed 2026-10-04 00:04:49 +08:00
1 parent da1094df93
commit fa7dde7c03
33 files changed
+1631 -132

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Schema editor UI examples
These screenshots render the modified `TableStructureEditor.vue` with fictional
metadata in an isolated browser fixture. `Demo connection`, `demo_db`,
`demo_users`, and all columns, defaults, and indexes are invented examples.
The fixture uses mocked backend APIs, connects to no database, and cannot
execute schema changes.
- `fields.png`: field types, matching default-value colors, and index membership.
- `types.png`: colored options in the field-type dropdown.
- `indexes.png`: primary, unique, ordinary, full-text, and spatial index colors.
- `index-column-picker.png`: searchable composite fields with selection order.
- `index-context-menu.png`: index creation from a field's context menu.
The captures demonstrate frontend presentation and interaction, not live DDL
execution against a database server.