Commit Graph

4999 Commits

Author SHA1 Message Date
Andrew Kingston 5e98580b60
Improve new component DND for both types of layout 2024-09-05 14:03:03 +01:00
Andrew Kingston b60923f929
Update collapsed button groups to support alignment 2024-09-04 11:12:26 +01:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01:00
Andrew Kingston 4b367bf505
Add row action button actions 2024-09-03 09:06:12 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Andrew Kingston 3b827c35a2
Add collapsed button option to multistep form block 2024-09-02 16:30:14 +01:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Andrew Kingston e6f6760c2a
Add collapsable buttons to form block 2024-09-02 09:38:34 +01:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Martin McKeaveney 9924ad20e0 lint 2024-09-02 08:58:28 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Martin McKeaveney 8c769140bb adding conditional to prevent embedprovider handler firing 2024-08-28 16:56:51 +01:00
Martin McKeaveney 8e40e98b6a merge 2024-08-28 16:54:51 +01:00
Martin McKeaveney b3f51e2766 PR comments 2024-08-28 16:49:00 +01:00
Andrew Kingston 81e1138275
Lint 2024-08-23 14:45:45 +01:00
Andrew Kingston 0dd432f286
Add support for old views in new view nav bar 2024-08-23 13:34:36 +01:00
Martin McKeaveney 89051da102 use postMessage instead of window object 2024-08-19 18:01:56 +01:00
Andrew Kingston 48775b8397
Replace erroneous falsey comparisons with nullish comparisons 2024-08-15 11:44:31 +01:00
Andrew Kingston 916a7983d8
Fix potential undefined reference 2024-08-15 11:38:11 +01:00
Andrew Kingston 0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Andrew Kingston 39f7c28308
Revert max width nav to have reasonable padding 2024-08-15 11:25:57 +01:00
Andrew Kingston 991aff132f
Don't strip grid CSS variables from styles, allowing block ejection to reference them 2024-08-15 11:21:09 +01:00
Andrew Kingston 7ae21460f8
Update row explorer block to stretch by default, enabling a height setting of 100% to work 2024-08-15 10:40:54 +01:00
Andrew Kingston b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston 0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston cab82d2a73
Update markdown viewer to vertically align to the top by default 2024-08-15 09:33:49 +01:00
Andrew Kingston 86628903cc
Remove console log 2024-08-14 16:58:01 +01:00
Andrew Kingston 2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Andrew Kingston 919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston 33b68d6d54
Lint 2024-08-14 13:01:04 +01:00
Andrew Kingston fedb592b92
Fix issue where grid styles are not reapplied when component visibility changes 2024-08-14 12:56:45 +01:00
Andrew Kingston 84db937cba
Fix null refrence exception if definitions don't exist 2024-08-14 12:51:32 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston f99ae6b96e
Ensure modals are rendered in the correct DOM position 2024-08-14 10:26:44 +01:00
Andrew Kingston 83e7b2d3e2
Move side panel into correct DOM position 2024-08-14 10:16:01 +01:00
Andrew Kingston d36fef5c86
Fix indicators around modals and side panels when used inside grids 2024-08-14 10:09:59 +01:00
Andrew Kingston 6baf784f4a
Ensure images are contained when used inside grids 2024-08-14 09:59:02 +01:00
Andrew Kingston 7a9730b120
Fix ephemeral styles not clearing properly 2024-08-14 09:24:03 +01:00
Andrew Kingston 0875d0c5e1
Only show empty rows in grid layouts when in the builder 2024-08-13 09:52:10 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston 73cc871a5e
Avoid name clashing 2024-08-13 09:14:42 +01:00
Andrew Kingston ead4be7b88
Add padding at bottom of grid for screen level grids 2024-08-13 09:09:53 +01:00
Andrew Kingston 96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Andrew Kingston 2f3a7018ae
More tidy up 2024-08-12 15:29:03 +01:00
Andrew Kingston 25ff092da2
Simplify some utils 2024-08-12 14:54:39 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 1f99ecc529
Fix missing reference 2024-08-12 14:03:31 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Andrew Kingston 51db5ac9a9
Lint 2024-08-12 11:00:59 +01:00
Andrew Kingston aeb8a0f117
Allow grid containers to use their natural height as a min height 2024-08-12 10:48:38 +01:00
Andrew Kingston 9f951bab20
Revert indicator sets to use IntersectionObservers when multiple indicators are required 2024-08-12 10:24:14 +01:00
Andrew Kingston 5b8846208b
Prevent pointer events on non-dragged grid children to reduce hit test load 2024-08-12 09:55:45 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 34448cfca2
Fix dragging on tablet preview 2024-08-10 14:40:32 +01:00
Andrew Kingston 781a749a07
Update grid layout action to provide explicit values for all variables and simplify inheritance logic 2024-08-10 14:16:41 +01:00
Andrew Kingston a6fd2ceb47
Improve responsiveness of settings bar 2024-08-10 10:42:54 +01:00
Andrew Kingston 933942ef26
Make indicators more responsive 2024-08-09 22:20:25 +01:00
Andrew Kingston f87035aa9b
Simplify some DOM queries 2024-08-09 21:22:48 +01:00
Andrew Kingston 863fafa1d0
Simply and improve performance of indicators 2024-08-09 21:21:59 +01:00
Andrew Kingston 376192e85a
Improve performance of grid DND handler 2024-08-09 20:18:30 +01:00
Andrew Kingston 8aa0407236
Hide resize indicators when they don't fit 2024-08-09 19:09:32 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston 8a022bb21e
Use single CSS variable for grid spacing to reduce duplication 2024-08-09 08:48:32 +01:00
Andrew Kingston cdc2092264
Only apply grid action when component is an immediate child of a grid container 2024-08-08 16:30:31 +01:00
Andrew Kingston 618b65e3fa
Use outline rather than pseudo elements for highlighting grid children 2024-08-08 16:23:55 +01:00
Andrew Kingston 5eebbd56f6
Reduce spacing between components in grids to 16px from 20px 2024-08-08 16:15:05 +01:00
Martin McKeaveney ac62a9a5a8 authenticated iframe PoC 2024-08-06 18:46:23 +01:00
Andrew Kingston 4c7f65a811
Add more styles to forms 2024-08-06 11:48:00 +01:00
Andrew Kingston 73079e4417
Fix some layout edge cases 2024-08-06 11:43:22 +01:00
Andrew Kingston cacc2ab087
Fix issues with nesting grids inside grids 2024-08-06 11:28:58 +01:00
Andrew Kingston d3b7a06871
Ensure nav accounts for grid layout padding 2024-08-06 11:17:01 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston 5071f39153
Lint 2024-08-05 19:45:10 +01:00
Andrew Kingston 5127a90e5d
Remove old code 2024-08-05 19:42:24 +01:00
Andrew Kingston 5101cca197
Update default grid size to 200x200 2024-08-05 19:31:35 +01:00
Andrew Kingston e91607acb1
Update background colour and styles of grid lines to work with user specified background colours 2024-08-05 18:50:19 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Andrew Kingston c6cb267b30
Fix settings bar values not working with default values 2024-08-05 16:42:34 +01:00
Andrew Kingston e3f4e5525e
Fix background color on grid underlay and ensure screens with grids default to 24x24 2024-08-05 13:34:38 +01:00
Andrew Kingston 4bdb408a39
Add reactivity to settings bar grid style buttons 2024-08-03 11:15:10 +01:00
Andrew Kingston 8a6d4c0bf6
Update remaining components with sizes and grid metadata 2024-08-03 09:44:32 +01:00
Andrew Kingston 1bce9855d0
More improvements 2024-08-02 16:44:18 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston dbfad2cb3a
Fix tag component being totally broken 2024-08-02 10:35:35 +01:00
Andrew Kingston 2bc4d3a6da
Improve more component compatibility with grid layouts 2024-08-02 10:00:49 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
Andrew Kingston 8dd0658f18
Fix component autosizing not working on mobile grids 2024-08-02 09:23:47 +01:00
Andrew Kingston 5cc4002f32
Add better support for auto sizing error state components in grid layouts 2024-08-02 09:22:04 +01:00
Andrew Kingston 9906ea96a9
Update some component manifest styles and fix issue with default grid vars 2024-08-01 16:23:53 +01:00
Andrew Kingston 4e9e644e13
Prevent cross-grid variable inheritance 2024-08-01 12:27:19 +01:00
Andrew Kingston 61e24d18bc
Fix issue with nested grids 2024-08-01 12:22:01 +01:00
Andrew Kingston 1eedb9241b
Fix nested grids not laying out properly 2024-08-01 12:09:44 +01:00
Andrew Kingston 64c182df0f
Fix indicator positioning in preview 2024-08-01 12:06:22 +01:00
Andrew Kingston e7dd45a5e9
Fix typo 2024-08-01 12:02:51 +01:00