Commit Graph

469 Commits

Author SHA1 Message Date
Andrew Kingston f00ebcf7d6 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 d0fc934ff7 Redirect to login from client apps when required 2021-05-20 14:47:17 +01:00
Andrew Kingston d8bbb5e06d Simplify loading logic to prevent empty state flashing when loading data in data providers 2021-05-13 16:33:19 +01:00
Andrew Kingston a551f3c8ae 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 d9923e1e98 Clean up data source context and remove explicit button actions for pagination 2021-05-13 12:30:45 +01:00
Andrew Kingston da40086c0b Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +01:00
Andrew Kingston 78ae68981e Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston 3eabaea42f Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston 1c3d477523 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 5aee405245 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Andrew Kingston 2d62c6a413 Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
mike12345567 a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
Andrew Kingston 9fddf13be5 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston a51f5c73c4 Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Maurits Lourens 8296eccd68 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
mike12345567 3947044014 Formatting. 2021-03-10 17:56:16 +00:00
Kevin Åberg Kultalahti 13787d9d3b
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 d99ff6653d lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti aeed22b711 fix notification store timers 2021-03-02 14:19:44 +01:00
Keviin Åberg Kultalahti c6292c070c fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
Keviin Åberg Kultalahti 43e37e2ed6 lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti 58f0c45085 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti b36d4c8a76 fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti 473c5726b3 removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti f711b7c075 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti d386de0282 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Keviin Åberg Kultalahti e4a2904735 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti 856e80fce2 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Andrew Kingston 0a99075cd4 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston c70201553e Add log out button action 2021-02-26 14:04:12 +00:00
Andrew Kingston c12917091f 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 61056fc2f0 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston 69fcaebc4d Add support for new relationship objects in client app bindings 2021-02-25 11:06:46 +00:00
Michael Drury adaabf5441
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 2f33032d38 Adding notifier to API for 401 requests, meaning login has notification on fail. 2021-02-22 14:23:16 +00:00
Andrew Kingston 8c4cf0bb8d Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-22 12:23:46 +00:00
Andrew Kingston d4d4a36448 Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 5c2aa7d603 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston 975f080075 Fix views not hot reloading when table data changes 2021-02-17 16:01:35 +00:00
Andrew Kingston f0a48ea341 Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 37b9ba4f6a Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
Andrew Kingston b0cf9d2544 Block notifications following a datasource invalidation so that unnecessary notification don't get shown 2021-02-11 09:39:35 +00:00
Andrew Kingston eac9dc7269 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Andrew Kingston 075de3edaf Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Martin McKeaveney c132b7b584 tidy up 2021-02-09 19:00:13 +00:00
Andrew Kingston a2a805b45b Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Martin McKeaveney 7f24c80bf0 search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
Andrew Kingston 98f13321d4 Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Martin McKeaveney 3189250d50 Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney 94f1a14445 few bugfixes 2021-02-06 18:22:58 +00:00
Martin McKeaveney 2b74fd887b test 2021-02-06 12:31:12 +00:00
Andrew Kingston fe00c66700 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 06b70706e3 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston 6eec1632d9 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston 1fb84ceeea 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 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Martin McKeaveney c57dee754f custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 580837f949 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston e3e22da303 Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston a0f26c9a4f Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston d921cfedf8 Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston da9b2cd09d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
Michael Shanks 7380250f0b fix: views not loading in deployed apps 2021-02-02 21:23:49 +00:00
Andrew Kingston 9a6108326b Remove unused vars and lint 2021-02-02 15:24:15 +00:00
Andrew Kingston d2c0ba8f74 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston 7c0a2bc2f5 Ensure fetching datasources always returns an array result 2021-02-02 10:35:00 +00:00
Martin McKeaveney 4b5e572da3 internal search working 2021-02-01 21:02:54 +00:00
Andrew Kingston cf43cf765c Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston 216566887c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-01 09:11:48 +00:00
Kevin Åberg Kultalahti 93dc21a849
Merge pull request #1017 from Budibase/fix/attachment-issues
Attachment issue fixes
2021-01-30 12:29:46 +01:00
Andrew Kingston 1ae0f41587 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston deccd11def Add attachment field to forms 2021-01-29 13:22:38 +00:00
Keviin Åberg Kultalahti 1800b73341 merge master 2021-01-29 13:13:43 +01:00
Andrew Kingston 9791e52a10 Add boolean field, fix label alignment, fix picker z index 2021-01-28 16:31:55 +00:00
Andrew Kingston 08cbfd705f 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 b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston 734e341ebb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-27 18:28:17 +00:00
Martin McKeaveney 1939c1e000 actions fix 2021-01-27 17:29:30 +00:00
Andrew Kingston bfebf0226a Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston a79f731c09 Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston 2bc6a70401 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 cd95748982 Merge branch 'master' into fix/attachment-issues 2021-01-26 12:49:27 +01:00
Keviin Åberg Kultalahti c552ab761f conditionally adds content-type json header if json is sent with request 2021-01-26 11:51:42 +01:00
Andrew Kingston c71007e7f8 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 47dbd43116 Fix client API URLs not being cleaned properly 2021-01-26 09:40:04 +00:00
Andrew Kingston 3c4afaf7a1 Remove success notification on query success to prevent notifications on 'read' queries 2021-01-26 09:31:41 +00:00
Andrew Kingston 126b3ee480 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Keviin Åberg Kultalahti f88368260d some more typo fixes 2021-01-25 13:39:19 +01:00
Keviin Åberg Kultalahti 1798511811 fix typos and linting issues 2021-01-25 13:36:35 +01:00
Keviin Åberg Kultalahti 21902aff14 fixes spelling error 2021-01-25 13:14:38 +01:00
Keviin Åberg Kultalahti 20e6279ee1 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 737c9fe52f adds notifications to running queries 2021-01-25 12:57:04 +01:00
Keviin Åberg Kultalahti 0832fc5e86 changes notification handling from catch-all to specific messages per action 2021-01-25 12:55:29 +01:00
Keviin Åberg Kultalahti 1f13fb3bd2 adds success notification messages to row API 2021-01-25 12:44:44 +01:00
Keviin Åberg Kultalahti 57dcaefa8b update catch all error message 2021-01-25 11:06:50 +01:00
Keviin Åberg Kultalahti 60330185fa switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 37c2b51095 failing API calls now display errors using the toast 2021-01-22 13:27:13 +01:00
Keviin Åberg Kultalahti 640043685d use const instead of var 2021-01-22 13:11:38 +01:00
Keviin Åberg Kultalahti 3f8d57eadb adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 0cab858780 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti f45726a047 lint fixes 2021-01-22 12:44:43 +01:00
Keviin Åberg Kultalahti 21e46285f7 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti c5e4097f4e Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 36c212048e adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 8f0405623c finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 6393c0798e Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 3104df6224 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 6a40ea7f06 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti 0c3c21361b first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 75c85978cb switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti 837709cab6 adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 8bb8b29b34 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston b0f5b9b1ce Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 261abd7919 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston c9f60cf660 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 b72e654ff0 Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston afe3654857 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 4c597ed91a 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 7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 6a1383b13b
adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
Martin McKeaveney b42c50ba9d fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston cc62a9c053 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Michael Shanks 6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston c7a9434e70 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 2dc2e43a00 WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 49477d3ac9 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 e14e5c85f2 Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks 668d192462 Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston c6532303ce Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 d3a4eed88b Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston 97dfc14007 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 5fb6503298 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 429c6f912c Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Andrew Kingston 7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00