Commit Graph

1351 Commits

Author SHA1 Message Date
Andrew Kingston a04f58dd23 Fix crash when deleting a selected side panel component 2022-11-23 12:33:31 +00:00
Andrew Kingston 9ec58ca401 Use the new DOM ID method of determining the correct DOM node for a component 2022-11-23 12:32:40 +00:00
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
Andrew Kingston 170b8c4d61 Fix multiple issues with showing/hiding side panels inside the builder preview and dragging components inside side panel 2022-11-22 16:45:15 +00:00
Andrew Kingston c72b7807ca Prevent automatically closing side panels via an outside click when inside the builder 2022-11-22 16:44:35 +00:00
Andrew Kingston 7d06e59fb7 Make dndIsDragging available through SDK context 2022-11-22 16:43:48 +00:00
Andrew Kingston be3a004310 Fix side panel messing up builder preview scrolling and properly show/hide side panel when inside builder 2022-11-22 16:00:17 +00:00
Andrew Kingston c868cda7dd Remove automatic closing of side panel when screen changes as no longer needed 2022-11-22 15:51:57 +00:00
Andrew Kingston 43c5ddfe5f Fix side panel not scrolling properly 2022-11-22 15:49:11 +00:00
Mel O'Hagan f1c6d15999 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
deanhannigan 3dbea26407 Merge pull request #8714 from Budibase/feature/delete-and-duplicate-component-actions
Show settings bar for all components
2022-11-21 16:01:24 +00:00
mike12345567 cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
Mel O'Hagan ba5116e6bc Handle original mappings 2022-11-21 15:02:44 +00:00
Andrew Kingston b71b5704da Use overlay side panel and update table block side panel heading 2022-11-21 11:05:06 +00:00
Mel O'Hagan 68d0a4c336 Allow custom labels for dynamic filter 2022-11-18 15:52:30 +00:00
Andrew Kingston 75ee5117ea Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
Dean a69bccae24 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
Andrew Kingston 539b6a8a96 Allow custom naming of components inside blocks for better ejection 2022-11-17 14:20:18 +00:00
Andrew Kingston 4e519d75b4 Ensure side panel ejection works properly and tidy up table block structure 2022-11-17 14:18:55 +00:00
Andrew Kingston 64828e3b06 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Dean c33e13fa4b Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00
Dean dd065c0f55 Component settings bar now on by default. Manifest config cleared of showSettingsBar properties 2022-11-17 11:08:23 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Andrew Kingston 1ab1329e49 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston 2b42b21b3a Add migration to automatically convert legacy table settings into new action setting 2022-11-15 11:54:45 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston 8b941df5ff Update tables to use button actions rather than link settings 2022-11-14 15:47:14 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Andrew Kingston 222f002039 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-14 13:24:47 +00:00
Gerard Burns e70710f7b9 Add Row Explorer Block (#8454)
* Add Row Explorer Block and Row Details Component

* PR Feedback

* adding showSaveButton prop to formblock in row explorer

* PR Feedback

* PR Feedback

* Change row explorer name in manifest

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-11-14 11:54:44 +00:00
Andrew Kingston 4c366114f0 Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston 2eeac325f3 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Andrew Kingston fb9dd20c11 Update side panel styles and ensure side panel properly reveals itself in the builder 2022-11-10 14:34:23 +00:00
Andrew Kingston ce4f8ef5f9 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-09 16:57:24 +00:00
Andrew Kingston 43b5c120b5 Refactor form block to use a different structure depending on type, and fix issue with bindings breaking and forms not appearing 2022-11-09 10:28:15 +00:00
Mel O'Hagan 32f7843e55 Check schema exists for default value 2022-11-04 18:50:47 +00:00
mike12345567 04f1f983e4 Fix to allow close screen modal without navigating to a new page. 2022-11-03 13:23:29 +00:00
mike12345567 d79fc356ea Fix for #8491 - auto generated screens use the form block now which had an issue with the close screen event not providing a URL. 2022-11-03 12:50:52 +00:00
Gerard Burns db26fce00b Fix Form Block Create Mode Bindings Causing Error When Ejected 2022-11-02 18:17:20 +00:00
Dean 85d562ca23 Moved array value parsing back into the inner form 2022-11-02 00:37:08 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Andrew Kingston 058547fd67 Add initial version of side panel component 2022-10-27 08:08:35 +01:00
Dean 5e61575e30 Refactored approach to parsing multiselect values and ensuring any parsed values trigger a field update 2022-10-26 15:13:27 +01:00
Andrew Kingston db55041c44 Slightly reduce DND padding between nested layers 2022-10-25 16:18:33 +01:00
Andrew Kingston cf7a4a4e6d Merge pull request #8376 from Budibase/cheeks-lab-day-grid
Grid component + builder performance improvements
2022-10-25 08:20:37 +01:00
Dean 72028b57ec Don't attempt to render the internal chart until a type has been set 2022-10-24 16:31:58 +01:00
Dean f4d3d99b9e Removed unnecessary block configuration elements 2022-10-24 16:21:08 +01:00
Andrew Kingston 729c4d082e Remove unnecessary code 2022-10-24 13:33:33 +01:00
Andrew Kingston c888b703dd Improve comments and namimg conventions 2022-10-24 13:32:48 +01:00
Andrew Kingston 1a37e1fc95 Remove some unnecessary code 2022-10-24 13:28:22 +01:00
Andrew Kingston 6615027403 Fix selection indicator appearing while dragging 2022-10-24 13:24:19 +01:00
Andrew Kingston 21cc815976 Allow padding on grids when using DND 2022-10-24 13:14:46 +01:00
Andrew Kingston ba1fe6db8a Remove some debug logging 2022-10-24 13:09:29 +01:00
Andrew Kingston 421708463a Add some additional styles to grids to ensure components render properly 2022-10-24 13:08:53 +01:00
Dean 2834a02ef4 Ensure chart axis labelling fits the current theme 2022-10-24 12:20:43 +01:00
Andrew Kingston 3951550074 Make grid rows and columns configurable and simplify grid style application 2022-10-24 12:05:59 +01:00
Andrew Kingston fb0866f0d9 Tidy up 2022-10-24 09:43:45 +01:00
Andrew Kingston c111f02e70 Improve client grid DND event handling 2022-10-24 09:38:07 +01:00
Andrew Kingston a11854d957 Fix issue with getting environment details 2022-10-24 09:13:05 +01:00
Andrew Kingston 32bac91dc7 Remove spam of environment API calls 2022-10-24 09:03:50 +01:00
Andrew Kingston ce78c5ecb9 Refactor app preview event sending to support async callbacks in client library 2022-10-24 09:02:50 +01:00
Andrew Kingston b26ab6f8b3 Fix flashing settings bar in stale position 2022-10-21 17:51:35 +01:00
Andrew Kingston 24cc71267c Fix stale hover indiciator 2022-10-21 17:51:25 +01:00
Andrew Kingston 4dc6b869a8 Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 794db1a7db Make DND feel much smoother by persisting the end position of drops, and more performance by properly memoizing some state values 2022-10-21 16:54:34 +01:00
Andrew Kingston 67b6821b37 Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Dean 952b6ddb30 Merge remote-tracking branch 'origin/develop' into feature/chart-block-component 2022-10-21 14:21:25 +01:00
Dean cdcfbc6dce Initial commit for chart block component 2022-10-21 14:20:40 +01:00
Andrew Kingston 358e5996f5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-21 10:59:47 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Martin McKeaveney 7d8d0f5026 Merge pull request #8307 from Budibase/fix/stop-screen-store-double-updating-on-page-change
Stop Screen Store Double Updating on Screen Change
2022-10-20 20:35:18 +01:00
Andrew Kingston 73a229b9ec Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston 2e09dcbe03 Ensure a fixed height is set on grid by default 2022-10-20 08:46:42 +01:00
Andrew Kingston 1dffcd8d6c Update how grid DND styles are applied to remove flashing 2022-10-20 08:43:33 +01:00
Andrew Kingston 9a94e9da7c Use a container as the DND placeholder and use approx size when dragging into grids 2022-10-19 14:39:28 +01:00
Andrew Kingston 645235be96 Fix resizing not working inside grids 2022-10-19 13:16:42 +01:00
Andrew Kingston a367863d43 Allow normal DND in and out of grid children 2022-10-18 18:49:24 +01:00
Andrew Kingston a870d2473d Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Dean 7ccf29bff7 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Andrew Kingston 15bbc78847 Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Dean 36307ccff7 Refactor for multiselect value parsing and a fix to ensure default values are parsed before reaching the picker 2022-10-18 11:06:18 +01:00
Gerard Burns c6fd6699db Stop Screen Store Double Updating on Screen Change 2022-10-18 10:10:46 +01:00
Andrew Kingston 774566d03b Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston b7bfb861db Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-17 16:31:39 +01:00
Andrew Kingston 682203fbda Only transition padding when expanding components during DND, but remove it immediately on drop to avoid layout thrashing 2022-10-17 09:00:55 +01:00
Andrew Kingston 8c1c84e9aa Use requestAnimationFrame for DND overlay placeholder updates to further improve performance 2022-10-17 08:48:32 +01:00
Andrew Kingston 0e83bcfe9e Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston 3f429ff3ce Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +01:00
Andrew Kingston dabc93e1b6 Fix unused plugins not being able to be dragged into the preview 2022-10-14 19:39:38 +01:00
Andrew Kingston fecb8bb1a6 Fix DND not working in field groups and any other component where children are not rendered inside the first DOM node 2022-10-14 19:34:23 +01:00
Andrew Kingston 3fd7952a17 Use block name in placeholders inside blocks 2022-10-14 19:13:44 +01:00
Andrew Kingston ef28b10def Prevent showing placeholder dot when placeholder is invisible 2022-10-14 19:04:05 +01:00
Andrew Kingston 1b08e88c6f Fix double empty state around blocks 2022-10-14 18:59:32 +01:00
Andrew Kingston 1a210e3ee6 Fix issues dropping components from new component panel 2022-10-14 18:24:47 +01:00
Andrew Kingston 2ffb29dddf Invert some client store dependencies to improve performance and prevent dependency cycles 2022-10-14 18:16:19 +01:00
Andrew Kingston 4e94b6633f Don't reset component padded state for DND until dragging stops, to prevent jankiness due to losing space 2022-10-14 15:45:02 +01:00
Andrew Kingston a71a553ee6 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Gerard Burns 0f642f37f4 Page load actions now fire on parameter change as well as on mount (#8240)
* Page load actions now fire on parameter change as well as on mount

* PR Feedback

Co-authored-by: ger <ger@gers-MacBook-Pro.local>
2022-10-14 10:10:06 +01:00