Team operations flow
Block-composed member inventory, invitation, role, removal, outcome, density, and mobile states.
Inventory, search, invitation, access changes, removal, recovery, density, and mobile pressure.
Active Model errors cover malformed email, unsupported role, and long copy.
The application owns the invitation model, role policy, route, and Turbo frame.
test/dummy/app/components/gallery/flows/team_management_page.rbdiv(
data: {
gallery: "flow-surface",
gallery_flow: "team-management",
gallery_mobile: state == "mobile" ? "true" : nil
}.compact
) do
render NitroKit::Container.new(size: :xl, id: "gallery-team-container") do
render NitroKit::Flex.new(dir: :col, gap: 6, align: :stretch, id: "gallery-team-stack") do
turbo_frame_tag("gallery-team-management-frame") { render_screen }
end
end
end