Commit Graph

4700 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti df5c2e04a7 adds Heading component 2021-04-14 10:40:44 +02:00
Keviin Åberg Kultalahti 59c88b0064 rework to use tick instead of manual timeout 2021-04-14 10:25:10 +02:00
Keviin Åberg Kultalahti 255512e309 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00
Andrew Kingston 4e2fceffcb Add missing menu, actiongroup and link spectrum dependencies 2021-04-13 18:12:10 +01:00
Andrew Kingston 0acc823af4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston a85cada9d8 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Andrew Kingston b467cc1677 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 8032d5f85d Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 9180312bab Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston c602502e46 Add missing toast dependency 2021-04-13 15:28:57 +01:00
Andrew Kingston c729d80902 Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston b612c32ce5 Fix stale data overwriting new data when requests are slow 2021-04-13 15:10:49 +01:00
Andrew Kingston 0f56ed3c95 Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston 6ba2d7a0ef Make standard components table custom column non-sortable 2021-04-13 14:45:24 +01:00
Andrew Kingston 9e8b6c9c41 Fix routify empty span tags affecting dom layout 2021-04-13 14:44:46 +01:00
Andrew Kingston 13b7140571 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
Andrew Kingston e166195a49 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston 1ea51cdb74 Fix client table not passing down rowCount and improve styles of wrapper div 2021-04-13 14:13:44 +01:00
Andrew Kingston 41742e7138 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Keviin Åberg Kultalahti cef3437c50 Implements ActionMenu component 2021-04-12 17:10:55 +02:00
Keviin Åberg Kultalahti 0b18b55433 Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston d7cb604151 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 3b2ef3a5e9 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 9e2803cb8d Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston f76fb21562 Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Keviin Åberg Kultalahti 958c302ca7 some button fixes 2021-04-12 16:06:03 +02:00
Andrew Kingston afca35a229 Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Keviin Åberg Kultalahti 199756134b wip menu component 2021-04-12 11:24:03 +02:00
Andrew Kingston b8c9cf0898 Add table placeholder 2021-04-09 14:48:26 +01:00
Keviin Åberg Kultalahti 439fda6785 fix buttons 2021-04-09 15:24:28 +02:00
Andrew Kingston e76f40548b Disable image processing of attachments 2021-04-09 14:22:11 +01:00
Keviin Åberg Kultalahti 1b3e93c6c5 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Andrew Kingston b699573941 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Keviin Åberg Kultalahti a44a208391 fix erroneous class usage 2021-04-09 14:57:31 +02:00
Andrew Kingston 2b46f8bfbc Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:52:43 +01:00
mike12345567 30a7303762 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
Keviin Åberg Kultalahti 9e2cf66173 adds Link component to bbui 2021-04-09 14:44:48 +02:00
Andrew Kingston fa60089bae Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:42:20 +01:00
mike12345567 d508b905be Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
Andrew Kingston 372a8ac944 Fix error when attachment type doesn't exist 2021-04-09 13:36:54 +01:00
Andrew Kingston aa2cd7fbba Lighten table scrollbar colours 2021-04-09 13:08:37 +01:00
Andrew Kingston e7dcb311d3 Fix table border styles in default theme 2021-04-09 13:07:22 +01:00
Andrew Kingston ff174a7a3a Shrink scroll bars slightly 2021-04-09 13:02:55 +01:00
Keviin Åberg Kultalahti fe991c683e adds ActionGroup component 2021-04-09 13:48:55 +02:00
Keviin Åberg Kultalahti b43e0e6547 adds an ActionButton component to bbui 2021-04-09 13:38:48 +02:00
Keviin Åberg Kultalahti 5a2287ddcb moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Keviin Åberg Kultalahti af983023fb converts popover to spectrum 2021-04-09 11:22:49 +02:00
Keviin Åberg Kultalahti 0e52a1e12f add text slot conditional to button 2021-04-09 11:10:37 +02:00
Keviin Åberg Kultalahti e408fac0e5 conversion of buttons in builder 2021-04-09 10:52:06 +02:00
Keviin Åberg Kultalahti f72dda18de actually convert table command buttons 2021-04-08 18:10:18 +02:00
Keviin Åberg Kultalahti d8b352a9ae convert table command buttons to spectrum 2021-04-08 18:04:03 +02:00
Keviin Åberg Kultalahti 2801b77200 converts Button to spectrum 2021-04-08 17:04:27 +02:00
Andrew Kingston 5ef5106f07 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00
Keviin Åberg Kultalahti 560cc9670c fix integration modal 2021-04-08 16:29:08 +02:00
Keviin Åberg Kultalahti 5f7cfe3714 fix modal-container targeting for Portal component 2021-04-08 16:05:31 +02:00
Keviin Åberg Kultalahti 0675944893 converts ModalContent to semi-use spectrum 2021-04-08 15:46:34 +02:00
Keviin Åberg Kultalahti 88e04eb9e2 small fixes to modal 2021-04-08 15:04:26 +02:00
Keviin Åberg Kultalahti 4c3db2b238 add underlay component and fix modal 2021-04-08 14:47:57 +02:00
Keviin Åberg Kultalahti 6797b9af59 converts modal to use spectrum variables 2021-04-08 13:44:42 +02:00
Keviin Åberg Kultalahti 7f4250dca2 wip: bbui modal to spectrum conversion 2021-04-08 13:26:45 +02:00
Andrew Kingston eb143f9af3 Add spectrum icon support 2021-04-08 11:17:37 +01:00
Andrew Kingston 67a39dab78 Add other required spectrum attributes 2021-04-08 09:56:04 +01:00
Andrew Kingston 8698052774 Add spectrum classes for darkest theme around whole builder 2021-04-08 09:42:43 +01:00
mike12345567 0c974a70eb Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
mike12345567 e368b83e68 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 17:52:36 +01:00
mike12345567 16b5b19027 Updating to make sure the envoy generated dev file is very obviously not to be edited. 2021-04-07 17:52:22 +01:00
Andrew Kingston 8a0fcddf68 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
mike12345567 6c790206a8 Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 0d0c2cde32 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 16:08:43 +01:00
mike12345567 30b7678c78 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 206399f32f Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 37fe8c2ab6 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston f631f67979 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston 359e628156 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 0ac0f2f742 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston f9a54d08f5 Fix route error when creating a view 2021-04-07 13:43:11 +01:00
mike12345567 852ecd840c Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
mike12345567 45a63fe8c3 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:55:04 +01:00
mike12345567 c1f22def11 Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired. 2021-04-07 11:54:51 +01:00
Andrew Kingston 72b811b568 Add dev script to do a one-time BBUI build so that the stylesheet exists 2021-04-07 11:47:01 +01:00
Andrew Kingston 77228a3998 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 9c4cbbd52c Fix typo 2021-04-07 11:31:59 +01:00
Andrew Kingston 3f51c07177 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:31:26 +01:00
Andrew Kingston 99258da2df Add commonJS fields to package.json for client and standard components so the server can require them 2021-04-07 11:31:19 +01:00
mike12345567 486ca97330 Fixing component definition test cases and fixing an issue found by authorized test case. 2021-04-07 11:27:15 +01:00
Andrew Kingston d97a4a59e9 Export manifext in package.json 2021-04-07 11:17:01 +01:00
Andrew Kingston 1ca48a1602 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
Andrew Kingston ff938e70b5 Update string-templates tests 2021-04-07 10:56:06 +01:00
Andrew Kingston 7efcc29ba8 Update locks 2021-04-07 10:52:41 +01:00
Andrew Kingston 9df873a9a8 Include BBUI CSS in standard components 2021-04-07 10:52:33 +01:00
Andrew Kingston f4ed1812e4 Remove CORS hack now that the envoy proxy removes the need for it 2021-04-07 10:37:26 +01:00
Andrew Kingston 1b8f2067e4 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
Keviin Åberg Kultalahti 6c419de390 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 120c22fdb4 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Andrew Kingston bc821feeff Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston fb70cbb117 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston e0cc51c549 Restore proper client functionality with vite 2021-04-01 19:42:14 +01:00
Andrew Kingston 6b706cd438 Properly dedupe svelte to allow context sharing 2021-04-01 19:41:54 +01:00
Andrew Kingston 7fc31a1001 Ignore some client lib warnings 2021-04-01 19:25:56 +01:00
Andrew Kingston 80454387be Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston 2ff3fce35d Remove old code from container 2021-04-01 19:19:14 +01:00
Andrew Kingston 8e2a50aa0d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston 4f3900ecbd Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston a1a22df08e Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 7c76a26467 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 6c5129f8db Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston fb9f0f0982 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 17:07:56 +01:00
Andrew Kingston b148d05c5a Add standard components yarn.lock 2021-04-01 17:07:43 +01:00
mike12345567 724da18932 Adding back server lock file. 2021-04-01 17:07:31 +01:00
Andrew Kingston e61ee068a2 Add builder yarn.lock 2021-04-01 17:06:48 +01:00
mike12345567 74aa94fac6 Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567 4f589a8b49 Fixing an issue with server still expecting tmp directory to be created externally and updating component library to not cache with require in dev. 2021-04-01 16:28:51 +01:00
mike12345567 2f03b758a9 Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567 4cdef32bc9 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:20:06 +01:00
mike12345567 751607f72e Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
Andrew Kingston 9b9e60b5e2 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:09:37 +01:00
Andrew Kingston 5bf33c5d6b Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567 0b7502ba7e Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567 14d7ac5238 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567 95efc26839 Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 90df8a21c1 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 673fcad230 Remove dev script from BBUI as it is bundled from other packages in the dev stack now 2021-04-01 13:52:52 +01:00
Andrew Kingston 73afd3c676 Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston 1c8de5d52d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston 9aea8e34f4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti 9277a40b37 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 84bb7245fc adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti a7934ecfd0 bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567 de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti 22f6cd2840 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti f5a52c013d update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567 2252498cd6 Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567 1c44808336 Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Keviin Åberg Kultalahti 66cd1c6c04 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 55208b1358 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti dd5959eb0c re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 3c2f182b03 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 50da4159e1 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston b725c04b32 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti 3a8e753eae increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti ccf051ea43 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston 32e7a7950b Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti c1f9704dc1 adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 83efcaf12f version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston 8619db57b4 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00