diff --git a/documentation/AE__Components.md b/documentation/AE__Components.md index d8d6106b..eceb2d67 100644 --- a/documentation/AE__Components.md +++ b/documentation/AE__Components.md @@ -40,9 +40,9 @@ These are reusable components that provide common functionalities across differe - **`copy_btn`**: A button to copy content to the clipboard. - Properties: `clipboard`, `bind:value`, `btn_text`, `btn_html`. - **`txt_editor`**: A basic text area editor. -- **`md_editor`**: Markdown editor. - - Uses CodeMirror (planned for rich text editing). - - **Note:** ShadEditor TipTap is present but marked for removal. ShadCN components are also being phased out in favor of CodeMirror for text editing. +- **`md_editor`**: Markdown/rich-text editing handled by two active components: + - `element_editor_codemirror.svelte` — CodeMirror 6, used for source/code editing + - `element_editor_tiptap.svelte` — TipTap (WYSIWYG), used for rich-text content fields - **`html_editor`**: HTML editor. - **`media_player`**: Component for playing media files. - Properties: `hosted_file`, `archive_content`, `media_player`. @@ -62,13 +62,11 @@ These are reusable components that provide common functionalities across differe - Bindings: `bind:trigger`, `bind:show_spinner`, `bind:show_percent`. - Status: `started`, `downloading`, `finished`. - **`data_store`**: Component for interacting with data stores. -- **`ae_crud`**: Generic CRUD (Create, Read, Update, Delete) component. - - **Note:** Needs simplification. - - Properties: `obj`, `prop`, `current_value`. - - Bindings: `bind:value`, `bind:trigger`, `inner fragment`. -- **`ae_obj_prop_val`**: A wrapper for a function to manage object property values. - - Bindings: `bind:obj_type`, `bind:obj_id`, `bind:obj_prop`, `bind:obj_value`, `bind:obj_new_value`, `bind:trigger`, `bind:show_spinner`, `bind:show_percent`. - - Status: `status`, `result`. +- **`element_ae_obj_field_editor_v3`**: Standard single-field inline editor. Replaces retired `ae_crud` v1/v2 components. + - Props: `object_type`, `object_id`, `field_name`, `field_type`, `current_value` + - Field types: `text`, `textarea`, `select`, `tiptap`, `checkbox`, `date`, `datetime`, `number` + - Callbacks: `on_success`, `on_error` + - Respects `$ae_loc.edit_mode` — edit trigger hidden when edit mode is off. - **`sql_qry`**: Component for executing SQL queries. - **`obj_tbl`**: Object SQL results table or similar. - **`qr_scanner`**: Component for scanning QR codes. diff --git a/documentation/PROJECT__AE_Object_Field_Editor_V3_upgrade.md b/documentation/PROJECT__AE_Object_Field_Editor_V3_upgrade.md index 277e0d1e..f3c8e61f 100644 --- a/documentation/PROJECT__AE_Object_Field_Editor_V3_upgrade.md +++ b/documentation/PROJECT__AE_Object_Field_Editor_V3_upgrade.md @@ -32,7 +32,7 @@ Consolidate the legacy CRUD components into a single, high-performance "Aether O ### Phase 3: Field Type Parity (IN PROGRESS) - [x] Support `text`, `textarea`, `select`, `tiptap`, and `checkbox`. -- [ ] Add `datetime` support using native browser pickers. +- [x] Add `datetime` support using native browser pickers — `date` and `datetime-local` inputs implemented. - [ ] Implement searchable dropdowns for the `select` type. ### Phase 4: Migration & Cleanup