docs/refactor: finalize V3 cleanup and archive badge config project
- Moved PROJECT__AE_Events_Badges_Config_Cleanup.md to archive. - Updated PROJECT__Use_AE_API_V3_CRUD_upgrade.md with latest audit and migration status. - Migrated ae_comp__event_presenter_form_agree.svelte to modern V3 update_ae_obj helper. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Project: CRUD V3 Final Migration
|
# Project: CRUD V3 Final Migration
|
||||||
|
|
||||||
> **Status:** Active / In Progress
|
> **Status:** 🟡 Surgical Cleanup (90% Complete — Events Module Fully Migrated)
|
||||||
> **Last Updated:** 2026-01-20
|
> **Last Updated:** 2026-05-21
|
||||||
> **Goal:** Eliminate all dependency on legacy API wrappers (`create_ae_obj_crud`, `get_ae_obj_id_crud`, etc.) and ensure 100% adoption of the V3 Standard (`/v3/crud/...`).
|
> **Goal:** Eliminate all dependency on legacy API wrappers (`create_ae_obj_crud`, `get_ae_obj_id_crud`, etc.) and ensure 100% adoption of the V3 Standard (`/v3/crud/...`).
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -21,23 +21,23 @@ While the **Journals** and **Identity (User/Account)** modules have been success
|
|||||||
The following files have been identified as using legacy CRUD wrappers.
|
The following files have been identified as using legacy CRUD wrappers.
|
||||||
|
|
||||||
### 🔴 High Priority: Events Module
|
### 🔴 High Priority: Events Module
|
||||||
The entire `ae_events` library is heavily dependent on legacy `v2` list and `v1` CRUD wrappers.
|
- [x] `src/lib/ae_events/ae_events__event_session.ts` (Migrated 2026-01-30)
|
||||||
|
- [x] `src/lib/ae_events/ae_events__event_presenter.ts` (Migrated 2026-01-30)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_session.ts`
|
- [x] `src/lib/ae_events/ae_events__event_presentation.ts` (Migrated 2026-01-30)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_presenter.ts`
|
- [x] `src/lib/ae_events/ae_events__event_location.ts` (Migrated 2026-01-30)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_presentation.ts`
|
- [x] `src/lib/ae_events/ae_events__event_badge_template.ts` (Migrated 2026-01-30)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_location.ts`
|
- [x] `src/lib/ae_events/ae_events__event_device.ts` (Migrated 2026-01-30)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_badge_template.ts`
|
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_device.ts`
|
|
||||||
- [x] `src/lib/ae_events/ae_events__exhibit.ts` (Migrated 2026-01-28)
|
- [x] `src/lib/ae_events/ae_events__exhibit.ts` (Migrated 2026-01-28)
|
||||||
- [ ] `src/lib/ae_events/ae_events__event_file.ts`
|
- [x] `src/lib/ae_events/ae_events__event_file.ts` (Migrated 2026-01-30)
|
||||||
|
|
||||||
### 🟠 Medium Priority: Core & Sponsorships
|
### 🟠 Medium Priority: Core & Sponsorships
|
||||||
Legacy patterns persisting in core logic and config modules.
|
Legacy patterns persisting in core logic and config modules.
|
||||||
|
|
||||||
- [ ] `src/lib/ae_sponsorships/ae_sponsorships_functions.ts`
|
- [ ] `src/lib/ae_sponsorships/ae_sponsorships_functions.ts`
|
||||||
- [ ] `src/lib/ae_core/core__hosted_files.ts` (Uses `get_ae_obj_id_crud`)
|
- [x] `src/lib/ae_core/core__hosted_files.ts` (Migrated 2026-01-20)
|
||||||
- [ ] `src/lib/ae_core/core__site.ts` (Uses `get_ae_obj_id_crud`)
|
- [x] `src/lib/ae_core/core__site.ts` (Migrated 2026-01-26)
|
||||||
|
- [ ] `src/lib/ae_core/core__site_domain.ts` (STILL USES `get_ae_obj_id_crud` for bootstrap)
|
||||||
|
- [ ] `src/lib/ae_core/ae_core_functions.ts` (STILL USES `get_ae_obj_id_crud` / `update_ae_obj_id_crud`)
|
||||||
- [ ] `src/lib/ae_core/core__country_subdivisions.ts`
|
- [ ] `src/lib/ae_core/core__country_subdivisions.ts`
|
||||||
- [ ] `src/lib/ae_core/core__time_zones.ts`
|
- [ ] `src/lib/ae_core/core__time_zones.ts`
|
||||||
- [ ] `src/lib/ae_core/core__countries.ts`
|
- [ ] `src/lib/ae_core/core__countries.ts`
|
||||||
@@ -48,9 +48,10 @@ Specific UI components that make direct API calls instead of using store functio
|
|||||||
- [ ] `src/lib/elements/element_data_store.svelte` (Direct `create_ae_obj_crud`)
|
- [ ] `src/lib/elements/element_data_store.svelte` (Direct `create_ae_obj_crud`)
|
||||||
- [x] `src/lib/elements/element_data_store_v2.svelte`
|
- [x] `src/lib/elements/element_data_store_v2.svelte`
|
||||||
- [ ] `src/routes/events/[event_id]/event_page_menu.svelte`
|
- [ ] `src/routes/events/[event_id]/event_page_menu.svelte`
|
||||||
- [ ] `src/routes/events/[event_id]/(pres_mgmt)/session/ae_comp__event_session_alert.svelte`
|
- [x] `src/routes/events/[event_id]/(pres_mgmt)/session/ae_comp__event_session_alert.svelte` (Migrated to `update_ae_obj`)
|
||||||
- [ ] `src/routes/events/ae_comp__event_session_obj_li.svelte`
|
- [ ] `src/routes/events/ae_comp__event_session_obj_li.svelte`
|
||||||
- [ ] `src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte`
|
- [ ] `src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte`
|
||||||
|
- [ ] `src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte` (STILL USES `update_ae_obj_id_crud`)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -127,13 +127,11 @@ async function handle_update__event_presenter({
|
|||||||
console.log('*** handle_update__event_presenter() ***');
|
console.log('*** handle_update__event_presenter() ***');
|
||||||
|
|
||||||
ae_promises.update__event_presenter_obj = api
|
ae_promises.update__event_presenter_obj = api
|
||||||
.update_ae_obj_id_crud({
|
.update_ae_obj({
|
||||||
api_cfg: $ae_api,
|
api_cfg: $ae_api,
|
||||||
obj_type: obj_type,
|
obj_type: obj_type,
|
||||||
obj_id: obj_id,
|
obj_id: obj_id,
|
||||||
fields: data,
|
fields: data,
|
||||||
key: $ae_api.api_crud_super_key,
|
|
||||||
return_obj: true,
|
|
||||||
log_lvl: log_lvl
|
log_lvl: log_lvl
|
||||||
})
|
})
|
||||||
.then(async function (update__obj_result) {
|
.then(async function (update__obj_result) {
|
||||||
|
|||||||
Reference in New Issue
Block a user