Repository navigation
Open
Description
FOG 1.6 UI parity: the map
Target: FOGProject/fog-node, /home/telliott/fog-node
Tier: n/a (tracking issue, not a factory job)
Base: None
Route: tracking issue — #155
Goal
fog-node looks and works like FOG 1.6: the same shell, palette, density, dark mode,
sidebar, tables, forms, toasts, dashboard, login and per-user preferences. FOG 1.6
already runs AdminLTE 4 and Bootstrap 5, the same stack as fog-node. So its stylesheet and
markup patterns port with little change, and the PHP logic behind them is rewritten in
Node.
This issue tracks the whole program. Each line below is a separate issue.
The UI layer (done: all ten merged)
| Brief | Issue | Waits on |
|---|---|---|
| ui16-01 Port the 1.6 stylesheet, Font Awesome 7, DataTables Bootstrap 5 | #145 | none |
| ui16-02 Per-user preferences and the System/Light/Dark theme | #146 | #145 |
| ui16-03 The 1.6 page shell: navbar, account menu, header, footer | #147 | #145, #146 |
| ui16-04 The 1.6 sidebar: labels, icons, order, active state | #148 | #145, #147 |
| ui16-05 The 1.6 create and edit page layout | #149 | #147, #148 |
| ui16-06 The 1.6 list tables: toolbar, action box, saved layout | #150 | #148, #149 |
| ui16-07 1.6 toasts and modal style, PNotify removed | #151 | #147, #149, #150 |
| ui16-08 The 1.6 dashboard layout and theme-aware charts | #152 | #146, #147, #151 |
| ui16-09 The 1.6 select2 universal search | #153 | #148, #150 |
| ui16-10 The 1.6 login page | #154 | #146, #151 |
All ten issues are closed.
1.6 features that need a backend first (not yet briefed)
Each item is a feature with its own model or endpoint work, not only a UI port. Each gets
its own brief when it is next.
- Pending MACs page. Pending Hosts, Pending Agents and Agent Tokens landed in feat(agent): add the Pending Hosts, Pending Agents and Agent Tokens pages #187 (fog-agent enrollment).
- Export and Import for each entity.
- Multicast image sessions.
- The tabbed Tasks page: Active, Multicast, Snapins, Scheduled, Recent, with count
badges. - Reports, with the 1.6 report window, stat tiles and chart panels.
- Give a subject to the successful writes that record none (role assign and unassign, password
resets, api-token resets, pending approve and delete, image scan and capture, account
preferences, wol), so they reach the Activity page (Add the FOG 1.6 Activity page and the activity.view permission #206 lists them). - Client Settings.
- Sites, User Groups and impersonation.
- Showing dates in each user's timezone. ui16-02 already stores
display.timezone. - A language choice. fog-node has locale files, but its views do not use them.
- Saved filters and SearchBuilder on the grids. The per-column condition select of the
column-search row uses the same server criteria, so it comes with them. - Quick-task buttons (Deploy, Capture) on the host page and the grid. These need the
imaging task engine. - API documentation (Swagger).
- The plugin manager page.
- Menu filtering by role permission.
- The Role create and edit pages. 1.6 has "Create New Role", an add modal and an edit
page. fog-node has none, so the Roles menu entry and its list rows stay plain. - The "Remove file data" option when an image or a snapin is deleted. It needs a
destroy path that removes the stored files. - The storage group and storage node selectors on the dashboard. The dashboard
endpoints take no group or node parameter yet. - The About page. The footer version links to it in 1.6. fog-node links to
/hwinfo
until it exists. - Info-card facts that need data fog-node does not keep:
- the host Last Check-In (no check-in field);
- the image Primary Storage Group (an Image has no storage-group link);
- the user Signs In With (a User has no auth-source field);
- the OS and Image Type names (no OS or ImageType model, so the card shows the id).
- The Pending MACs and plugin-update callouts on the dashboard.
Done since the map was written
- Logging, complete: feat(audit): add the audit trail core #188 (the audit trail core), Add the FOG 1.6 Audit Log page and the audit.view permission #200 (Audit Log,
audit.view, PR feat(audit): add the FOG 1.6 Audit Log page and the audit.view permission #203),
Add the FOG 1.6 Activity page and the activity.view permission #206 (Activity,activity.view, PR Add the FOG 1.6 Activity page and the activity.view permission #210), Add the FOG 1.6 Agent Activity page and the agentactivity.view permission #207 (Agent Activity,agentactivity.view, PR Add the FOG 1.6 Agent Activity page and the agentactivity.view permission #212),
Write the fog-node log to a rotating file as well as to the console #208 (fog-node writes a rotating log file, PR Write the fog-node log to a rotating file as well as to the console #211), Add the FOG 1.6 Log Viewer page over the fog-node log file #209 (Log Viewer,setting.read, PR Add the FOG 1.6 Log Viewer page over the fog-node log file #213). - The FOG Configuration page: Add the FOG settings catalog and a settings read helper #198 (the settings catalog, PR Add the FOG settings catalog and a settings read helper #202), Add the FOG 1.6 FOG Configuration settings page #199 (the page, PR Add the FOG 1.6 FOG Configuration settings page #204),
Move the four remaining setting readers onto the settings catalog #201 (the four agent and password setting readers on the catalog, PR refactor(settings): move the four remaining setting readers onto the catalog #205).
UI work that is client-only (in a ui16 brief, not deferred)
- The column resizer and saved column widths (ui16-06).
- Flash messages and save results as toasts (ui16-07, ui16-05).
Deliberately not ported
- Groups: no longer left out. Add the Group record and the FOG 1.6 Group Management pages #169 (Group record and pages), Add plugin group grants for printers and snapins, as FOG 1.6 #170 (plugin group grants), Record the Groups decision in ADR 0002 and fix the docs #171 (ADR 0002) port them, after Stop role permissions from overwriting the shared permission defaults #168 (role permission fix).
- The 1.6 AJAX page loader (
.ajax-page-link): fog-node renders each page on the
server, and the parity target is the look and the features, not the transport.
Depends on
None
Metadata
Metadata
Assignees
Labels
No labels
Activity