1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

607 commits

Author SHA1 Message Date
deanhannigan
8c144bbe2c Merge pull request #10732 from Budibase/feature/binding-v2-updates
Binding V2 Updates
2023-05-31 19:15:20 +01:00
Andrew Kingston
564a98bedc Increase tooltip max size and fix issue with overflow in app overview 2023-05-31 18:23:20 +01:00
Dean
4c26beb16e Linting 2023-05-31 11:34:02 +01:00
Dean
985c7eb56e PR Feedback updates 2023-05-31 11:26:03 +01:00
Dean
cd95df629e Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-31 11:07:47 +01:00
Dean
6c184bd6d9 PR Feedback filtering by label and section name. Disable default filter highlighting 2023-05-30 15:02:13 +01:00
Dean
1a8470e949 PR updates and fix for mode switch issue 2023-05-30 14:02:18 +01:00
Gerard Burns
23ee9f4af8 Post Sign Up Onboarding Changes (#10701)
* wip

* PR Feedback

* Fixes

* PR Feedback

* PR Feedback

* PR Feedback
2023-05-30 12:54:57 +01:00
Dean
c71ad13048 Lint fixes 2023-05-30 10:15:10 +01:00
Dean
74958e59d2 Linting 2023-05-30 10:00:56 +01:00
Dean
ad7cd39387 Removed console log 2023-05-30 09:46:17 +01:00
Dean
15e167ea9e Minor fix for ranking 2023-05-29 22:03:29 +01:00
Dean
e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean
56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
Andrew Kingston
cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
Andrew Kingston
f246a982db Update lock icon and remove logs 2023-05-25 10:45:00 +01:00
Adria Navarro
cff9c26ef2 Lint 2023-05-19 17:46:34 +02:00
Andrew Kingston
a00d502acb Add title attribute to reveal full screen URLs when hovering in screen list panel 2023-05-12 08:04:34 +01:00
Rory Powell
ec06f13aa6 Per user pricing (#10378)
* Update pro version to 2.4.44-alpha.9 (#10231)

Co-authored-by: Budibase Staging Release Bot <>

* Track installation and unique tenant id on licence activate (#10146)

* changes and exports

* removing the extend

* Lint + tidy

* Update account.ts

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>

* Type updates for loading new plans (#10245)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS` (#10247)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete + migration (#10250)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Lint

* Types and structures for user subscription quantity sync (#10280)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing for licensing (#10346)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing

* Lint

* Pricing/billing page (#10353)

* bbui updates for billing page

* Require all PlanTypes in PlanMinimums for compile time safety

* fix test package utils

* Incoming user limits warnings (#10379)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* Types and test updates for subscription quantity changes in account-portal (#10372)

* Add chance extensions for `arrayOf`. Update events spies with license events

* Add generics to doInTenant response

* Update account structure with quota usage

* User count limits (#10385)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* user limit messaging on add users modal

* user limit messaging on import users modal

* update licensing store to be more generic

* some styling updates

* remove console log

* Store tweaks

* Add startDate to Quota type

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>

* Lint

* Support custom lock options

* Reactivity fixes for add user modals

* Update ethereal email creds

* Add warn for getting invite from code error

* Extract disabling user import condition

* Handling unlimited users in modals logic and adding start date processing to store

* Lint

* Integration testing fixes (#10389)

* lint

---------

Co-authored-by: Mateus Badan de Pieri <mateuspieri@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Peter Clement <PClmnt@users.noreply.github.com>
2023-04-24 09:31:48 +01:00
Gerard Burns
d36cd3b1f8 Builder Unit Test PoC (#10173)
* wip

* wip
2023-04-18 14:37:29 +01:00
Gerard Burns
7e5b99aa84 Fix Help Menu (#10257)
* Fix Help Menu

* PR Feedback

* linting
2023-04-18 10:37:11 +01:00
Mateus Badan de Pieri
d8ce0713aa Merge branch 'develop' into license-key-mgmt 2023-03-10 12:29:10 +00:00
Andrew Kingston
b6247fb9e4 Remove logs 2023-02-28 12:54:18 +00:00
Andrew Kingston
a44729d7ec Add role footer for admins and developers, remove wasted API calls 2023-02-28 12:49:40 +00:00
Andrew Kingston
862ba6ce92 Update spacing, borders and sizing 2023-02-28 12:29:13 +00:00
Mateus Badan de Pieri
057abb5351 move component to bbui 2023-02-27 15:04:30 +00:00
Andrew Kingston
8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Gerard Burns
5e7305b4dd Fix Automation Bindings Panel Requiring a Double Click (#9688)
* Fix Automation Bindings Panel Requiring a Double Click

* PR Feedback

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-21 15:04:37 +00:00
Martin McKeaveney
d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Dean
73f3fc41cb Bug fixes for logo and binding validation. Random fix for a button actions issue found while testing 2023-02-02 12:49:26 +00:00
Andrew Kingston
4e9d952b52 Merge branch 'develop' of github.com:Budibase/budibase into Cypress 2023-02-01 08:24:30 +00:00
Andrew Kingston
6e12c3fa3c Remove most traces of data-cy attributes 2023-02-01 08:20:46 +00:00
Gerard Burns
dd343a5946 New App Onboarding (#9489)
* New App Onboarding

* Lint

* Move app creation onboarding into its own route

* Fix quiet action button variant

* Fix alt attribute background image flashing

* Update routing logic and redirects to show app creation onboarding

* Navigate to data rather than design upon initial app creation to allow tour to function properly

* Tidy up popover logic and remove tip functionality

* Fix binding popovers

* Lint

* Silence spammy warnings from the builder

* Exclude SVG files from rollup plugin image to fix spectrum icons

* Fix help menu icon colours not working in light themes

* Tweak help menu styles

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-01-31 19:34:32 +00:00
Gerard Burns
09ed767d0b New Help Menu (#9371)
* New Help Menu

* design PR feedback

* Feedback updates

* Feedback updates, font awesome enhancement, upgrade button hidden if licensing is disabled

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
2023-01-31 17:18:22 +00:00
melohagan
919323b500 Fix/automation update deletes relationship (#9468)
* Add padding to text field input

* Apply padding to modal binding input

* Support relationships in automation bindings

* Trim automation field keys

* Trim automation field name

* Empty string check

* Add checkbox for clearing relationships update row

* Added state for automation field metadata

* clearRelationships updateRow check

* Padding tweak
2023-01-31 10:11:56 +00:00
Andrew Kingston
d92f1a7097 Portal redesign (#9336)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add comment to docker-compose config
2023-01-18 13:56:53 +00:00
melohagan
bf01631cdc Merge pull request #8886 from Budibase/bug/sev3/query-bindings-drawer
Query bindings drawer fixes
2022-12-07 11:06:19 +00:00
mike12345567
d3029d33ae Minor fix for #8843 - the binding input drawer was using the format helper. rather than helpers. when generating JS helpers. 2022-12-06 18:21:54 +00:00
Mel O'Hagan
e83c25cb24 Remove console log 2022-12-01 10:37:58 +00:00
Mel O'Hagan
002c1e7201 Remove helpers and convert to JS query bindings 2022-12-01 10:29:06 +00:00
Dean
bb4ee20bd6 Values or defaults passed to the picker are parsed to ensure only valid options are marked/added to the component. 2022-10-17 12:03:13 +01:00
mike12345567
c40ce20a38 Improving regex for processing custom SVG. 2022-09-30 09:17:38 +01:00
mike12345567
95136a54f2 Adding ability for datasource plugins to have a custom icon svg. 2022-09-29 19:30:53 +01:00
Andrew Kingston
6c63edc279 Merge branch 'master' of github.com:Budibase/budibase into bug/sev2/is-in-filter-startswith-crash 2022-09-28 14:16:45 +01:00
Martin McKeaveney
57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Andrew Kingston
8563f1df90 Merge branch 'master' of github.com:Budibase/budibase into bug/sev2/is-in-filter-startswith-crash 2022-09-26 15:04:02 +01:00
Andrew Kingston
ae23c019a4 Update app overview tile size and wrapping 2022-09-23 15:40:58 +01:00
Peter Clement
f069ddb27e Automation fixes 2022-09-23 13:35:27 +01:00
mike12345567
9b29bd6709 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
Mel O'Hagan
97e33f8eee Only call startsWith if string 2022-09-21 15:25:53 +01:00
Rory Powell
72abfd8e52 Invert template display logic to fix cypress 2022-09-20 10:59:12 +01:00
mike12345567
1be71933ca Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-16 17:02:08 +01:00
Dean
f0f222f9ea Merge branch 'feature/day-pass-pricing' of github.com:Budibase/budibase into feature/day-pass-pricing 2022-09-15 09:06:48 +01:00
Dean
b848fc52d9 Merge branch 'feature/day-pass-pricing' of github.com:Budibase/budibase into feature/day-pass-pricing 2022-09-13 11:52:58 +01:00
Dean
60feccaac0 Merge commit 2022-09-13 11:52:31 +01:00
Rory Powell
45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
mike12345567
932f119fce Updating params in the REST interface so that they can be used in and out of the URL - meaning that updating in one place affects the other. Reduces a bit of the confusing UX around this - discussed in #7683. 2022-09-07 19:15:05 +01:00
Martin McKeaveney
e4a9b684c7 Merge branch 'develop' of github.com:Budibase/budibase into revert-7503-revert-7414-feature/binding-ux-update 2022-09-02 18:45:00 +01:00
Andrew Kingston
412ee0b35f Tidy up component list panel monolith 2022-09-01 13:11:41 +01:00
Martin McKeaveney
3f26c411c9 Revert "Revert "Feature/binding ux update"" 2022-08-30 10:16:15 +01:00
Martin McKeaveney
65bf17b87c Revert "Feature/binding ux update" 2022-08-30 10:16:01 +01:00
Dean
5e63adb42b Added sections for UI component event bindings 2022-08-24 16:38:08 +01:00
Dean
447f45d71b Updated the hover behaviour for bindings and added flags to stop empty sections from rendering 2022-08-24 12:36:58 +01:00
Dean
2e807fdc3d Code review updates 2022-08-24 12:07:51 +01:00
Dean
09bf4ecd42 Removed duplicated div structure 2022-08-23 10:52:25 +01:00
Dean
02c89bcdb1 Minor refactoring and icon updates 2022-08-23 09:56:09 +01:00
Dean
f4a5715461 Merge remote-tracking branch 'origin/develop' into feature/binding-ux-update 2022-08-22 12:49:56 +01:00
Dean
098c67ce5d Initial commit of UX refactor 2022-08-22 12:49:05 +01:00
Mel O'Hagan
1200f4d2a0 Allow delete attachments from builder data section 2022-08-15 15:46:55 +01:00
Andrew Kingston
dbdfb9cb83 Optimise loading in overview tab and add transition to dash card header 2022-08-08 12:25:49 +01:00
Andrew Kingston
66ec56e631 Remove public from role options for users 2022-08-05 10:52:34 +01:00
mike12345567
26c3f8a486 Switching variable name to make it more obvious value isn't being set directly. 2022-08-04 12:56:08 +01:00
mike12345567
b7f63aed03 Merge branch 'develop' of github.com:Budibase/budibase into labday/transpiler 2022-08-04 12:41:10 +01:00
Dean
66ca438c98 Code review updates 2022-08-02 15:20:53 +01:00
Dean
028e6d2bf9 Removed debugging line 2022-08-02 11:20:22 +01:00
Dean
31af7b9c69 Ensure the row key is unique even when the rows are sorted. 2022-08-02 11:16:35 +01:00
mike12345567
860b24649a Merge branch 'develop' of github.com:Budibase/budibase into labday/transpiler 2022-07-29 16:29:05 +01:00
mike12345567
b4a8109cf0 Adding the examples and helper add functionality for JS as well as hiding button to convert outside of development environment. 2022-07-29 14:12:04 +01:00
Andrew Kingston
3ebb2e193f Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-29 13:48:27 +01:00
mike12345567
7a6efe3ea8 Some minor fixes for edge cases. 2022-07-29 09:50:53 +01:00
mike12345567
3d13030aa1 Initial attempt at transpiling HBS to JS. 2022-07-28 20:20:53 +01:00
Andrew Kingston
b4b9a5f526 Shrink square status light, shrink nav item text 2022-07-27 11:16:43 +01:00
Andrew Kingston
61481fd50b Update screen list to match designs. Update nav items to make text clearer. Update screen picker 2022-07-25 17:06:00 +01:00
Peter Clement
ad1cf0726f Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-21 11:47:08 +01:00
Dean
bdc8d1e675 Fix for left positioning of the KeyValueBuilder drawers 2022-07-20 16:38:42 +01:00
Peter Clement
819ce4e360 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Andrew Kingston
16116f2877 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-07-11 10:33:50 +01:00
Peter Clement
00ef0e3ef9 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-05 16:04:01 +01:00
deanhannigan
37ce29fa2d Merge pull request #6315 from Budibase/feature/current-user-rest-bindings
REST query bindings for Current User
2022-07-05 09:22:03 +01:00
Dean
e14289abee Added fixes for query body binding. Query parameter fixes and pretty bindings added 2022-07-03 17:33:25 +01:00
Dean
31b51e1ecf Fixes for datasource authentication parsing. Mapping UX updates 2022-07-01 17:27:24 +01:00
Andrew Kingston
31502eceee Pull in role select component from new design UI 2022-06-24 14:31:55 +01:00
Andrew Kingston
0dbc4fcd3c Pull in more work from new design UI 2022-06-24 14:31:35 +01:00
mike12345567
d8b091309e Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-20 15:56:00 +01:00
Andrew Kingston
f1250840af Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-20 13:28:26 +01:00
Andrew Kingston
b5d635c83f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-15 15:32:33 +01:00
mike12345567
c4ab4b5af8 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-15 15:08:48 +01:00
Andrew Kingston
faa224cf2b Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-06-15 11:08:40 +01:00
Andrew Kingston
eb3a7b44b6 Merge pull request #6309 from Budibase/builder-focus-updates
Builder focus updates
2022-06-15 11:07:46 +01:00
Andrew Kingston
ab9adc5cd5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-06-15 09:02:35 +01:00