Commit Graph

739 Commits

Author SHA1 Message Date
Andrew Kingston 3ee1d3e8e4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston e7d1ed3114 Add custom theming for primary color and primary hover color to form components 2021-09-03 11:50:09 +01:00
Andrew Kingston 04a26f3344 Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Andrew Kingston 551eb629b4 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston 047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston 3eea601910 Add ability to persist state values in local storage 2021-08-26 17:52:04 +01:00
Andrew Kingston 9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston 5ed4ace66b Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Andrew Kingston 389788709a Prevent opening a screen modal if already inside a screen modal 2021-08-24 15:56:23 +01:00
Andrew Kingston 0a12089a54 Fix issue with memoizing onclick handlers nested inside conditional UI conditions 2021-08-23 16:39:09 +01:00
Andrew Kingston 796dc24b06 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston 11dc516b26 Add single button action for changing form step 2021-08-20 09:54:54 +01:00
Andrew Kingston 08171c1e68 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston 8a8e13119e Fix bug determining whether an app is inside the preview or not 2021-08-19 16:06:33 +01:00
Andrew Kingston 29aabb8a59 Fix crash when evaluating builder preview specific code in prod apps 2021-08-19 16:04:15 +01:00
Andrew Kingston 7605999a59 Ensure that the correct form step is always visible in builder preview 2021-08-19 14:53:13 +01:00
Andrew Kingston 9ea255b7bc Update validate form action to be able to only validate the current form step 2021-08-19 12:52:50 +01:00
Andrew Kingston 2f05450d79 Ensure client preview indicator doesn't crash when encountering incorrect node types 2021-08-19 12:52:13 +01:00
Andrew Kingston 9b87d1a03e Add button actions for navigating form steps 2021-08-18 15:21:18 +01:00
Andrew Kingston 32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston 473f18d510 Tidy up device bindings provider 2021-08-13 11:34:11 +01:00
Andrew Kingston 47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Martin McKeaveney df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston 6a9358086c Merge pull request #2233 from Budibase/peek-screen
Open screen in modal
2021-08-04 12:08:49 +01:00
Michael Drury ec26f6ab5e Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury 2456e69483 Merge pull request #2076 from Budibase/feature/multi-tenants
Multi-tenancy/organisations
2021-08-04 10:01:22 +01:00
Andrew Kingston b768e2991f Lint 2021-08-03 12:52:01 +01:00
Andrew Kingston e88e1da2af Fix going full-screen when opening an external link in a modal 2021-08-03 12:22:06 +01:00
Andrew Kingston 2eba603ad8 Darken modal underlay and add actions above screen modal to allow entering full screen or closing 2021-08-03 12:02:20 +01:00
Andrew Kingston 33431a5edc Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston def7f7a949 Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston 8e82a0efd9 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston 952c27058a Make full screen button quiet in peek modals 2021-07-30 14:13:43 +01:00
Andrew Kingston e5418deb89 Add initial work on peeking screens, only show one notification at a time, use spectrum notifications 2021-07-30 14:01:01 +01:00
Andrew Kingston 10d64456a2 Add back in client app border only when inside builder preview 2021-07-30 10:06:16 +01:00
Martin McKeaveney a42f87cbd9 merge with master 2021-07-29 10:06:33 +01:00
Martin McKeaveney 5c51d3bd80 remove border around app 2021-07-28 22:50:27 +01:00
Martin McKeaveney e40c8cd9ef Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
mike12345567 1b40740709 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Maurits Lourens f2c26a90c3 fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens cc7a1679f0 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston 73643793c9 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston 2715ff77d8 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens 07553b9937 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston 38df0b54a5 Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston c9eda114a8 Redirect to login screen on client logout to prevent viewing public pages if they exist 2021-07-25 13:47:28 +01:00
Andrew Kingston 95d05c8a8e Fix error with refreshing app package so that page reload on logout can be prevented 2021-07-25 13:43:07 +01:00
Andrew Kingston e74d9a7312 Reload location on client logout for full reset, avoiding error when public pages exist 2021-07-25 13:29:27 +01:00
Michael Drury f32b4f94e7 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury 88c0a635a0 Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Andrew Kingston fe00877f42 Merge pull request #2065 from Budibase/fix/save-row-action
Use tableId parameter when saving rows from button action
2021-07-24 12:13:09 +01:00
mike12345567 df942f7d7c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 26582f5ceb Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
Andrew Kingston 5202b09499 Send api version as header with every request from client library 2021-07-23 15:56:18 +01:00
Andrew Kingston b02f631888 Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston 204de7c4d3 Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston 7343c947ae Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Andrew Kingston 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston ab4e71c1a4 Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston ee8033e88f Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston bdf7b6257a Don't attempt to enrich a user object whenever the role is PUBLIC to avoid 403s 2021-07-07 11:28:35 +01:00
Andrew Kingston 07ea6469fd Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 414a7dbee6 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +01:00
Andrew Kingston 698e31acbc Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston 3e63c276dd Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
Andrew Kingston 56d687a236 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +01:00
Andrew Kingston 1d2b306574 Add border style as an explicit option to prevent issues with dynamically adding it via the styleable helper 2021-07-01 00:40:16 +01:00
Andrew Kingston ca032aa6fe Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston a41b376999 Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston 3b23d55685 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston ccb48a642f Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 9b9bda1fb4 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston 6bfcb3fc2b Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Andrew Kingston 0fb12e7619 Use the real current user even inside builder preview 2021-06-29 17:41:02 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston 829c2bb8ee Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston 7b876b2b42 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston be2ec9b427 Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston 5fb09deb48 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston 26136f5114 Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
Andrew Kingston fb18635bf9 Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston 098131099d Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
mike12345567 559e91ec29 Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 868d31299a Adding a page reload when 403 occurs, if token has expired this will return to login page. 2021-06-22 12:39:52 +01:00
mike12345567 df1e15dd55 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 03c5640856 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston 785f724dda Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston 0d99c69fe6 Fix typo 2021-06-21 10:11:18 +01:00
Andrew Kingston 1879fbeee3 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Andrew Kingston be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston 1890dfed29 Adjuts top position of settings bar when no room 2021-06-17 16:23:17 +01:00
Andrew Kingston 5a6a40a80c Key client layout component to ensure fully remounting when swapping layouts in the builder preview 2021-06-17 13:20:29 +01:00
mike12345567 3d9dced317 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
mike12345567 4950db460c Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 ce8d06df06 Some of the functionality required for external SQL rows API. 2021-06-14 19:05:39 +01:00
Andrew Kingston ad28ea4855 Move scrolling to layout level and provide opinionated defaults 2021-06-14 18:24:02 +01:00
mike12345567 146a72f61d Fixing internal delete. 2021-06-14 13:52:06 +01:00
Andrew Kingston 4a3c480b26 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 63c3310a8f Move HoverIndicator mouseleave handler to body element for better detection rates 2021-06-11 13:17:38 +01:00
Andrew Kingston ca88e2abe1 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston f76898d80e Add manifest option to prevent showing component empty states 2021-06-11 08:49:06 +01:00
Andrew Kingston 7e8e482f8f Improve component empty states and fix selection indicator lockup bug. Fix data provider not exporting loaded context 2021-06-11 08:45:58 +01:00
Andrew Kingston 79993bafda Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston 65d6216d33 Refactor client component structure, fix select bar z index, add titles to container bar settings 2021-06-10 18:42:41 +01:00
Andrew Kingston da72a079ae Use IntersectionObservers to determine visibility of selected and hovered components 2021-06-10 15:13:51 +01:00
Andrew Kingston fc80979653 Fix indicator border radius style when flipped 2021-06-10 09:20:17 +01:00
Andrew Kingston 8576166d03 Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +01:00
Andrew Kingston 2383e4e54a Merge branch 'master' of github.com:Budibase/budibase into interactive-layouts 2021-06-09 15:10:11 +01:00
Andrew Kingston 4138103f68 Improve client app overflow and selection indicators 2021-06-08 15:16:37 +01:00
Andrew Kingston 65e7453fbf Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Martin McKeaveney 499583ff22 fixing attachments for public apps 2021-06-08 12:50:58 +01:00
Andrew Kingston c41f57861c Make settings bar spectrum compatible 2021-06-08 08:14:50 +01:00
Andrew Kingston 888f6cf398 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston 280a09afd7 Add client SDK function to get a component action and clean up date range picker 2021-06-03 10:10:25 +01:00
Andrew Kingston a22fd8a0a1 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
Andrew Kingston 01be9be963 Fix formula fields causing handlebars enrichment of client component settings to fail 2021-05-26 17:38:49 +01:00
Andrew Kingston 6c960dd9e2 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston 74a8eb4c1a Redirect to login from client apps when required 2021-05-20 14:47:17 +01:00
Andrew Kingston a94682d645 Simplify loading logic to prevent empty state flashing when loading data in data providers 2021-05-13 16:33:19 +01:00
Andrew Kingston 81e9f5b860 Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app 2021-05-13 16:32:52 +01:00
Andrew Kingston 4d564365cf Clean up data source context and remove explicit button actions for pagination 2021-05-13 12:30:45 +01:00
Andrew Kingston e09440f077 Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +01:00
Andrew Kingston 1a2e17ff17 Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston e661fe8cf2 Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 6f6770cef7 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Andrew Kingston 379df050cf Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Martin McKeaveney a68227735c ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Andrew Kingston 83a021a45d Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
mike12345567 b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
Andrew Kingston dd54bc9771 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Maurits Lourens 43f62720bb 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
mike12345567 68735f1b4f Formatting. 2021-03-10 17:56:16 +00:00
Kevin Åberg Kultalahti ef84e2abcb Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Keviin Åberg Kultalahti a15e6b0e25 lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti 92ad28a160 fix notification store timers 2021-03-02 14:19:44 +01:00
Keviin Åberg Kultalahti 4575285d5f fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
Keviin Åberg Kultalahti c37aefc0cf lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti 1bd32752a7 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti 97213ec99a fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti 839ca7f8ba removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti ba7cc5c479 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti cda7c7f4c1 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Keviin Åberg Kultalahti 6122711ee8 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti 0ce7da93a7 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Andrew Kingston d27dff0261 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston a67a8fb957 Add log out button action 2021-02-26 14:04:12 +00:00
Andrew Kingston dd0fee3dc3 Pull enriched user when logging in to client app so that relationships are available as bindings 2021-02-26 09:57:36 +00:00
Andrew Kingston ac46cbdb14 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston bd5bac4ef2 Add support for new relationship objects in client app bindings 2021-02-25 11:06:46 +00:00
Michael Drury 9bd6126a5f Merge pull request #1152 from Budibase/user-active-and-bugs
Some fixes and the ability to set a user to inactive
2021-02-22 15:10:16 +00:00
mike12345567 b46d9847ad Adding notifier to API for 401 requests, meaning login has notification on fail. 2021-02-22 14:23:16 +00:00
Andrew Kingston 9c37fa8716 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-22 12:23:46 +00:00
Andrew Kingston 7b4b22377d Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 2460280841 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston 7494714845 Fix views not hot reloading when table data changes 2021-02-17 16:01:35 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 8b23f603bd Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
Andrew Kingston 9a73a16b0c Block notifications following a datasource invalidation so that unnecessary notification don't get shown 2021-02-11 09:39:35 +00:00
Andrew Kingston 2e9122ca81 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Andrew Kingston 3ffe00fe2f Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Martin McKeaveney 580ae3fb4c tidy up 2021-02-09 19:00:13 +00:00
Andrew Kingston 2c125bc671 Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Martin McKeaveney 07aeccb36d search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
Andrew Kingston bd1bd8ee2a Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Martin McKeaveney bfa865cf3c Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney 491d3afafd few bugfixes 2021-02-06 18:22:58 +00:00
Martin McKeaveney 2a78d1f419 test 2021-02-06 12:31:12 +00:00
Andrew Kingston c0555745e1 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 6bdde675a2 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston 185f4ec468 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston 5846e2ef7c Change how client provides the current user so that the whole app is actually wrapped in a provider which provides the current user 2021-02-05 11:44:33 +00:00
Martin McKeaveney b4628a43d0 merge 2021-02-05 11:18:37 +00:00
Martin McKeaveney b1b02934ed custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 5244ce1a62 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston c36ddceb7e Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston e42b12668a Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston d85665d21c Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston 4d411857fd Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
Michael Shanks 10d672460a fix: views not loading in deployed apps 2021-02-02 21:23:49 +00:00
Andrew Kingston 772fdfa837 Remove unused vars and lint 2021-02-02 15:24:15 +00:00
Andrew Kingston e3b0de6805 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston 17ad44369c Ensure fetching datasources always returns an array result 2021-02-02 10:35:00 +00:00
Martin McKeaveney 27c7f5697b internal search working 2021-02-01 21:02:54 +00:00
Andrew Kingston 9c0e417408 Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston 4630699f13 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-01 09:11:48 +00:00
Kevin Åberg Kultalahti ec5af43587 Merge pull request #1017 from Budibase/fix/attachment-issues
Attachment issue fixes
2021-01-30 12:29:46 +01:00
Andrew Kingston e0b6e78f72 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston a4de9668ed Add attachment field to forms 2021-01-29 13:22:38 +00:00
Keviin Åberg Kultalahti f8f15b7b4b merge master 2021-01-29 13:13:43 +01:00
Andrew Kingston 2c104396df Add boolean field, fix label alignment, fix picker z index 2021-01-28 16:31:55 +00:00
Andrew Kingston 21ec0ad11d Remove logOut call when refreshing the page and not logged in, to avoid changing the URL 2021-01-28 14:51:24 +00:00
Andrew Kingston 9d870dbccc Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston b8fb2ba43c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-27 18:28:17 +00:00
Martin McKeaveney 0f18ee70ef actions fix 2021-01-27 17:29:30 +00:00
Andrew Kingston 6631fe2af8 Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston 12f3b7f6fa Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston 365c503224 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Keviin Åberg Kultalahti 958efd2303 Merge branch 'master' into fix/attachment-issues 2021-01-26 12:49:27 +01:00
Keviin Åberg Kultalahti b7006e097c conditionally adds content-type json header if json is sent with request 2021-01-26 11:51:42 +01:00
Andrew Kingston 77189c6d73 Hide repeater placeholders when not running inside the builder or when the component hasn't been initialised fully 2021-01-26 09:48:41 +00:00
Andrew Kingston bfd24571b2 Fix client API URLs not being cleaned properly 2021-01-26 09:40:04 +00:00
Andrew Kingston 03e6799258 Remove success notification on query success to prevent notifications on 'read' queries 2021-01-26 09:31:41 +00:00
Andrew Kingston 5bec329581 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Keviin Åberg Kultalahti d622b75db3 some more typo fixes 2021-01-25 13:39:19 +01:00
Keviin Åberg Kultalahti 8ed9dd08cf fix typos and linting issues 2021-01-25 13:36:35 +01:00
Keviin Åberg Kultalahti 58f8350984 fixes spelling error 2021-01-25 13:14:38 +01:00
Keviin Åberg Kultalahti b64b164236 adds catch-all notification to some requests that aren't caught in the API 2021-01-25 13:10:13 +01:00
Keviin Åberg Kultalahti d2790ddd19 adds notifications to running queries 2021-01-25 12:57:04 +01:00
Keviin Åberg Kultalahti 8713105b62 changes notification handling from catch-all to specific messages per action 2021-01-25 12:55:29 +01:00
Keviin Åberg Kultalahti 2034fb8646 adds success notification messages to row API 2021-01-25 12:44:44 +01:00
Keviin Åberg Kultalahti d419766a31 update catch all error message 2021-01-25 11:06:50 +01:00
Keviin Åberg Kultalahti 2a9ae62834 switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 73b2a775aa failing API calls now display errors using the toast 2021-01-22 13:27:13 +01:00
Keviin Åberg Kultalahti 598f58bb63 use const instead of var 2021-01-22 13:11:38 +01:00
Keviin Åberg Kultalahti 67afb1678f adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 91e88d2025 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti 6527f4ac74 lint fixes 2021-01-22 12:44:43 +01:00
Keviin Åberg Kultalahti bafd229716 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti e411ac5b3d Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 0e1142b3cc adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 65652e1c14 finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 343687cbab Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 4188761ea6 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 db5ce51c67 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti ca9f979105 first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 260213e468 switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti e3b4ef81ae adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 86a3caa881 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston 3621bcf1de Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 9056b0e49d Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston ce6d89bc5c Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston 976517e028 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 d7a3e6210d Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 84450d0323 adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
Martin McKeaveney 133d93fbee fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston cdfcff4bbb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Michael Shanks fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston af73139a87 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 15de3c8f83 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 ef0787917a Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks ccb2d7de7d Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston e94cdf1f8e Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney 102b7ce61f binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 f98bd2ca4a Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston cf087209d7 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 32c71bd006 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney 963d8cb679 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 acbc15ad84 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Andrew Kingston fcad9892e0 Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Martin McKeaveney d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 0cfc05f6a8 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston 34509e0c12 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston a40bf95c41 Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston c101715c0e Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 40a6348e7c Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
Martin McKeaveney 755fa0ac4a allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 1a1aa5963d Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney b4b4941003 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Andrew Kingston cb7b5ae306 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 84e1f54fa0 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Andrew Kingston a926b23720 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston 5130bdf3cd Improve handling of routes and screens. Fix issue which could prevent logging in depending on order of screens in app definition 2020-12-08 10:15:33 +00:00
Martin McKeaveney 39473cb029 merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 3b049bc286 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston d628edffe0 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 155c375ada Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 13a137ecd1 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney 13824dcf09 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston ce2bff5bab Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston 3ffeda9da9 Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 1c2a869e26 merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston 00ef8dda44 Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 48a5a50e85 Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 55aecdd850 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston c962ea9ad9 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00