* 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 ENFORCEABLE_SSO feature flag
* First draft of enforce sso configuration / show single sign on url
* Reading and writing isSSOEnforced + integration with login page
* Enable CI + lint
* Set correct base branch for CI
* Test fix for expected string changed
* Use tenant aware platform url as SSO link
* Bring in latest pro changes
* Lint
* Add useEnforceableSSO mock helper function
* Update configs.spec.ts with coverage for public settings
* Update users.spec.ts with additional tests for isPreventPasswordActions
* Lint
* Update refresh OAuthToken to use correct enum and add case statement
* 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>
* Prevent SSO users from setting / resetting a password
* Add support for ENABLE_SSO_MAINTENANCE_MODE
* Add typing to self api and build out user update sdk
* Integrate sso checks with user sdk. Integrate user sdk with self api
* Test fixes
* Move self update into SDK
* Lock down maintenance mode to admin user
* Fix typo
* Add health status response and return type signature to accounts.getStatus
* Remove some unnecessary comments
* Make sso save user function non optional
* Remove redundant check on sso auth details provider
* Update syncProfilePicture function name to getProfilePictureUrl
* Update packages/worker/src/sdk/users/events.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Add ENABLE_EMAIL_TEST_MODE flag
* Fix for logging in as sso user when existing user has password already
* Hide password update and force reset from ui for sso users
* Always disable sso maintenance mode in cloud
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Fix options inclusion constrant not being generated when creating a table from file upload
* Fix 0 being treated as null when specifying min and max constraints for number fields
* Sort newly generated option field inclusion constraints
* Revert previous solution and fix problem by removing incorrect local assignment statement
* 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
* Ensure update state actions have a binding for their own key
* Make own binding generation more futureproof
* Refactor array.find to array.some
* Move state binding generation up a level to account for all actions needing to be able to reference newly created state bindings
* 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>
* 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>
* 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