Commit Graph

27880 Commits

Author SHA1 Message Date
Andrew Kingston a322f56efd
Remove selection option in nested nav bar 2024-08-19 14:35:43 +01:00
Adria Navarro 3dcf17d438 Fix initial visibility 2024-08-19 13:00:23 +02:00
Adria Navarro 3685c6dbe5 Split columns setting button/content 2024-08-19 12:59:39 +02:00
Gerard Burns 205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
Andrew Kingston d377186f0d
Add double layer context menu for overflow views 2024-08-16 18:43:48 +01:00
Andrew Kingston 40e7f58131
Add automatic overflow menu popover for views that don't fit 2024-08-15 19:49:30 +01:00
mike12345567 a1fae4d799 Making sure filters are always added to end, this is important for OR situations. 2024-08-15 18:52:17 +01:00
mike12345567 48672244f4 Fixing up column renaming everywhere that it is needed, making sure works for external as well. 2024-08-15 18:46:28 +01:00
mike12345567 aa1eaa1d3d A few fixes for logical operators, there was a lot of cleanup that was not occurring as it is supposed to be recursive, this wasn't happening. 2024-08-15 18:35:30 +01:00
Michael Drury 483bb585c3
Merge branch 'master' into fix/feature-flag-checks 2024-08-15 17:11:38 +01:00
mike12345567 4995056ba0 Updating tests. 2024-08-15 17:09:15 +01:00
Peter Clement 0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
mike12345567 21cc83daf4 PR comment. 2024-08-15 16:58:17 +01:00
mike12345567 15fb54e841 Updating latest pro. 2024-08-15 16:53:00 +01:00
mike12345567 5c63439c8d Fixing an issue where old feature flags would cause issues, all feature flags are expected to be known, this allows unknown feature flags to just be ignored. 2024-08-15 16:51:29 +01:00
Andrew Kingston d313968eaa
Add view CRUD and table editing via new UI 2024-08-15 16:33:39 +01:00
Andrew Kingston fa80d99139
Add initial new UI for views 2024-08-15 16:14:00 +01:00
Michael Drury 57362ad5d0
Merge branch 'master' into fix/disallow-backend-core-barrel-file 2024-08-15 16:06:38 +01:00
Sam Rose 87ccfce7f1
Update submodules. 2024-08-15 15:53:18 +01:00
mike12345567 26871a7deb Disallowing access to the backend-core barrel file as it can cause problems, it should only ever be imported externally via @budibase/backend-core. 2024-08-15 15:48:39 +01:00
Sam Rose f548fb1299
Update pro reference. 2024-08-15 15:06:13 +01:00
Sam Rose e1268b7ec8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-cleanup 2024-08-15 14:57:04 +01:00
Sam Rose c6e7674e2c
Update account-portal reference. 2024-08-15 14:39:16 +01:00
mike12345567 e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +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
Sam Rose d6308de1ab
Update account-portal reference. 2024-08-15 11:09:53 +01:00
mike12345567 bbc33d37e6 PR comments. 2024-08-15 11:04:57 +01:00
Sam Rose d27ecb9572
Update pro reference. 2024-08-15 11:01:46 +01:00
Sam Rose 4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
mike12345567 3ed2fbbcb4 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-15 10:49:53 +01:00
Andrew Kingston a022e02643
Update blank screens to use grid layout by default 2024-08-15 10:44:42 +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 6783f9b4ee
Reset grid position metadata when copying and pasting between screens 2024-08-15 09:54:47 +01:00
Andrew Kingston 0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston 5f6ccd82dd
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-15 09:36:08 +01:00
Andrew Kingston fdefd6da07
Merge branch 'master' into grid-layout-expansion 2024-08-15 09:34:12 +01:00
Andrew Kingston cab82d2a73
Update markdown viewer to vertically align to the top by default 2024-08-15 09:33:49 +01:00
Peter Clement f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
mike12345567 87999db659 Adding test cases. 2024-08-14 18:12:33 +01:00
mike12345567 50d6e83eb0 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-14 17:43:06 +01:00
Michael Drury 165eff2e5a First pass - no tests yet, had to make some changes to how pre-processing works, as well as updating the string based on context, if there is any overlap between the helpers and context it will prefix the overlap with ./ - this means to look in context. 2024-08-14 17:21:40 +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
Sam Rose 011859397d
Expose a nicer API for getting/setting feature flags on the current context. 2024-08-14 15:56:12 +01:00
Sam Rose 08a56ef480
Cache feature flags per-request, set default values flag to false by default. 2024-08-14 15:41:26 +01:00
Andrew Kingston 919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston 952b9b4af1
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-14 13:01:18 +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
Sam Rose eeba71b69b
Setup DEFAULT_VALUES feature flag. 2024-08-14 12:26:17 +01:00
Andrew Kingston fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +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
Dean e2c491ef96 Backed out reactivity for Binding panel per discussion. Pending some UX discussion 2024-08-13 16:40:48 +01:00
Andrew Kingston b321eabb50
Merge branch 'master' into dean-fixes 2024-08-13 15:43:58 +01:00
Andrew Kingston a1e14fab18
Merge branch 'master' into grid-layout-expansion 2024-08-13 14:36:15 +01:00
Andrew Kingston 5d6d75d672
Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2024-08-13 14:33:25 +01:00
Andrew Kingston 6db20a241b
PR feedback 2024-08-13 14:33:07 +01:00
Andrew Kingston 285f6bafe8
Merge branch 'master' into cheeks-fixes 2024-08-13 14:31:31 +01:00
Peter Clement 37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
deanhannigan 424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
Dean 3d6acb5efd Removed erroneous param 2024-08-13 12:09:01 +01:00
Dean 8a31cc2ff7 Bug fixes for bindings panel and code editor 2024-08-13 11:07:00 +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 22f971cd3d
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-13 09:19:36 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston 17c8f8e5d9
Merge branch 'master' into grid-layout-expansion 2024-08-13 09:18:28 +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
Dean 8e301902a3 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-13 09:06:02 +01:00
melohagan 151fff51c5
Make generated passwords longer (#14362)
* Make generated passwords longer

* Use crypto for generating passwords

* Remove comments

* Generate password with length 12
2024-08-12 20:37:59 +00:00
Andrew Kingston 96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Sam Rose b5465f1b63
Disable PostHog feature flags in prod. 2024-08-12 16:32:25 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Sam Rose b01c111567
Log PostHog payload. 2024-08-12 15:34:23 +01:00
Sam Rose 72a37ed1a7
Add some logging to see if I can figure out why PostHog flags aren't coming through. 2024-08-12 15:33:48 +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
Sam Rose 700356a1ef
Factor out default value check to shared-core. 2024-08-12 11:08:58 +01:00
Andrew Kingston 51db5ac9a9
Lint 2024-08-12 11:00:59 +01:00
Sam Rose 63789208b7
Merge branch 'master' of github.com:budibase/budibase into budi-8433-default-value-column-ui 2024-08-12 10:56:31 +01:00
Andrew Kingston 26936242b7
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-12 10:51:06 +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
Sam Rose f4a4456679
Update packages/pro refernce to latest master. 2024-08-12 10:10:33 +01:00
Sam Rose c14f108d4d
Respond to PR comments. 2024-08-12 09:58:46 +01:00
Sam Rose 0eaf6b7d42
Make it possible to get flag values from the license. 2024-08-12 09:58:46 +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 d77e4381cc
Speed up memo stores 2024-08-12 09:55:12 +01:00
Sam Rose bcefa398a4
Merge master. 2024-08-12 09:43:49 +01:00
Dean 0289b9be91 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-12 09:05:09 +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
mike12345567 28a10bf908 Another test fix (yay for this one) 2024-08-09 14:54:47 +01:00
mike12345567 3e1a0a60b4 Checking the correct operation - also typeguarding the check. 2024-08-09 14:35:13 +01:00
Sam Rose 1b556f29fe
Rebase on posthog-feature-flags 2024-08-09 14:00:16 +01:00
Sam Rose aaaf173295
Initial UI. 2024-08-09 13:59:00 +01:00
mike12345567 a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +01:00
mike12345567 97919821ac Merge branch 'fix/invalid-table-schema-search' of github.com:Budibase/budibase into fix/invalid-table-schema-search 2024-08-09 13:36:46 +01:00
mike12345567 904f0dc9fd Adding jest-extended to allow use of oneOf expect, fixing for updated fetching. 2024-08-09 13:36:22 +01:00
Dean 849f5f21f9 Fix for environment bindings race condition. 2024-08-09 12:44:10 +01:00
Sam Rose 083b595d50
Fix formatting. 2024-08-09 11:58:57 +01:00
Sam Rose d716d4b4d0
Fix test failures and lint. 2024-08-09 11:45:55 +01:00
Sam Rose 7505d60888
Extract out processor and spy variables to reduce repetition. 2024-08-09 11:31:05 +01:00
Sam Rose 4887ca261e
Improve testing of feature flags by not polluting production flags with test ones. 2024-08-09 11:27:43 +01:00
Sam Rose 85cfd2023d
Merge branch 'master' into fix/invalid-table-schema-search 2024-08-09 10:46:12 +01:00
Sam Rose 3d590e879e
Rely on withEnv and setEnv functions in respective environment.ts files. 2024-08-09 10:30:27 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
Sam Rose 858bb77c00
Merge branch 'master' into posthog-feature-flags 2024-08-09 09:25:48 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
deanhannigan 3c563c382d
Merge branch 'master' into dean-fixes 2024-08-09 09:02:54 +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
mike12345567 efafb3e3c2 Getting composite keys working, fixing p2 issue and adding test case for it. 2024-08-08 18:55:41 +01:00
Sam Rose 079dcdcc6e
Merge branch 'master' into posthog-feature-flags 2024-08-08 17:59:57 +01:00
melohagan c86b1d7ca5
Auto login the user after password is set (#14344)
* login after creating super admin user

* Allow keyboard enter key in create account from invite

* Allow enter key to submit password reset

* Min length for password validation should be 12

* Default PASSWORD_MIN_LENGTH to 12

* fix unit tests

* Fix unit tests

* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
Sam Rose bc2ea99254
Merge branch 'master' into posthog-feature-flags 2024-08-08 17:25:28 +01:00
Dean c069fb0a9a Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-08 16:51:49 +01:00
Dean 1d8235a1cc PR feedback. Ensure fieldValue reacts to schema changes 2024-08-08 16:51:33 +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
Andrew Kingston 91120c673c
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-08-08 16:07:23 +01:00
Andrew Kingston 1867df973b
Merge branch 'master' into cheeks-fixes 2024-08-08 15:23:43 +01:00
Andrew Kingston 013f13315c
Update how available actions on the screen are found so that they understand global bindings properly and respect local scope 2024-08-08 15:17:55 +01:00
Sam Rose cf488cbd20
Merge branch 'master' into budi-8550-s3-upload-signed-url-missing-aws-endpoint-when-not 2024-08-08 13:05:47 +01:00
Dean bd2664218c PR feedback. Switch single user init back to expect an array and take the result 2024-08-08 12:29:39 +01:00