Refactoring the Data-Explorer Functionality since a lot of it is shared
Create the ability to Create View
Data-Explorer as “Schema-Explorer”
isSchemaView as the switch for this
as part of the Form-Generator Re-Factor
shows the data as the Field-Types (including the Ref-Table.name)
Has the Sub-Tables
Setup the Edit Field Value Popup to be able to edit the non-editable fields in the DE
Setup the Add Forms/Reports Pages
Setup the Add Sections and Fields to Views
Questions
With the way that the is_fields_include_in_parent_table queries work we will to use the si_table_id and field_id together as the value for “Select Field Control”
Do we setup the Organizations table as a Sib-Table to the Contacts Table?
Or are they one and the same but maybe have different forms and use different field names on the forms?
2024-03-04
? Do we just create a view for the “view_create” (p_view_create) page and have a custom OnSaveURL and option to pass the IsUseFieldDbColSaverFormat?
Otherwise we have to init all of the fields with
name
field_type
db_col
is_required
(is_title_stack should be default)
Form-Gen - Init Fields
? How do we best create the fields manually for
Form-Gen - Save Data
how can we build the object so that there are dynamic properties for each of the fields,
like “name”
Form-Gen - Sometimes we don’t want to create the actual form element
when sub-form
ensure that row and col always default to 1
in the views (add them to the views)
or in the
loop through the section_parents (if there are any)
Or Init so that if none than we will put them into a default created one (blank-one)
when Not-is_x_stack -
loop through cols and then sections in that col
when is_x_stack
loop through the sections
loop through the rows (per section)
build the form-groups
Setup the Form-Sections
RefreshFields on the parent
Help me refactor this code so that I can put the sections into bootstrap columns by the “sections.col” (int) when
.row so that we put each group into its own “row”. But I am also open to using the col-12 hack when the row changes to a new row instead of using the “row” div.