Skip to content

Replace raw <table> usage with ui_table component #20

@pachev

Description

@pachev

Context

We have a shared MastWeb.Components.UI.Table.ui_table/1 component, but a couple of LiveViews still hand-roll <table> markup from before the component existed.

Sites to migrate

  • lib/mast_web/live/settings_live.ex:204 — SSH keys table
  • lib/mast_web/live/application_live/view.ex:311 — application updates table

(Skip core_components.ex:370 — that's the Phoenix scaffold's generic <.table>, unrelated.)

Done when

  • Both call sites use <.ui_table> with :col slots
  • Existing behavior preserved (zebra, sizing, delete actions, etc.)
  • mix test + mix format clean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions