Commit Graph

3097 Commits

Author SHA1 Message Date
mike12345567 e74adaf73b Formatting. 2021-04-16 14:43:20 +01:00
Andrew Kingston 7ba5ff7b34 Add radio group spectrum component and update builder 2021-04-16 14:30:33 +01:00
mike12345567 a19b0d092b Merge branch 'master' of github.com:Budibase/budibase 2021-04-16 13:47:40 +01:00
mike12345567 cfde5d3ca4 Some fixes for creation/editing of table columns. 2021-04-16 13:47:30 +01:00
Andrew Kingston 68aca8b630 Update some more parts of the builder to use new form components 2021-04-16 13:07:38 +01:00
Keviin Åberg Kultalahti 7e7e501244 fix navigation error in automation section 2021-04-16 13:02:45 +02:00
Keviin Åberg Kultalahti 8328a15637 fixes menu item placement issue 2021-04-16 12:42:32 +02:00
Keviin Åberg Kultalahti 1a53a3cb45 Convert main nav to use an ActionGroup 2021-04-16 12:40:34 +02:00
Keviin Åberg Kultalahti e8376435dd Adds Icon component to bbui 2021-04-16 12:24:06 +02:00
Keviin Åberg Kultalahti 0ac9ef1746 reverses tab order mistake in properties panel 2021-04-16 12:17:20 +02:00
Andrew Kingston 6e9c3b7b5d Fix schema in when creating columns and use new spectrum form components in design section 2021-04-16 11:06:21 +01:00
Andrew Kingston 3aeb85f62f Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Keviin Åberg Kultalahti 51c97a2c13 Automations panel now uses the tabs component 2021-04-16 11:49:08 +02:00
Keviin Åberg Kultalahti 32c2aa00b0 Component panel now uses Tabs component 2021-04-16 11:28:53 +02:00
Keviin Åberg Kultalahti 65309a5b98 adds tab to left sidebar on design section 2021-04-16 11:18:39 +02:00
Andrew Kingston 93f64cc671 Update create table modal to use new forms 2021-04-16 09:40:44 +01:00
Andrew Kingston 4f7b91f34f Update list autoscreen to use quiet table 2021-04-16 09:40:27 +01:00
Keviin Åberg Kultalahti af2b3198a5 builder data side panel now uses new tabs component 2021-04-16 10:07:33 +02:00
Andrew Kingston 4381c8981f Prune old dependencies 2021-04-16 09:01:52 +01:00
Andrew Kingston 534ca3319e Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-16 08:08:52 +01:00
Martin McKeaveney 4700b24793 account for empty user id in automations 2021-04-15 21:34:03 +01:00
Andrew Kingston b83148a0c8 Update some builder components to use new forms 2021-04-15 19:42:58 +01:00
Andrew Kingston ef1448ca6a Clean up create app modal error messages 2021-04-15 19:31:04 +01:00
Andrew Kingston eea5e9b535 Rewrite create app modal to work with new spectrum fields 2021-04-15 19:28:50 +01:00
Andrew Kingston b9913390c7 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Martin McKeaveney e2167c1d62 lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 046850b4d6 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 7c92f9af32 lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 fb4e52baff Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +01:00
mike12345567 cfbd75b36d Some changes to initial login form, improvements based on testing and attempts to fix cypress test failures. 2021-04-15 15:57:55 +01:00
Keviin Åberg Kultalahti 409a67ff3e remove unused stuff 2021-04-15 15:42:30 +02:00
Keviin Åberg Kultalahti 7f05d74355 working sliding animation between tabs 2021-04-15 14:42:39 +02:00
mike12345567 0d65aac9a4 Linting. 2021-04-15 13:23:42 +01:00
Martin McKeaveney fe6d31d880 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
Andrew Kingston 2978b5db89 Remove dependency on BBUI stylesheet in builder 2021-04-15 12:09:36 +01:00
Martin McKeaveney 4c8c5c17b2 removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Keviin Åberg Kultalahti 6960966cac adds working tabs 2021-04-14 16:07:45 +02:00
Keviin Åberg Kultalahti 5da296ed5d adds divider component 2021-04-14 14:52:25 +02:00
mike12345567 0f59546169 Formatting. 2021-04-13 20:26:26 +01:00
mike12345567 8b20fcb573 Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
Andrew Kingston 758297a093 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston 105715e68e Add default spectrum colours to existing builder components and allow spectrum dark mode toggle 2021-04-13 18:07:45 +01:00
Keviin Åberg Kultalahti 744f943e95 Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 7204ba7ffb Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston a365992dd2 Fix stale data overwriting new data when requests are slow 2021-04-13 15:10:49 +01:00
Andrew Kingston 5448cf02b8 Fix routify empty span tags affecting dom layout 2021-04-13 14:44:46 +01:00
Martin McKeaveney f5e5a415ca remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney bd48b02ab1 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 68cecda546 prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
mike12345567 af0df42c3c Formatting. 2021-04-13 13:35:30 +01:00
Martin McKeaveney b728fc1a3c currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 654a53fc0a Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 46b975186c Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 2abb5d5759 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 2c5a65cbb2 remove merge conflict 2021-04-12 20:11:21 +01:00
Martin McKeaveney 0fc957a13d v0.8.16 2021-04-12 19:51:11 +01:00
Martin McKeaveney 160d02a691 v0.8.15 2021-04-12 17:10:19 +01:00
Keviin Åberg Kultalahti 5c3fcb053d Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston 28b4e178fe Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Keviin Åberg Kultalahti ba3ce4b128 some button fixes 2021-04-12 16:06:03 +02:00
Andrew Kingston e7a866e45a Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Martin McKeaveney d8a0f0f747 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney 9eb6b541e9 merge 2021-04-12 13:39:53 +01:00
Martin McKeaveney 0548fdc863 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
Martin McKeaveney 6499213f90 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney d7e187d8f2 builder login 2021-04-12 10:47:48 +01:00
Keviin Åberg Kultalahti b947bac525 wip menu component 2021-04-12 11:24:03 +02:00
Martin McKeaveney c30e70c939 v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney 4b6efc42ed v0.8.13 2021-04-11 12:53:39 +01:00
Martin McKeaveney 83abf8111b fix automation fields 2021-04-11 12:02:01 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Keviin Åberg Kultalahti 97712a2936 fix buttons 2021-04-09 15:24:28 +02:00
Keviin Åberg Kultalahti d304728a05 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Andrew Kingston 00d47905a8 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Keviin Åberg Kultalahti 428ee85e13 adds Link component to bbui 2021-04-09 14:44:48 +02:00
mike12345567 75e0d82c8d Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
Keviin Åberg Kultalahti b68d677e27 moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Keviin Åberg Kultalahti 52697ddc2d add text slot conditional to button 2021-04-09 11:10:37 +02:00
Keviin Åberg Kultalahti a2a1722baf conversion of buttons in builder 2021-04-09 10:52:06 +02:00
Keviin Åberg Kultalahti 2963d1d945 actually convert table command buttons 2021-04-08 18:10:18 +02:00
Andrew Kingston ed77135093 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00
Keviin Åberg Kultalahti 377f323238 wip: bbui modal to spectrum conversion 2021-04-08 13:26:45 +02:00
Andrew Kingston 886f895f58 Add spectrum icon support 2021-04-08 11:17:37 +01:00
Andrew Kingston 43f2f83640 Add other required spectrum attributes 2021-04-08 09:56:04 +01:00
Andrew Kingston 81ae7f6dfe Add spectrum classes for darkest theme around whole builder 2021-04-08 09:42:43 +01:00
mike12345567 6d5b13632f Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
Andrew Kingston 8a3a7cfe92 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
mike12345567 63135e3351 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 16:08:43 +01:00
mike12345567 29787032f0 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
Andrew Kingston a66389f8a2 Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 799a5285e3 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston e897a5ae61 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston a9f50556d3 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 99c8897500 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston 46a02ddb0c Fix route error when creating a view 2021-04-07 13:43:11 +01:00
Andrew Kingston a027399d57 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 41d43eb479 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
Keviin Åberg Kultalahti 2ab41f8a98 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 9c0fedbd21 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Andrew Kingston 2b31f7d8a1 Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston caee5e3cd9 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston 65fe57ee23 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston eff0313e4e Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston 810400d760 Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 230e9ed988 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 66ef52bf73 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston 43b13a9cba Add builder yarn.lock 2021-04-01 17:06:48 +01:00
Andrew Kingston dab183cc8a Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston ecf15f9207 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston db2a710168 Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti d62c4bef95 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 9c0186debb adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti f67a64e74b bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
Keviin Åberg Kultalahti 4f8c89f5dc update yarn.lock file 2021-04-01 13:13:59 +02:00
Keviin Åberg Kultalahti 1c29edb830 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 6a4c981b60 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti 2e13c5f10e re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 7c6fc51e80 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston f2a898147f Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston 677c3e0e86 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston 46745a757a Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti adab566c9d increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti 7d436fea70 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston d945d76e59 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti 9d6fc5ecbe adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 0a38b963e8 version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston d4cc872b5c Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti d803aa0bd7 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 214243fc22 lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 72590acc18 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston 6785fd9b5a Prefix builder URLs with 'builder' in both routify and vite to lay groundwork for server proxying 2021-03-31 19:27:52 +01:00
Andrew Kingston ecd55f6c27 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston cf6c15170b Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston aa450c08b4 Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Andrew Kingston 583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Keviin Åberg Kultalahti 958cae212d fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti dc0f04c43a fix merge regression 2021-03-31 13:48:30 +02:00
Keviin Åberg Kultalahti c729b8654b merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 1f7bd5d387 wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 53bff4a4d9 adds tables store tests 2021-03-30 15:37:53 +02:00
Keviin Åberg Kultalahti 7bb01a152c adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti e83cebde03 fix last roles store test 2021-03-30 10:49:42 +02:00
Andrew Kingston 95c363727d Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Keviin Åberg Kultalahti 32e493921b wip: roles store test 2021-03-29 18:23:53 +02:00
Keviin Åberg Kultalahti 996e4bf9b1 update query store 2021-03-29 17:52:38 +02:00
Keviin Åberg Kultalahti 5b5f2c835d fix last query test 2021-03-29 17:50:12 +02:00
Keviin Åberg Kultalahti d1b7620215 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston d26c20df31 Update search component to work with new data bindings. Simplify manifest context entries for data bindings 2021-03-29 16:37:17 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Keviin Åberg Kultalahti b90e37ba64 fix datasource test 2021-03-29 16:23:58 +02:00
Keviin Åberg Kultalahti 22937117fd wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti ab0ce42245 adds test for permissions store 2021-03-29 13:16:41 +02:00
Keviin Åberg Kultalahti 29a032d908 finishes datasources stores 2021-03-29 12:54:41 +02:00
Keviin Åberg Kultalahti 7e56446395 adds fetch and delete tests to datasources store 2021-03-29 12:03:34 +02:00
Keviin Åberg Kultalahti ed2d541a77 add some temporary testing files 2021-03-26 15:43:55 +01:00
Keviin Åberg Kultalahti 0586d62878 bump jest 2021-03-26 09:51:28 +01:00
Keviin Åberg Kultalahti a14d991e81 moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Andrew Kingston a242d19f28 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
Andrew Kingston 892bbcd07a Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
Martin McKeaveney 6f2a1d45cc v0.8.12 2021-03-25 10:40:08 +00:00
Martin McKeaveney bf7031467d cypress tests passing 2021-03-24 21:15:14 +00:00
Martin McKeaveney f4c7455936 merge 2021-03-24 20:44:52 +00:00
Martin McKeaveney 9a47528775 v0.8.11 2021-03-24 18:48:26 +00:00
Andrew Kingston 2cfc30ad2f Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston 6457751367 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Martin McKeaveney 679da60b1c make cypress use leveldb 2021-03-24 15:36:13 +00:00
mike12345567 19b5b41953 Main work of file system refactor now complete, ready to test more fully - most test cases passing, need to look through them more thoroughly and make sure everything still makes sense. 2021-03-23 17:54:02 +00:00
Andrew Kingston 543b5bb3fd Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti 3b6d0a4035 remove backendUiStore imports 2021-03-23 14:01:28 +01:00
Keviin Åberg Kultalahti 3cd67b0237 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti 182292c9a3 remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti 087731600e remove console log 2021-03-23 13:35:31 +01:00
Keviin Åberg Kultalahti 976d8b3b54 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 8f0324bd53 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti 977da343f8 table route fix 2021-03-23 13:27:16 +01:00
Keviin Åberg Kultalahti 5ed5da2cee extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti 6afd886755 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti 4eb0a505bd fix tables not showing up 2021-03-23 13:05:22 +01:00
Keviin Åberg Kultalahti b8f6eb2afb fix datasource select issue 2021-03-23 13:04:54 +01:00
Keviin Åberg Kultalahti 5d30950421 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti e758fff34a wip: cleanup of components 2021-03-23 12:27:10 +01:00
Keviin Åberg Kultalahti 4244185b53 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti b4f5522a5e wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti ac335e4301 split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti 2d1683c785 update tables select method 2021-03-23 12:04:01 +01:00
Martin McKeaveney afaa706e07 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
Keviin Åberg Kultalahti 54b99d6d4b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti ba61442531 remove log 2021-03-23 10:57:34 +01:00
Keviin Åberg Kultalahti c28bfff0ec fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00
Andrew Kingston b24760f613 Fix automatic generation of form field group schemas 2021-03-22 18:07:11 +00:00
Andrew Kingston d7c4fab4a5 Remove RowDetail component 2021-03-22 18:04:40 +00:00
Andrew Kingston e16a28fcd2 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston 2d6bc0c998 Fix data binding not generating bindable properties for components referencing a data provider ID wrapped for handlebars 2021-03-22 17:57:19 +00:00
Keviin Åberg Kultalahti 948ba63a69 fixes and splits out database to it's separate store 2021-03-22 16:33:08 +01:00
Keviin Åberg Kultalahti 5a4ea4ebf2 moves queries part of backendstore to separate store 2021-03-22 14:47:21 +01:00