avo-hq/avo

Actions (and controls) in tabs in panels

Aperta

#1744 aperta il 12 mag 2023

 (0 commenti) (0 reazioni) (0 assegnatari)Ruby (308 fork)user submission
Avo 3DSL-relatedFeatureHelp wanted

Metriche repository

Star
 (1778 stelle)
Metriche merge PR
 (Merge medio 1g 6h) (67 PR mergiate in 30 g)

Descrizione

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

Guida contributor