Skip to content

Conversation

@maebeale
Copy link
Collaborator

  • This work is part of [link an issue]

What is the goal of this PR and why is this important?

  • make CRUD available outside RailsAdmin

How did you approach the change?

  • moved list of resource kinds out of controller method and in to constant in the model
  • trim down the form from fields and associations that were used from outset
  • change factory to only required fields
  • change default of 'inactive' to false via the model
  • change search functionality per user for use on resources index

Anything else to add?

  • there was conditional logic around when a resource was of type == 'Scholarship', but stakeholders report they don't use this system for scholarships, so that was removed
  • i've chosen to leave the legacy fields in the database, but just not exposing them in the forms

- make CRUD available outside RailsAdmin
- trim down the factory to only required fields
- change default of 'inactive' to false
- change search functionality per user for use on resources index
@maebeale maebeale merged commit c2f7b0d into main Sep 13, 2025
2 checks passed
@maebeale maebeale deleted the add-resource-crud branch September 13, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants