ash_admin icon indicating copy to clipboard operation
ash_admin copied to clipboard

feature: add default page override option for resource

Open joshprice opened this issue 3 years ago • 3 comments

Currently this option can be set to one of the following:

  • :schema
  • :read
  • :create
  • :update
  • :destroy
  • {:action, action_name}

Will implement the ability to specify a custom page later with:

  • {:custom, custom_page_name}

joshprice avatar May 25 '22 16:05 joshprice

need to run mix ash.formatter, additionally, we should change the default_resource_action in the api page to be :read instead of :primary_read, likely :)

zachdaniel avatar May 25 '22 16:05 zachdaniel

Otherwise looks great!

zachdaniel avatar May 25 '22 16:05 zachdaniel

Pull Request Test Coverage Report for Build 44eea96e012620ec5edccc81b947d304f2fb8216-PR-20

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 1834251ca7e1fee5a2b87c0810c951b4e6d666fa: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

coveralls avatar May 25 '22 17:05 coveralls

This is pretty out of date, closing for now.

zachdaniel avatar Jun 13 '23 16:06 zachdaniel