avo-hq/avo

Actions (and controls) in tabs in panels

Open

#1,744 opened on May 12, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (308 forks)user submission
Avo 3DSL-relatedFeatureHelp wanted

Repository metrics

Stars
 (1,778 stars)
PR merge metrics
 (Avg merge 1d 6h) (67 merged PRs in 30d)

Description

Feature

The DSL would look something like this:

tabs do
  tab "something" do
    panel do
      show_controls = -> {
        action DummyAction
      }

      field :population, as: :number
      field :is_capital, as: :boolean
    end
  end
end

Current workarounds

We could use a resource tool

Contributor guide