No single-tag create/edit admin UI (orphaned TagModel/TagTable/tag.xml) #98

Open
opened 2026-06-29 14:19:13 +00:00 by jmiller · 1 comment
Owner

Problem (BLOCKING)

The admin component can list OG tag records but provides no way to manually create or edit a single record. The edit MVC stack is half-built:

  • Exist: forms/tag.xml, src/Model/TagModel.php (AdminModel), src/Table/TagTable.php
  • Missing: singular src/Controller/TagController (FormController), src/View/Tag/HtmlView.php, tmpl/tag/edit.php

Confirmed on disk: src/Controller/ has only Batch, Display, ImportExport, Tags (plural); src/View/ has only Tags; tmpl/ has only tags. The list template (tmpl/tags/default.php:88) renders og_title as plain text — no edit link. So tag.xml/TagModel are unreachable from the UI.

Fix

  • Add Controller/TagController extends FormController
  • Add View/Tag/HtmlView + tmpl/tag/edit.php
  • Link the title in the list view to the edit form, add New/Edit toolbar buttons
  • Fix the form's language keys (see the i18n issue — tag.xml currently uses PLG_CONTENT_MOKOOG_* keys not loaded in component context)

Severity

Release blocker for a "manage OG tags" admin component — core CRUD is read-only.

## Problem (BLOCKING) The admin component can list OG tag records but provides **no way to manually create or edit a single record**. The edit MVC stack is half-built: - ✅ Exist: `forms/tag.xml`, `src/Model/TagModel.php` (AdminModel), `src/Table/TagTable.php` - ❌ Missing: singular `src/Controller/TagController` (FormController), `src/View/Tag/HtmlView.php`, `tmpl/tag/edit.php` Confirmed on disk: `src/Controller/` has only `Batch`, `Display`, `ImportExport`, `Tags` (plural); `src/View/` has only `Tags`; `tmpl/` has only `tags`. The list template (`tmpl/tags/default.php:88`) renders `og_title` as plain text — **no edit link**. So `tag.xml`/`TagModel` are unreachable from the UI. ## Fix - Add `Controller/TagController extends FormController` - Add `View/Tag/HtmlView` + `tmpl/tag/edit.php` - Link the title in the list view to the edit form, add New/Edit toolbar buttons - Fix the form's language keys (see the i18n issue — `tag.xml` currently uses `PLG_CONTENT_MOKOOG_*` keys not loaded in component context) ## Severity Release blocker for a "manage OG tags" admin component — core CRUD is read-only.
jmiller added the bugproduction-readiness labels 2026-06-29 14:19:13 +00:00
Author
Owner

Branch created: feature/98-no-single-tag-create-edit-admin-ui-orpha

git fetch origin
git checkout feature/98-no-single-tag-create-edit-admin-ui-orpha
Branch created: [`feature/98-no-single-tag-create-edit-admin-ui-orpha`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteOpenGraph/src/branch/feature/98-no-single-tag-create-edit-admin-ui-orpha) ```bash git fetch origin git checkout feature/98-no-single-tag-create-edit-admin-ui-orpha ```
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteOpenGraph#98