* update svelte versions
* temporarilly disable svelte warnings
* change bbap version pointed to
* remove sub module specifying svelte version
* point at updated account-portal
* add type declaration for svelte in the server
* add svelte transformer for server jest tests
* remove svelte from bbui package.json
* get builder tests working
* linting fixes
* prettier fixes
* fix server test
* fix another server test
* fix server serverlog test
* account-portal-version
* pin master version of pro
* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
* Change default button type to CTA
- change default button type to CTA
- change ordering of types/variants
* Fix layout shift within portal
Within the portal, when navigating from screen to screen, there's a slight layout shift caused by the scrollbar. This is a small fix.
* row/column icons change
The current row/column icons for positioning components are confusing. I believe these icons are easier to understand.
* Fix for horizontal scrollbar showing
When adding/removing actions within automations, the horizontal scrollbar flashes. Fix.
* Title change for Upload data
Upload data is not wrong, but it's best to be explicit.
* Increase size of upgrade button
* small fix for the styling inconsistency
* Dianostics padding fix
* lint fix
* update account-portal
* update icons
---------
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Mel O'Hagan <mel@budibase.com>
* Search for initially set value and add to options
* Only append option if needed
* Handle change
* Open dropdown on search
* Avoid duplicates
* Add client side search
* lint
* Offset popover
* refactor
* Refactor
* refactor
* Return the actual objects (#11570)
* Bump version to 2.9.30
* trigger a feature branch on pull request (#11584)
trigger a feature branch on pull request
* Bump version to 2.9.31
* Bump version to 2.9.32
---------
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Budibase Staging Release Bot <>
* base work for using popover to create and edit columns
* more work to enable editing column in popover
* update styling of column type configs
* add new option picker component
* some updates to how the popover is opened and the new picker
* more updates to support the popover handling correctly
* update the popover to support a custom z index
* some styling around the colour picker
* update naming
* fix lint errors
* fix lint
* update filename
* incremental column numbers based on existing schema
* move func declaration
* add option color object to schema not constraints
* ux / pr comment updates
* undefined var
* fix issue with deleting option
* change background color
* update popove z-index
* Binding drawer fixes
* Added missing headless flag for the bindable combobox
* Fix for QueryEditor width
* Fix svelte transitions in grid new row component breaking routify
* Bump version to 2.7.7
* fix REST connector failure to save
* Bump version to 2.7.8
* Bump version to 2.7.9
* Unexpected token when export data (#10721)
* Tidy ID string for JSON parse
* Display error for composite keys
* Unit test WIP
* directly assign the mock function on the datasource
* Unit tests for exportRows ID handling
---------
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
* Return all rows if oneOf value is falsey (#10638)
* Bump version to 2.7.10
* Make sure divider fields are left-most (#10627)
* Make sure divider fields are left most
* Refactor
* Bump version to 2.7.11
* Temporarily remove the focus store update as it triggers a full redraw of the component settings
* Linting
* Removed commented out code
* Bump version to 2.7.12
* Bump version to 2.7.13
* Do not show Business tag for Email action (#10867)
* Bump version to 2.7.14
* new deploy trigger (#10892)
* point the deploys at the new env
* Bump version to 2.7.15
---------
Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
* 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>
* Tidy logic for creating initial component instances
* Add initial implementation of enriching empty settings
* Fix regression that prevented custom placeholders from working (#9994)
* Tidy up
* Add automatic naming of form fields when added
* Update missing required setting placeholder
* Improve error states and add ability to automatically wrap a component in a required parent type
* Fix crash in column editor and rename component placeholder to error state
* Select the parent component after adding it when wrapping a component with a missing ancestor
* Fix blocks and make fields require forms
* Improve empty component placeholder
* Lint
* command palette E2E
* tidy up
* Improve theming with spectrum badges and dedupe spectrum label usage
* Update data section nav to match designs and use panel component
* Fix main content layout in data section
* Update data section routing for tables
* Improve data section routing for tables to account for edge cases
* Update internal and sample datasource routing
* Update external datasource routing
* Update routing for queries and make a top level concept like everything else
* Update routing for views
* Fix undefined reference when deleting datasource
* Reduce network calls and fix issues with stale datasourcenavigator state
* Update routing for REST queries and unify routes for normal queries and REST queries
* Lint
* Fix links for queries from datasource details page
* Remove redundant API calls and improve table deletion logic
* Improve data entity deletion logic and redirection and fix query details keying
* Improve determination of selected item in datasource tree
* Update command palette to support new data routes
* Update command palette, fix keybind issues and updating loading state
* Lint
* Fix publish command and fix preview published app URL
* Fix BBUI import
* Lint
* Fix datasource navigator selected state not working for internal DB or sample data
* Update command palette to use ctr+k/cmd+k
* Update command palette to match new designs and add visible categories
* Restore missing styles£
* Use proper theme constants for changing theme in command palette
* Add command palette action for inviting users
---------
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
* Added tabs to the component settings section in the builder
* Review updates
* Update setting tab buttons to be size M and use a lighter font color when selected
---------
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
* 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>
* Rewrite position dropdown helper to properly work as a svelte action, improve performance and fix bugs
* Update action button styles
* Update spacing on some onboarding pages and update background gradient
* Prevent special characters in first app name
* Fix type in onboarding tour
* Default first app name and url to having a value
* Update text in first app onboarding file upload
* Fix double mounting of apps page causing issues and templates error
* Fix null app ID when creating your first app using data upload
* Fix app deletion not causing app list to be refreshed
* 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>
* Added fields for tls certificate files
* lint
* Only include cert fields if SELF_HOSTED
* lint
* Refactor getSchema function
* Add datasource field group with accordion
* Handle no display column on fieldGroup field
* Override text transform accordian header
* Renamed from TLS to SSL in UI config
* readable flag
* Add accordion component
* Refactor
* 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 core page layout for onboarding to frontend-core
* Add initial work on fancy form components for onboarding
* Add checkbox component and add error handling to fancy form fields
* Add fancy select and improve other fancy components
* Update fancy components and fix select rounded corners
* Fix mobile styles for split pages
* Revert google button
* Fix links not working with click handlers
* Fix label animation
* Improve styles of fancy components
* Improve mobile compatibility with fancy button radio
* Revert changes to builder files for testing
* Tidy up small UI issues
* Improve some minor design issues
* Fix issue with scroll padding not being applied
* Ensure unauthorised users cannot view pages they should not be able to
* Lint