1
0
Fork 0
mirror of synced 2024-09-18 18:28:33 +12:00
Commit graph

1345 commits

Author SHA1 Message Date
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
Andrew Kingston
29fdaab5fd Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Dean
3f434f7410 Removed commented out barcode scanner config 2022-10-13 17:06:04 +01:00
Dean
909a8b7074 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Dean
cb071096e1 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:49:10 +01:00
Dean
7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
Rory Powell
2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Dean
2bff6254de Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +01:00
Andrew Kingston
f7d6e8db60 Improve DND experience, use correct size of drop placeholder and don't drop if the position is unchanged 2022-10-11 16:02:09 +01:00
Andrew Kingston
efe9425d3d Improve column/row detection by appending an ephemeral child component and tune timings 2022-10-11 08:52:45 +01:00
Dean
299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Andrew Kingston
e90a79257f Remove dragged component from consideration of drop target 2022-10-10 14:00:37 +01:00
Mel O'Hagan
5b9befcefe Allow deleteComponent from settings bar 2022-10-10 13:36:32 +01:00
Dean
43befea5e9 Code review updates 2022-10-10 10:39:34 +01:00
Andrew Kingston
73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston
b2be069ef1 Make DND work again by converting new parent+index params into old target+mode 2022-10-10 09:36:17 +01:00
Andrew Kingston
7d72cee304 Tune DND throttle rate 2022-10-10 09:22:47 +01:00
Dean
07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston
608e41277a Reduce padding when dragging over a component tree and remove unused component class names 2022-10-08 15:32:36 +01:00
Andrew Kingston
0d35e03bdf Rename DND state variables for clarity 2022-10-08 15:28:22 +01:00
Andrew Kingston
234d8953f2 Fix row/column detection, add comments and remove old code 2022-10-08 15:18:05 +01:00
Andrew Kingston
c2b32f8c5e Throttle updates to prevent all jank and revert to component center breakboints for DND candidates 2022-10-08 15:04:18 +01:00
Andrew Kingston
09f2cc1f72 Reduce jank by computing symmetrical component breakpoint whens considering DND candidate positions and ignoring the hidden selected component 2022-10-07 20:00:25 +01:00
Andrew Kingston
eb1dbc7302 Hide the selected component when dragging 2022-10-07 14:34:47 +01:00
Andrew Kingston
a0ab832995 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-07 14:16:24 +01:00
Andrew Kingston
f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston
5beb6819ec Fix issue with layout determination 2022-10-07 12:45:22 +01:00
Andrew Kingston
bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean
c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Andrew Kingston
d4a767f93e Improve row vs column detection to fix any edge cases 2022-10-07 08:46:38 +01:00
Andrew Kingston
c4bb3ac014 Only explode components when dragging over them 2022-10-07 08:20:51 +01:00
Andrew Kingston
bb8388133a Rewrite drag and drop from scratch using mouse position heuristics 2022-10-07 08:05:44 +01:00
mike12345567
2421f16a8c Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
Dean
e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean
617d443890 UX/UI updates and rollup config changes to exclude common warnings 2022-10-06 09:54:43 +01:00
Andrew Kingston
9c82a9d073 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston
a6802e921f Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-05 17:31:01 +01:00
Mel O'Hagan
969c67f767 Use OG class properties for iOS13 support 2022-10-05 15:53:06 +01:00
Dean
2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Andrew Kingston
1abdc12681 Remove log 2022-10-04 16:33:27 +01:00
Andrew Kingston
69988aabc3 Always use the raw server plugin JS URL 2022-10-04 16:27:15 +01:00
Andrew Kingston
c986fb164e Use raw server jsUrl when rendering plugins 2022-10-04 15:01:18 +01:00
deanhannigan
3520843e4a Merge pull request #8014 from Budibase/feature/automation-log-filter-by-license
Feature/automation log filter by license
2022-10-03 10:49:24 +01:00
Andrew Kingston
feaa8f9184 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-03 09:53:53 +01:00
Andrew Kingston
568af7bb7a Ensure only one instance of the client websocket exists and reduce reconnection attemps 2022-09-30 16:26:19 +01:00
Andrew Kingston
ef9650136a Hot reload custom component settings in the builder 2022-09-30 16:26:15 +01:00
Andrew Kingston
b3a3cec40a Show notification when a plugin is hot reloaded 2022-09-30 16:26:07 +01:00
Andrew Kingston
3b4027b873 Fetch environment info early in the client app initialisation process 2022-09-30 12:31:16 +01:00
Mel O'Hagan
380d9580af Navigate in PeekScreenDisplay 2022-09-29 14:10:34 +01:00
Dean
67437c3db1 Centralised licensing types to frontend-core contants. Some minor refactoring 2022-09-29 09:17:22 +01:00
Andrew Kingston
e0fcb20fbe Expand component trees with padding when dragging and dropping 2022-09-28 14:16:09 +01:00
Mel O'Hagan
5e5b0955dd Handle navigation on close modal 2022-09-28 13:50:23 +01:00
Andrew Kingston
eba71be742 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-27 15:57:27 +01:00
Andrew Kingston
4c8f52adbe Use CDN when fetching plugins in cloud 2022-09-27 15:56:51 +01:00
Martin McKeaveney
57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Andrew Kingston
0a80947b51 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-26 16:22:13 +01:00
Andrew Kingston
e3bb57b97a Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01:00
Andrew Kingston
ff8c09141c Reduce websocket polling frequency and cap reconnection attemps 2022-09-22 15:52:46 +01:00
Martin McKeaveney
9583db47c8 turn off websockets in client lib in cloud 2022-09-22 15:04:20 +01:00
Rory Powell
f0f4b8342d Re-enable logo 2022-09-22 09:49:39 +01:00
Rory Powell
37fdad7cd9 Merge branch 'master' into develop 2022-09-21 20:16:54 +01:00
Martin McKeaveney
45e9da64e2 Merge pull request #7644 from Budibase/custom-css-upgrades
Custom CSS upgrades
2022-09-21 15:35:42 +01:00
Dean
5b4ab95b0b Minor alignment fix for the embedded map button icons 2022-09-21 11:58:57 +01:00
Andrew Kingston
e2982e1454 Add helper util for authenticating the public API SDK in component plugins 2022-09-21 09:49:33 +01:00
Andrew Kingston
45627661f1 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-20 17:23:52 +01:00
Rory Powell
f699bf1b56 Wrap licensing banners and modals in feature flag, disable logo 2022-09-20 10:15:28 +01:00
Rory Powell
a8747a0b6d Ignore empty name validation on app update and change free logo text 2022-09-15 14:23:25 +01:00
Rory Powell
00cef3a047 Don't show budibase logo on free plan in self hosted installations 2022-09-15 13:22:17 +01:00
Rory Powell
a691f4035f Merge branch 'feature/day-pass-pricing' into feature/bb-logo 2022-09-15 13:03:53 +01:00
mike12345567
8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston
c873a4d965 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-13 11:32:04 +01:00
Andrew Kingston
3283a0ab5a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-13 11:31:45 +01:00
Andrew Kingston
be15aff40f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-12 20:00:32 +01:00
Rory Powell
45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
Andrew Kingston
e4f6c2b6f5 Lint 2022-09-12 09:20:25 +01:00
Andrew Kingston
1bc6f30b6c Fix component empty state and invalid state styling 2022-09-12 08:50:22 +01:00
Andrew Kingston
2e72eb4f2e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-07 12:07:25 +01:00
Andrew Kingston
e07cffbc59 Remove log 2022-09-06 12:26:56 +01:00
Andrew Kingston
5577f31a17 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-06 09:00:21 +01:00
Andrew Kingston
3088616c47 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-06 08:53:10 +01:00
Andrew Kingston
d6d26e126c Allow custom CSS to be bindable and allow overriding via conditional UI 2022-09-05 16:35:25 +01:00
Andrew Kingston
443c763602 Merge branch 'develop' of github.com:Budibase/budibase into feature/custom-css-conditional-ui 2022-09-05 14:55:58 +01:00
mike12345567
f54a30556f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-02 20:11:57 +01:00
Andrew Kingston
1f1f482f9d Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-02 19:53:49 +01:00
Andrew Kingston
881024ca60 Remove further usages of plugin versions 2022-09-02 19:52:52 +01:00
mike12345567
f9224df941 Adding in a check for when there are no screen actions that need to be performed - #7592. 2022-09-02 18:14:08 +01:00
Andrew Kingston
cc50f696ff Remove logs 2022-09-02 12:04:18 +01:00
Andrew Kingston
d989e346ca Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-01 14:39:30 +01:00
Andrew Kingston
812304fd93 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-01 14:38:36 +01:00
Martin McKeaveney
4c32ac04e3 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-09-01 13:38:11 +01:00
Martin McKeaveney
502294555a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-01 13:37:56 +01:00
mike12345567
320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Martin McKeaveney
e6eb1687d2 Merge pull request #6640 from mslourens/pass_untruncated_title_to_radiogroup
Pass a title property with untruncated text to the RadioGroup
2022-08-31 13:32:33 +01:00
Andrew Kingston
371f5bf2a8 Only fire onchange events from form fields when values change to a new valid value 2022-08-31 11:39:04 +01:00
Andrew Kingston
166064f6df Don't clear grid dnd state when loading client library 2022-08-26 14:47:29 +01:00
Andrew Kingston
b839325a86 Add initial work on grid layout 2022-08-26 08:47:50 +01:00
Andrew Kingston
0fd4912e5b Lint 2022-08-25 11:12:36 +01:00
Andrew Kingston
daff5b173e Update form block styles to expect a header when buttons are defined 2022-08-25 09:25:30 +01:00
Andrew Kingston
10a251f1f6 Update form block to be ejectable 2022-08-25 09:24:27 +01:00
Andrew Kingston
8d76959f88 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-08-25 08:53:07 +01:00
Andrew Kingston
5f94892b3d Ensure block components have a proper style structure defined after ejection 2022-08-24 09:44:33 +01:00
Andrew Kingston
b66ef636ac Allow block ejection to properly apply all styles from blocks 2022-08-24 09:05:08 +01:00
Andrew Kingston
98b6bbb039 Update block ejection to account for children of blocks 2022-08-24 08:37:53 +01:00
Andrew Kingston
83afbf0778 Update block map structure for better ejection 2022-08-24 08:21:57 +01:00
Andrew Kingston
27ab8b8e82 Use order as key when registering block components rather than ID 2022-08-23 19:37:38 +01:00
Andrew Kingston
6d77b67cfa Update ejectable table block to be more responsive 2022-08-23 19:31:48 +01:00
Andrew Kingston
5286cbf214 Update cards block to be ejectable 2022-08-23 19:30:35 +01:00