Data resource settings
Resource configuration, access, validation, authorization, archival, long-content, and mobile settings states.
General screen
Component-composed data & operations coverage across realistic application states.
Complete screen
Customer accounts settings
Editable resource identity, visibility, retention, and notifications backed by Active Model.
Resource configuration
Manage the resource identity, visibility, retention, and failure notices.
Viewport
Ruby
test/dummy/app/components/gallery/compositions/data_resource_settings_page.rbrender NitroKit::SettingsLayout.new(id: "gallery-data-resource-settings-layout") do |layout|
layout.navigation(label: "Data resource settings sections") do
%w[general access danger].each do |section|
layout.item(
section.humanize,
href: flow_path(state: section),
current: settings_section == section
)
end
end
layout.content do
case settings_section
when "general"
render_general_settings
when "access"
render_access_settings
when "danger"
render_danger_settings
end
end
end