Skip to content

FOG 1.6 UI parity: the map #155

Open

Description

@mastacontrola

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

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

Depends on

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions