Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Elements #62

Open
8 tasks
aydreeihn opened this issue Jan 31, 2023 · 0 comments
Open
8 tasks

Dynamic Elements #62

aydreeihn opened this issue Jan 31, 2023 · 0 comments
Labels
infrastructure Projects with tasks that don't have to have full UI to work on Todo UI Features that require new design

Comments

@aydreeihn
Copy link
Collaborator

aydreeihn commented Jan 31, 2023

Feature Summary

We currently have components for fields that can be used to generate forms, but we should also build form elements as components to improve dynamic forms further.

Elements

  • Table + Table Rows
  • Tabs
  • Drag and Drop
  • Grid (Widget Placement)
    - Allow elements to be placed in a specific amount of Rows and Columns
    - Ex: The page could have 2 columns where the first is a small card with information and the second is a set of Tabs with different information in each
  • Accordion
  • Group
    - Ability to add multiple fields to a single line of a form

Fields

  • Dependent Fields
  • Dependent Search
    Example: See Filter Rules in 2.0

Screen Shot 2023-01-31 at 1 34 52 PM

Intended Outcome of the feature

Once built out, we should be able to generate forms in the backend using Form Classes, Elements, and Fields. We should be able to pass in information from the database to populate the fields and format them to properly render in React components.

Approach

In the backend, we will need classes to be made for the new elements that will format the data for the frontend.
Ex: DynamicFormElements.php + child classes for each element.

It would be helpful to write an artisan command that will automatically build a skeleton form that we can use as a template to quickly build out the UI.

@aydreeihn aydreeihn added Todo infrastructure Projects with tasks that don't have to have full UI to work on UI Features that require new design labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Projects with tasks that don't have to have full UI to work on Todo UI Features that require new design
Projects
Status: Done
Development

No branches or pull requests

1 participant