-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix: Reset disabled state for Create Items button #1679
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…-create-items-button-reset
agalin920
approved these changes
Jan 3, 2023
finnar-bin
added a commit
that referenced
this pull request
Feb 15, 2023
* FIX: Added handling for empty csv file imports (#1644) * Update Insights table incorrect thumbnails (#1614) * Added: filename tooltip * Update: filename thumbnail display for xlsx, pdf, and csv * Update: thumbnail display for other file extensions * Change NameTooltip component to FilenameTooltip Co-authored-by: Andres <agalin920@gmail.com> * Fix undefined title on custom apps (#1658) * Fix undefined title on custom apps * couple of house keeping items Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * Fallback to first bin if no default bin present (#1657) * Block non image selection for favicon (#1616) * mature dashboard empty state (#1611) * mature dashboard empty state * padding update * update margin * fix: reset create items button when fieldmap is changed or a new file is imported: (#1679) * Only dispatch success action on 200 response (#1690) * Use Zoho embed URL (#1675) * Fixed: launch pad cards returning nan on undefined values (#1673) * Added: optional chain for options field to avoid undefined or null val (#1689) * Restore media filter pill height (#1659) * Fixed: dropdown icons position (#1598) Co-authored-by: Carl Cruz <carlcruz@192.168.254.104> * Fix: Check if binData exists before file upload (#1705) * fix: check if binData exists * task: disable upload button when binData is not loaded * task: disable upload button when binData is loading * Change warning message to not access undefined variable (#1700) * AI content text fields (#1724) * Ai content text fields * lock update * messaging update * task: added checking if attr object has any content (#1726) * Fixed: URL error when meta doesnt have a url field (#1738) * Fixed: URL error when meta doesnt have a url field * Hotfix: resource table click function * API Request batcher and bulk endpoint implementation for media multi move and delete (#1672) * API Request batcher and bulk endpoint implementation for media multi move and delete * disable close when loading * Remove limit tesxt * Update api middleware to return a promise to diplicate requests (#1696) * add: testing hooks * Fix Metrics app crash when backend reports that no requests were served (#1753) * Add AI on article writer, markdown, wysiwyg (#1750) * Add AI on article writer, markdown, wysiwyg * Update key * lock revert * zesty-io/core@1.6.8 Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * cleanup (#1740) * hotfix: zesty-io/core@1.6.9 * Group network errors by a custom fingerprint on sentry (#1762) * Group network errors by a custom fingerprint on sentry * Display Failed to fetch notification * Remove Atom video as it is no longer supported (#1770) * Schema start wizard (#1721) * Schema start wizard * Update config * revert package.json * remove comment * Remove ecommerce option; Add landing page main model name * remove discord link (#1791) * Refactor: Button components with loading state (#1787) * Refactor: Button components with loading state to use LoadingButton * Added loadingPosition start to all loading buttons with startIcon * fix: disable open resource button when no url can be created for the button action (#1778) * Render tags in sorted order (#1790) * Add keyboard shortcut to save settings (#1793) * task: created HOC that saves cursor position for mutated input values (#1815) * Feature/sso login (#1812) * functional login flow * add sso error * type message event * Update resolving of urls from audit items to use URI (#1819) * Update resolving of urls from audit items to use URI * remove console log --------- Co-authored-by: Carl Jacob Cruz <40680430+JacobDiazCruz@users.noreply.github.com> Co-authored-by: Andres <agalin920@gmail.com> Co-authored-by: Ryan Pals <ryan.pals@zesty.io> Co-authored-by: Stuart Runyan <shrunyan@gmail.com> Co-authored-by: Carl Cruz <carlcruz@192.168.254.104>
shrunyan
added a commit
that referenced
this pull request
Mar 15, 2023
* Schema shell, layout and crud * Schema nav and model fields view * Model header * Task: Schema field items (#1695) * task: add icons * task: updated field style * task: updated field icons * task: updated icon list & show/hide drag icon * task: moved field to it's own folder & added field icon component * task: removed unused files * task: added copy zuid button * task: added copy zuid functionality * task: updated field styles and added roboto mono font * task: removed unused css * Task: Create Schema Field Modal (#1704) * task: add icons * task: updated field style * task: updated field icons * task: created skeleton modal * Task: added search input * task: updated search style * task: updated icon list & show/hide drag icon * task: updated logic to render the list * task: moved field to it's own folder & added field icon component * task: removed unused files * task: added copy zuid button * task: added copy zuid functionality * task: added option for static field & updated style for the modal field list * task: added field click handler * task: updated field styles and added roboto mono font * task: removed unused css * task: removed unused props * task: created new component for field creation modal item * task: created popover base * task: created tooltip component & updated field data * task: updated tooltip body style and layout * task: added map key * task: updated article writer short description * Task: Added generic icon for old field types (#1706) * task: added generic icon for old field types * task: removed unused icon * Add field in between fields; disable re-orders when filtered * Update activity log tabs to look well with new tab theme design * Update tab icons * Sidebar navigation update to seperate headless * Fields list sidebar * Drag updates; All Model nav * Schema: Field reference copy (#1716) * task: added copy field name button * task: added field name copied indicator and maxwidths for the button and field label * task: added width limitations to prevent text overlap on small screens * task: changed to noWrap * task: fixed layout issues for long field names and added tooltip * Schema: Field Creation Tabs & Field Search (#1712) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * Schema: Single Text creation (#1722) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: added single text creation fields * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * task: add logic to get field data * task: added logic to show/hide validation error msg * task: integrate rtk query for creating a field * task: fixed fields list not refreshing on new field add * task: add logic to prevent re-using field name * task: close modal on field creation successful * task: added comments * Task: Search fields no results (#1732) * task: updated old no search results svg * task: added no search results state * task: made a reusable component for no search results * task: update logic of showing the no search results, list and no fields notif * task: updated padding * Task: Edit Single Text Field (#1731) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: added single text creation fields * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * task: add logic to get field data * task: added logic to show/hide validation error msg * task: integrate rtk query for creating a field * task: fixed fields list not refreshing on new field add * task: add logic to prevent re-using field name * task: close modal on field creation successful * task: added comments * task: added menu dropdown * task: add edit field modal * task: move fields query to modal and added get field data rtk query * task: pre-fill form value and added new types * task: make sure model header tabs are loaded properly when edit field modal is open * task: integrate rtk query to update field & cache invalidation * task: dynamic modal header text * task: added loading indicator * task: added loading button * task: update comment * task: use direct url push when closing edit modal * task: removed get field data rtk query * task: add functionality to add field at the end of model * Revert "task: add functionality to add field at the end of model" This reverts commit e0ad1af. * task: wire add f ield at end of model (#1743) * Schema: Markdown, Multiline Text, WYSIWYG creation/update & several other changes (#1735) * chore: removed some comments * task: added config for textarea, wysiwyg and markdown * task: updated error validation logic * task: removed duplicate field menu item * Add sort queue * task: wire up add another field button (#1758) * task: wire up copy zuid button (#1759) * All models and search views * exit search * improve term logic * Schema: In-between field creation (#1764) * task: add ability to pass custom sort order index during field creation * task: bulk resort on new field creation * task: add logic to defer fields refetch until bulk resort is done * task: reset sort index on modal close * task: update sortIndex increment logic when creating another field * task: do not invalidate cache when creating an in-between field * task: fixed field list not rerendering after field update * task: removed comment * Schema: Character length validation for field name and label (#1771) * task: add maxLength variable and created const to store status sortIndex * task: refactor error message logic * task: added maxlength validation * Schema: Field Create/Update for multiple field types (#1767) * task: added external link fields and css fixes * task: resize menu button * task: added field create/update flow for date, datetime and number * task: removed unused imports * Model creation * ts fix * Add list checkbox * directive update * Added All Models Empty State View (#1773) * Added: AllModelsEmptyState component * Hotfix: heading title * auto navigate to newly created model * use inpu maxlength limiter * Schema: Single and Multi relationship flow (#1782) * task: update to grid system for form layout * task: create one to one relationship field * task: update single relationship field * task: create/update multi relationship field * task: removed unused function * task: make sure parsley ref is lowercase * task: use autocomplete for single and multi rel fields * task: disable field when fetching data * Schema fields empty state (#1775) * Added: FieldEmptyState component * Update: empty state guide links * All models no search result (#1780) * Added: no search result UI for all models * Fixed: all models empty search action and table height * Remove: state update on search focus * Fixed: schema sidebar search focus * Remove variable and added element type * rename model updates * move common maps to utils * organize schema utils * File reorg * Update rename reference name copy * Fitler out deactivated fields from duplicate model * Schema: Field modal design update (#1786) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * task: simplified how data is taken for the learn tab * task: fixed ts error * Schema: Dropdown, color, currency, uuid, internal link and sort order field creation/update (#1797) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * task: added dropdown options * task: convert key value to snakecase and auto update key when value changes * task: add delete option function * task: add field spacing * task: pass options to parent and hide delete icon when there's only 1 option * task: refactor validation logic * task: comments * task: simplified how data is taken for the learn tab * task: use textfield instead of inputbase * task: style update * task: update error setting logic * task: update how error messages are rendered in options * task: error message copy update * task: add functionality to create a dropdown field * task: add update dropdown field functionality * task: removed unused imports * task: fixed bug with data render loop * task: fixed ts errors * task: fixed ts error * task: fixed ts errors * task: added config for uuid, color, currency, sort and internal url * task: added config for uuid and currency * task: update copy for sort order * task: fixed ts error * Schema: Field dropdown menu Deactivate/Reactivate field (#1803) * task: separate deactivated fields, create rtk query to reactivate fields * task: dynamic styling for the deactivated field * task: add deactivate and reactivate field function * task: added note when no active fields are present. * task: added comments * task: added loading indicator when deleting or undeleting fields * task: disable edit field button when field is deactivated * task: trigger notification on success * task: only bulk update active fields sort on inbetween field creation * Added: field info tooltips (#1799) * Added: field info tooltips (#1799) * Added: field info tooltips (#1799) * Schema: Boolean field creation/update (#1806) * task: added config for toggle * task: disable auto update key * Schema: Legacy fields support & field list fix (#1810) * task: added config for the legacy fields * task: use generic icon for article writer * task: removed unused icon * task: removed unused icon import * task: added uuid category * task: fixed UI rendering logic * Schema: Error notifications, deactivate/reactivate field modal, focus detail tab on form error (#1813) * task: add notification message on field creation & update errors * task: update error msg * task: switch to details tab when user clicks done and there are form errors * task: wire deactivate/reactivate field in field update modal * Media field creation and update (#1795) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * Added: initial media rules component * Update: temporary media rules display * Update: media rules fields * Added: media item limit tooltip text * Added: media rules update handler and media fetch bins * Update: handle settings data update for media rules * Update: media item limit value * Update: useMediaRules hook to handle states and media groups * Update: formData value if rules are unchecked * Update: media rules checkbox event * Fixed: lock folder initial value * Fieldform cleanup * Fixed: data types * Fixed: unexpected no search results display on initial load * Remove: console log * Remove: custom media rules tab * Move: media fields to details tab * Added: default value for group_id * Refactor: fields styling * Fixed: update modal media fields * Fixed: min value for media item limit field * Remove: unused files * Refactor: media select folder autocomplete * Fixed: autocomplete render keys * Field form cleanup * Added: bin type * Re-added MediaRules and media rules hook * Updated: media rules folder autocomplete * Update: initial media rules values * Fixed: media rules remove selected folder * Remove comments * Fixed: bin groups state assignment * Remove unused types * task: separate config for details and rules tab * task: simplified rules tab data handling and field render * task: add tooltip * task: fixed app crashes when refreshing an open edit media field * task: added margin top * task: removed unused imports * task: removed unused methods and exports --------- Co-authored-by: Nar Cuenca <narc.ph@gmail.com> * Schema: Sync with master (#1821) * FIX: Added handling for empty csv file imports (#1644) * Update Insights table incorrect thumbnails (#1614) * Added: filename tooltip * Update: filename thumbnail display for xlsx, pdf, and csv * Update: thumbnail display for other file extensions * Change NameTooltip component to FilenameTooltip Co-authored-by: Andres <agalin920@gmail.com> * Fix undefined title on custom apps (#1658) * Fix undefined title on custom apps * couple of house keeping items Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * Fallback to first bin if no default bin present (#1657) * Block non image selection for favicon (#1616) * mature dashboard empty state (#1611) * mature dashboard empty state * padding update * update margin * fix: reset create items button when fieldmap is changed or a new file is imported: (#1679) * Only dispatch success action on 200 response (#1690) * Use Zoho embed URL (#1675) * Fixed: launch pad cards returning nan on undefined values (#1673) * Added: optional chain for options field to avoid undefined or null val (#1689) * Restore media filter pill height (#1659) * Fixed: dropdown icons position (#1598) Co-authored-by: Carl Cruz <carlcruz@192.168.254.104> * Fix: Check if binData exists before file upload (#1705) * fix: check if binData exists * task: disable upload button when binData is not loaded * task: disable upload button when binData is loading * Change warning message to not access undefined variable (#1700) * AI content text fields (#1724) * Ai content text fields * lock update * messaging update * task: added checking if attr object has any content (#1726) * Fixed: URL error when meta doesnt have a url field (#1738) * Fixed: URL error when meta doesnt have a url field * Hotfix: resource table click function * API Request batcher and bulk endpoint implementation for media multi move and delete (#1672) * API Request batcher and bulk endpoint implementation for media multi move and delete * disable close when loading * Remove limit tesxt * Update api middleware to return a promise to diplicate requests (#1696) * add: testing hooks * Fix Metrics app crash when backend reports that no requests were served (#1753) * Add AI on article writer, markdown, wysiwyg (#1750) * Add AI on article writer, markdown, wysiwyg * Update key * lock revert * zesty-io/core@1.6.8 Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * cleanup (#1740) * hotfix: zesty-io/core@1.6.9 * Group network errors by a custom fingerprint on sentry (#1762) * Group network errors by a custom fingerprint on sentry * Display Failed to fetch notification * Remove Atom video as it is no longer supported (#1770) * Schema start wizard (#1721) * Schema start wizard * Update config * revert package.json * remove comment * Remove ecommerce option; Add landing page main model name * remove discord link (#1791) * Refactor: Button components with loading state (#1787) * Refactor: Button components with loading state to use LoadingButton * Added loadingPosition start to all loading buttons with startIcon * fix: disable open resource button when no url can be created for the button action (#1778) * Render tags in sorted order (#1790) * Add keyboard shortcut to save settings (#1793) * task: created HOC that saves cursor position for mutated input values (#1815) * Feature/sso login (#1812) * functional login flow * add sso error * type message event * Update resolving of urls from audit items to use URI (#1819) * Update resolving of urls from audit items to use URI * remove console log --------- Co-authored-by: Carl Jacob Cruz <40680430+JacobDiazCruz@users.noreply.github.com> Co-authored-by: Andres <agalin920@gmail.com> Co-authored-by: Ryan Pals <ryan.pals@zesty.io> Co-authored-by: Stuart Runyan <shrunyan@gmail.com> Co-authored-by: Carl Cruz <carlcruz@192.168.254.104> * Schema: System fields and withCursorPosition HOC (#1822) * task: add system fields switch * task: added basic structure when system fields are enabled * task: added system fields and made field component support user and system fields * task: layout fix * task: updated error * task: used withCursorPosition HOC to mutated input fields * empty state sizing updates * Add info alert to duplicate * center fields empty state * use with cursor position on model creation * copy zuid * Schema: Open edit field modal on field click (#1817) * task: updated field cursor hover and stop click propagation * task: open edit field modal on field click * task: fixed event propagation and update url errors * Schema: All Models filter by model type (#1823) * task: added basic structure of filters * task: add filter dropdown function * task: dynamic button based on filter status * task: moved hooks folder to components root dir * task: added filters reducer * task: add filter logic * task: added filter logic for other filters * task: added reusable flterbase component * task: rename component * task: use filterbutton component for lastupdate and people filters * task: fixed height issue * task: removed unused imports * task: removed todo * Schema: All models filter by user (#1824) * task: added basic structure of filters * task: add filter dropdown function * task: dynamic button based on filter status * task: moved hooks folder to components root dir * task: added filters reducer * task: add filter logic * task: added filter logic for other filters * task: added reusable flterbase component * task: rename component * task: use filterbutton component for lastupdate and people filters * task: fixed height issue * task: removed unused imports * task: removed todo * task: added user type and updated getUsers type * task: added filter logic * task: added user filter menu item * task: made no results component reusable * task: moved UserFilter and FilterButton to shell/components * task: renamed props * task: cleanup * task: changed value type for filters * Model info tab * search fixes * Schema: All Models filter by last updated date (#1826) * task: setup basic date filter structure * task: added date filter full function * task: made filters more re-usable * task: added filter logic * task: auto highlight already selected date on calendar and prevent calendar picker from auto-closing when year is changed * Models sidebar empty state * directive fix * Add tab naming * Update cache invalidation for web views * Schema: Tooltip fields support (#1828) * task: add support for tooltip field * task: fixed tooltip field disappears when value is deleted * task: show notification when related model or locked folder has been deleted (#1829) * Schem: Persist system fields (#1845) * task: don't render edit in code button for headless models * task: don't render create button for globals and clippings * task: remove hover effect on system fields * task: persist system field status * task: update to useLocalStorage hook * task: change default system field state to false * remove double border on focus fields * All models sort update * redirect schema new to all models * update search fields to have grey background * border radius update * update icon sizes * update sidebar width * side bar updates * Update All models header height * extend all models table * Schema: VQA round1 fixes (#1858) * task: don't render edit in code button for headless models * task: don't render create button for globals and clippings * task: vqa fixes for field selection * task: field updates * task: doc links spacing and size * task: field form fixes * Adjust header column * Add another field button updates * update to auto overflowY * remove borders on grey input * rename modal copy update * No models padding update * variant update * Duplicate model updates * reference name to reference id across schema * Field list spacing updates * Schema: Field type filter update & document title update (#1863) * task: allow field selection filter via media keywords * task: update global tabs to use rtk query models result to show correct model name * task: add conditions for setting doc title * Schema: Fields Cypress tests (#1832) * task: added new field file * task: initial tests setup * task: added end of list and modal tab switch tests * task: error message test * task: field selection tests * task: add another field test * task: dropdown field test * task: media field test * task: boolean field test * task: one to one field test * task: field list filter test * task: update field test * task: deactivate/reactivate field test * task: system fields test * task: replace old field spec file with new one * fixed merge conflicts * Schema: VQA round2 fixes (#1864) * task: add .idea to .gitignore * task: added bottom margins * task: removed unused file * use 0.6.2 material package * firefox fix * Update placeholder * task: added scrollBehavior on button click * task: reactivate button fix * task: updated deactivated fields spacing and prevent opening of field update modal on menu dropdown click out (#1869) * Update the way related models are calculated * remove logs * comment out documentation * Handle field creation of fields with no list key * Change copy from Update to Edit * Change copy from Update to Edit * Change copy from Update to Edit * Change copy from Update to Edit * replace all non word characters * Model info spacing updates * Button truncation * tab size change * Add activity log link * Fullscreen modal margins * Model not found state * check for invalid model on fetch * Schema: Bug and VQA fixes (#1886) * task: updated how update modal is being rendered * task: close menu dropdown on edit modal open * task: enable arrow keys on user filter * task: model filter behavior fix * task: vqa round 2 fixes * task: updated edit field routing * task: updated user filter button text * task: make checkboxes checked by default * model tests * additional model tests * Support create schema accelerator on dashboard * Filter out dataset models from parent model selectors * Schema: Modal height and deactivated field fix (#1896) * task: updated how update modal is being rendered * task: close menu dropdown on edit modal open * task: enable arrow keys on user filter * task: model filter behavior fix * task: vqa round 2 fixes * task: updated edit field routing * task: updated user filter button text * task: make checkboxes checked by default * task: updated modal height for fields * task: do not open edit field modal on deactivated field click * task: updated modal height * task: added min-height for field form body * Modify content icons to match new model icons * bump zesty packages * Schema: User filter update (#1897) * task: autofocus search field on component mount * task: sort user firstname by asc * task: allow default button text override * task: sticky search filter * task: added no users notif when search has no matches * task: added no users notice when filter has no matches * Schema: System field text, button spacing, model scroll fix (#1908) * chore: zesty material version bump * task: auto scroll to selected model on model list * task: system fields copy update * task: adjust add another field button spacing * task: global tab link remove underline on hover * task: remove datagrid cell focus outline * task: moved cell and header outline on focus to theme * Schema: Autofocus related model field & prevent referencing own model (#1909) * fix: filter current model from the related model zuid dropdown * task: only auto check list * task: dynamic autofocus field config * task: updated at date format (#1910) * bump material version * Sort model parents * lowercase check * Schema API tab * layout updates * Body2 links * Add View content button * remove pointer events from chip * bump material version * Add headless switcher * support schema start path * remove old schema app * test update * Update tooltip position --------- Co-authored-by: Nar Cuenca <28705606+theofficialnar@users.noreply.github.com> Co-authored-by: Nar Cuenca <narc.ph@gmail.com> Co-authored-by: Carl Jacob Cruz <40680430+JacobDiazCruz@users.noreply.github.com> Co-authored-by: Ryan Pals <ryan.pals@zesty.io> Co-authored-by: Stuart Runyan <shrunyan@gmail.com> Co-authored-by: Carl Cruz <carlcruz@192.168.254.104>
shrunyan
added a commit
that referenced
this pull request
Mar 20, 2023
* Schema shell, layout and crud * Schema nav and model fields view * Model header * Task: Schema field items (#1695) * task: add icons * task: updated field style * task: updated field icons * task: updated icon list & show/hide drag icon * task: moved field to it's own folder & added field icon component * task: removed unused files * task: added copy zuid button * task: added copy zuid functionality * task: updated field styles and added roboto mono font * task: removed unused css * Task: Create Schema Field Modal (#1704) * task: add icons * task: updated field style * task: updated field icons * task: created skeleton modal * Task: added search input * task: updated search style * task: updated icon list & show/hide drag icon * task: updated logic to render the list * task: moved field to it's own folder & added field icon component * task: removed unused files * task: added copy zuid button * task: added copy zuid functionality * task: added option for static field & updated style for the modal field list * task: added field click handler * task: updated field styles and added roboto mono font * task: removed unused css * task: removed unused props * task: created new component for field creation modal item * task: created popover base * task: created tooltip component & updated field data * task: updated tooltip body style and layout * task: added map key * task: updated article writer short description * Task: Added generic icon for old field types (#1706) * task: added generic icon for old field types * task: removed unused icon * Add field in between fields; disable re-orders when filtered * Update activity log tabs to look well with new tab theme design * Update tab icons * Sidebar navigation update to seperate headless * Fields list sidebar * Drag updates; All Model nav * Schema: Field reference copy (#1716) * task: added copy field name button * task: added field name copied indicator and maxwidths for the button and field label * task: added width limitations to prevent text overlap on small screens * task: changed to noWrap * task: fixed layout issues for long field names and added tooltip * Schema: Field Creation Tabs & Field Search (#1712) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * Schema: Single Text creation (#1722) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: added single text creation fields * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * task: add logic to get field data * task: added logic to show/hide validation error msg * task: integrate rtk query for creating a field * task: fixed fields list not refreshing on new field add * task: add logic to prevent re-using field name * task: close modal on field creation successful * task: added comments * Task: Search fields no results (#1732) * task: updated old no search results svg * task: added no search results state * task: made a reusable component for no search results * task: update logic of showing the no search results, list and no fields notif * task: updated padding * Task: Edit Single Text Field (#1731) * task: added component for new field form * task: Add back to fields list function * task: fixed dialog content padding * task: added option for field icon custom sizes * task: created helper function to find out if first letter is a vowel * task: moved components to views folders * task: added tabs and dialog actions * task: added tooltip show delay * task: add field filter logic * task: moved divider color to theme, modal render handled by condition, modal made to fullscreen with margins, moved onback logic to parent component * task: added single text creation fields * task: replaced vh padding and added maxHeight * task: field sort and icon update * task: spacing updates * task: moved search fields to title bar * task: fixed dialog content padding * task: add logic to get field data * task: added logic to show/hide validation error msg * task: integrate rtk query for creating a field * task: fixed fields list not refreshing on new field add * task: add logic to prevent re-using field name * task: close modal on field creation successful * task: added comments * task: added menu dropdown * task: add edit field modal * task: move fields query to modal and added get field data rtk query * task: pre-fill form value and added new types * task: make sure model header tabs are loaded properly when edit field modal is open * task: integrate rtk query to update field & cache invalidation * task: dynamic modal header text * task: added loading indicator * task: added loading button * task: update comment * task: use direct url push when closing edit modal * task: removed get field data rtk query * task: add functionality to add field at the end of model * Revert "task: add functionality to add field at the end of model" This reverts commit e0ad1af. * task: wire add f ield at end of model (#1743) * Schema: Markdown, Multiline Text, WYSIWYG creation/update & several other changes (#1735) * chore: removed some comments * task: added config for textarea, wysiwyg and markdown * task: updated error validation logic * task: removed duplicate field menu item * Add sort queue * task: wire up add another field button (#1758) * task: wire up copy zuid button (#1759) * All models and search views * exit search * improve term logic * Schema: In-between field creation (#1764) * task: add ability to pass custom sort order index during field creation * task: bulk resort on new field creation * task: add logic to defer fields refetch until bulk resort is done * task: reset sort index on modal close * task: update sortIndex increment logic when creating another field * task: do not invalidate cache when creating an in-between field * task: fixed field list not rerendering after field update * task: removed comment * Schema: Character length validation for field name and label (#1771) * task: add maxLength variable and created const to store status sortIndex * task: refactor error message logic * task: added maxlength validation * Schema: Field Create/Update for multiple field types (#1767) * task: added external link fields and css fixes * task: resize menu button * task: added field create/update flow for date, datetime and number * task: removed unused imports * Model creation * ts fix * Add list checkbox * directive update * Added All Models Empty State View (#1773) * Added: AllModelsEmptyState component * Hotfix: heading title * auto navigate to newly created model * use inpu maxlength limiter * Schema: Single and Multi relationship flow (#1782) * task: update to grid system for form layout * task: create one to one relationship field * task: update single relationship field * task: create/update multi relationship field * task: removed unused function * task: make sure parsley ref is lowercase * task: use autocomplete for single and multi rel fields * task: disable field when fetching data * Schema fields empty state (#1775) * Added: FieldEmptyState component * Update: empty state guide links * All models no search result (#1780) * Added: no search result UI for all models * Fixed: all models empty search action and table height * Remove: state update on search focus * Fixed: schema sidebar search focus * Remove variable and added element type * rename model updates * move common maps to utils * organize schema utils * File reorg * Update rename reference name copy * Fitler out deactivated fields from duplicate model * Schema: Field modal design update (#1786) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * task: simplified how data is taken for the learn tab * task: fixed ts error * Schema: Dropdown, color, currency, uuid, internal link and sort order field creation/update (#1797) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * task: added dropdown options * task: convert key value to snakecase and auto update key when value changes * task: add delete option function * task: add field spacing * task: pass options to parent and hide delete icon when there's only 1 option * task: refactor validation logic * task: comments * task: simplified how data is taken for the learn tab * task: use textfield instead of inputbase * task: style update * task: update error setting logic * task: update how error messages are rendered in options * task: error message copy update * task: add functionality to create a dropdown field * task: add update dropdown field functionality * task: removed unused imports * task: fixed bug with data render loop * task: fixed ts errors * task: fixed ts error * task: fixed ts errors * task: added config for uuid, color, currency, sort and internal url * task: added config for uuid and currency * task: update copy for sort order * task: fixed ts error * Schema: Field dropdown menu Deactivate/Reactivate field (#1803) * task: separate deactivated fields, create rtk query to reactivate fields * task: dynamic styling for the deactivated field * task: add deactivate and reactivate field function * task: added note when no active fields are present. * task: added comments * task: added loading indicator when deleting or undeleting fields * task: disable edit field button when field is deactivated * task: trigger notification on success * task: only bulk update active fields sort on inbetween field creation * Added: field info tooltips (#1799) * Added: field info tooltips (#1799) * Added: field info tooltips (#1799) * Schema: Boolean field creation/update (#1806) * task: added config for toggle * task: disable auto update key * Schema: Legacy fields support & field list fix (#1810) * task: added config for the legacy fields * task: use generic icon for article writer * task: removed unused icon * task: removed unused icon import * task: added uuid category * task: fixed UI rendering logic * Schema: Error notifications, deactivate/reactivate field modal, focus detail tab on form error (#1813) * task: add notification message on field creation & update errors * task: update error msg * task: switch to details tab when user clicks done and there are form errors * task: wire deactivate/reactivate field in field update modal * Media field creation and update (#1795) * task: add icons on tabs * task: different button layout for creating and updating fields * task: moved fields list config to a separate file * task: updated copy * task: update header text * task: update coming soon design * task: add deactivate field button on edit field * task: populate learn tab * task: resize padding for modal * task: update inline add field button style * task: combined config * task: add subheader text to field copy config * task: move form config to configs file * task: added tooltip info * task: different width for form and fields list * task: set max width for the input fields * Added: initial media rules component * Update: temporary media rules display * Update: media rules fields * Added: media item limit tooltip text * Added: media rules update handler and media fetch bins * Update: handle settings data update for media rules * Update: media item limit value * Update: useMediaRules hook to handle states and media groups * Update: formData value if rules are unchecked * Update: media rules checkbox event * Fixed: lock folder initial value * Fieldform cleanup * Fixed: data types * Fixed: unexpected no search results display on initial load * Remove: console log * Remove: custom media rules tab * Move: media fields to details tab * Added: default value for group_id * Refactor: fields styling * Fixed: update modal media fields * Fixed: min value for media item limit field * Remove: unused files * Refactor: media select folder autocomplete * Fixed: autocomplete render keys * Field form cleanup * Added: bin type * Re-added MediaRules and media rules hook * Updated: media rules folder autocomplete * Update: initial media rules values * Fixed: media rules remove selected folder * Remove comments * Fixed: bin groups state assignment * Remove unused types * task: separate config for details and rules tab * task: simplified rules tab data handling and field render * task: add tooltip * task: fixed app crashes when refreshing an open edit media field * task: added margin top * task: removed unused imports * task: removed unused methods and exports --------- Co-authored-by: Nar Cuenca <narc.ph@gmail.com> * Schema: Sync with master (#1821) * FIX: Added handling for empty csv file imports (#1644) * Update Insights table incorrect thumbnails (#1614) * Added: filename tooltip * Update: filename thumbnail display for xlsx, pdf, and csv * Update: thumbnail display for other file extensions * Change NameTooltip component to FilenameTooltip Co-authored-by: Andres <agalin920@gmail.com> * Fix undefined title on custom apps (#1658) * Fix undefined title on custom apps * couple of house keeping items Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * Fallback to first bin if no default bin present (#1657) * Block non image selection for favicon (#1616) * mature dashboard empty state (#1611) * mature dashboard empty state * padding update * update margin * fix: reset create items button when fieldmap is changed or a new file is imported: (#1679) * Only dispatch success action on 200 response (#1690) * Use Zoho embed URL (#1675) * Fixed: launch pad cards returning nan on undefined values (#1673) * Added: optional chain for options field to avoid undefined or null val (#1689) * Restore media filter pill height (#1659) * Fixed: dropdown icons position (#1598) Co-authored-by: Carl Cruz <carlcruz@192.168.254.104> * Fix: Check if binData exists before file upload (#1705) * fix: check if binData exists * task: disable upload button when binData is not loaded * task: disable upload button when binData is loading * Change warning message to not access undefined variable (#1700) * AI content text fields (#1724) * Ai content text fields * lock update * messaging update * task: added checking if attr object has any content (#1726) * Fixed: URL error when meta doesnt have a url field (#1738) * Fixed: URL error when meta doesnt have a url field * Hotfix: resource table click function * API Request batcher and bulk endpoint implementation for media multi move and delete (#1672) * API Request batcher and bulk endpoint implementation for media multi move and delete * disable close when loading * Remove limit tesxt * Update api middleware to return a promise to diplicate requests (#1696) * add: testing hooks * Fix Metrics app crash when backend reports that no requests were served (#1753) * Add AI on article writer, markdown, wysiwyg (#1750) * Add AI on article writer, markdown, wysiwyg * Update key * lock revert * zesty-io/core@1.6.8 Co-authored-by: Stuart Runyan <shrunyan@gmail.com> * cleanup (#1740) * hotfix: zesty-io/core@1.6.9 * Group network errors by a custom fingerprint on sentry (#1762) * Group network errors by a custom fingerprint on sentry * Display Failed to fetch notification * Remove Atom video as it is no longer supported (#1770) * Schema start wizard (#1721) * Schema start wizard * Update config * revert package.json * remove comment * Remove ecommerce option; Add landing page main model name * remove discord link (#1791) * Refactor: Button components with loading state (#1787) * Refactor: Button components with loading state to use LoadingButton * Added loadingPosition start to all loading buttons with startIcon * fix: disable open resource button when no url can be created for the button action (#1778) * Render tags in sorted order (#1790) * Add keyboard shortcut to save settings (#1793) * task: created HOC that saves cursor position for mutated input values (#1815) * Feature/sso login (#1812) * functional login flow * add sso error * type message event * Update resolving of urls from audit items to use URI (#1819) * Update resolving of urls from audit items to use URI * remove console log --------- Co-authored-by: Carl Jacob Cruz <40680430+JacobDiazCruz@users.noreply.github.com> Co-authored-by: Andres <agalin920@gmail.com> Co-authored-by: Ryan Pals <ryan.pals@zesty.io> Co-authored-by: Stuart Runyan <shrunyan@gmail.com> Co-authored-by: Carl Cruz <carlcruz@192.168.254.104> * Schema: System fields and withCursorPosition HOC (#1822) * task: add system fields switch * task: added basic structure when system fields are enabled * task: added system fields and made field component support user and system fields * task: layout fix * task: updated error * task: used withCursorPosition HOC to mutated input fields * empty state sizing updates * Add info alert to duplicate * center fields empty state * use with cursor position on model creation * copy zuid * Schema: Open edit field modal on field click (#1817) * task: updated field cursor hover and stop click propagation * task: open edit field modal on field click * task: fixed event propagation and update url errors * Schema: All Models filter by model type (#1823) * task: added basic structure of filters * task: add filter dropdown function * task: dynamic button based on filter status * task: moved hooks folder to components root dir * task: added filters reducer * task: add filter logic * task: added filter logic for other filters * task: added reusable flterbase component * task: rename component * task: use filterbutton component for lastupdate and people filters * task: fixed height issue * task: removed unused imports * task: removed todo * Schema: All models filter by user (#1824) * task: added basic structure of filters * task: add filter dropdown function * task: dynamic button based on filter status * task: moved hooks folder to components root dir * task: added filters reducer * task: add filter logic * task: added filter logic for other filters * task: added reusable flterbase component * task: rename component * task: use filterbutton component for lastupdate and people filters * task: fixed height issue * task: removed unused imports * task: removed todo * task: added user type and updated getUsers type * task: added filter logic * task: added user filter menu item * task: made no results component reusable * task: moved UserFilter and FilterButton to shell/components * task: renamed props * task: cleanup * task: changed value type for filters * Model info tab * search fixes * Schema: All Models filter by last updated date (#1826) * task: setup basic date filter structure * task: added date filter full function * task: made filters more re-usable * task: added filter logic * task: auto highlight already selected date on calendar and prevent calendar picker from auto-closing when year is changed * Models sidebar empty state * directive fix * Add tab naming * Update cache invalidation for web views * Schema: Tooltip fields support (#1828) * task: add support for tooltip field * task: fixed tooltip field disappears when value is deleted * task: show notification when related model or locked folder has been deleted (#1829) * Schem: Persist system fields (#1845) * task: don't render edit in code button for headless models * task: don't render create button for globals and clippings * task: remove hover effect on system fields * task: persist system field status * task: update to useLocalStorage hook * task: change default system field state to false * remove double border on focus fields * All models sort update * redirect schema new to all models * update search fields to have grey background * border radius update * update icon sizes * update sidebar width * side bar updates * Update All models header height * extend all models table * Schema: VQA round1 fixes (#1858) * task: don't render edit in code button for headless models * task: don't render create button for globals and clippings * task: vqa fixes for field selection * task: field updates * task: doc links spacing and size * task: field form fixes * Adjust header column * Add another field button updates * update to auto overflowY * remove borders on grey input * rename modal copy update * No models padding update * variant update * Duplicate model updates * reference name to reference id across schema * Field list spacing updates * Schema: Field type filter update & document title update (#1863) * task: allow field selection filter via media keywords * task: update global tabs to use rtk query models result to show correct model name * task: add conditions for setting doc title * Schema: Fields Cypress tests (#1832) * task: added new field file * task: initial tests setup * task: added end of list and modal tab switch tests * task: error message test * task: field selection tests * task: add another field test * task: dropdown field test * task: media field test * task: boolean field test * task: one to one field test * task: field list filter test * task: update field test * task: deactivate/reactivate field test * task: system fields test * task: replace old field spec file with new one * fixed merge conflicts * Schema: VQA round2 fixes (#1864) * task: add .idea to .gitignore * task: added bottom margins * task: removed unused file * use 0.6.2 material package * firefox fix * Update placeholder * task: added scrollBehavior on button click * task: reactivate button fix * task: updated deactivated fields spacing and prevent opening of field update modal on menu dropdown click out (#1869) * Update the way related models are calculated * remove logs * comment out documentation * Handle field creation of fields with no list key * Change copy from Update to Edit * Change copy from Update to Edit * Change copy from Update to Edit * Change copy from Update to Edit * replace all non word characters * Model info spacing updates * Button truncation * tab size change * Add activity log link * Fullscreen modal margins * Model not found state * check for invalid model on fetch * Schema: Bug and VQA fixes (#1886) * task: updated how update modal is being rendered * task: close menu dropdown on edit modal open * task: enable arrow keys on user filter * task: model filter behavior fix * task: vqa round 2 fixes * task: updated edit field routing * task: updated user filter button text * task: make checkboxes checked by default * model tests * additional model tests * Support create schema accelerator on dashboard * Filter out dataset models from parent model selectors * Schema: Modal height and deactivated field fix (#1896) * task: updated how update modal is being rendered * task: close menu dropdown on edit modal open * task: enable arrow keys on user filter * task: model filter behavior fix * task: vqa round 2 fixes * task: updated edit field routing * task: updated user filter button text * task: make checkboxes checked by default * task: updated modal height for fields * task: do not open edit field modal on deactivated field click * task: updated modal height * task: added min-height for field form body * Modify content icons to match new model icons * bump zesty packages * Schema: User filter update (#1897) * task: autofocus search field on component mount * task: sort user firstname by asc * task: allow default button text override * task: sticky search filter * task: added no users notif when search has no matches * task: added no users notice when filter has no matches * Schema: System field text, button spacing, model scroll fix (#1908) * chore: zesty material version bump * task: auto scroll to selected model on model list * task: system fields copy update * task: adjust add another field button spacing * task: global tab link remove underline on hover * task: remove datagrid cell focus outline * task: moved cell and header outline on focus to theme * Schema: Autofocus related model field & prevent referencing own model (#1909) * fix: filter current model from the related model zuid dropdown * task: only auto check list * task: dynamic autofocus field config * task: updated at date format (#1910) * bump material version * Sort model parents * lowercase check * Schema Activity Log: Convert ActionsTimeline to tsx (#1870) * task: convert ActionsTimeline to tsx * task: import order * task: convert actionsbyusers to tsx and added types * task: convert filters to tsx * Schema API tab * layout updates * Body2 links * Add View content button * remove pointer events from chip * bump material version * Schema Activity Log: Build activity log content (#1914) * task: convert ActionsTimeline to tsx * task: import order * task: convert actionsbyusers to tsx and added types * task: convert filters to tsx * task: add activity log tab * task: added content for activity log * task: fix component spacing * task: add overridable height offset * chore: removed unncessarry skip * task: added comment for next step on filters * task: added empty state * task: added autosizer * Add headless switcher * support schema start path * remove old schema app * test update * Schema Activity Log: Daterange, user filter and generic filter (#1918) * task: convert ActionsTimeline to tsx * task: import order * task: convert actionsbyusers to tsx and added types * task: convert filters to tsx * task: add activity log tab * task: added content for activity log * task: fix component spacing * task: add overridable height offset * chore: removed unncessarry skip * task: added comment for next step on filters * task: add daterange calendar type * task: bumped mui base and mui datepicker pro versions and fixed breaking changes * task: removed date range * task: removed unused type * task: created reusable daterange filter * task: added overrideable button text * task: moved user options fetching to parent component * task: use the reusable UserFilter * task: override button text * task: override button text * task: generic filter * task: removed unused prop * Update tooltip position * Schema Activity Log: Updated remaining filters, updated daterange design (#1921) * task: convert old filters * task: close model on date select * task: daterange filter reset * fix: incorrect user zuid * task: layout update * chore: removed comment * Schema Activity Log: Cypress test updates (#1924) * task: fixed broken cypress tests * task: fixed broken cypress tests * task: added schema activity log test * fix: minor spacing fixes (#1927) --------- Co-authored-by: Andres <agalin920@gmail.com> Co-authored-by: Carl Jacob Cruz <40680430+JacobDiazCruz@users.noreply.github.com> Co-authored-by: Ryan Pals <ryan.pals@zesty.io> Co-authored-by: Stuart Runyan <shrunyan@gmail.com> Co-authored-by: Carl Cruz <carlcruz@192.168.254.104>
This was referenced Mar 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resets the disabled state of the Create Items button on new file upload and csv settings update.
Screencast.from.2023-01-03.09-39-46.webm