icon picker
Daily-Dev-Notes

Horizon (Next)

Strategy

Setup the Form-Generator
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
When is_horizontal_stack then we have to group by the .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.

<div class="@(sectionParent.IsMultiCol ? "row" : "")">
</div>






Data-Explorer - Refactor



Combine the “Loading” Component with the <MajorErrorAlert> Component to simplify the
so we are passing in the isLoading and hasMajorErrorOccurred to the “<loading>” component
possibly with a special option for “hasPermissionsDenied”




? “sections” component ?
to make it easier to org this


Create New View → Form/Report/Template Pages

Custom Page
accepts the “view_type_id” to know which object we are creating

Parts
name
memo
main-table
for-table
changes based on the main-table
Report-Options
is_rowspan_for_multirecs → is_auto_sections_for_tables

Notes
(Forms can always be set as Reports Later)
(Templates can have Reports generated for the fields on them)


Reports - Page

For the Sidebar Link “Reports”
Shows the “Reports” (Overview) view
Clicking on the name or the details link to open it
Fields
id
name
main_table
for_table
memo
(can this be clipped but have the whole thing shown on hover/tooltip)
“Create New Report Page”
? Custom-Form or Views-Form ?
(Forms can always be set as Reports Later)
(Templates can have Reports generated for the fields on them)


Delete View_Field
with confirmation
from viewsDataGrid
#ez



2024-02-21




Test adding the “City” field to the “Contacts” View (for View_id 2)
I think the the is_include_fields_in_parent_table isn’t working properly
maybe because we aren’t passing the table_id at the time it is created
Test Adding new field to Table to make sure that it will get added to sections/items properly
Test Going to Page-2 on Reports



Ordering

vf.ord and field.f_ord - should be set in the reorder proc as overall order or should be deprecated


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.