Commit Graph

73 Commits

Author SHA1 Message Date
Andrew Kingston 6c38eb5a4c Add back in auto focus behaviour to modals but disable it for screen creation 2023-08-25 16:45:41 +01:00
Andrew Kingston 71c092be1e Stop focusing submit button in modals as this causes long modals to scroll to the bottom 2023-08-25 09:49:04 +01:00
Gerard Burns 1f59986a87 Use constant for keeping modal open (#11067) 2023-07-05 13:49:39 +01:00
Conor Webb 7e3b6fd07b Prevent premature closure of imported users modal. (#10916) 2023-06-15 09:41:17 +01:00
Andrew Kingston e5271bdef1 Command palette (#9942)
* 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>
2023-03-09 14:15:43 +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
Andrew Kingston 6e12c3fa3c Remove most traces of data-cy attributes 2023-02-01 08:20:46 +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
Dean 7b65b693e0 Added delete functionality to the edit table row modal 2022-11-23 15:03:00 +00:00
mike12345567 1be71933ca Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-16 17:02:08 +01:00
Peter Clement 0ebe0b8275 remove verify and fix deletion bug 2022-09-07 16:08:29 +01:00
Peter Clement cb4b918e5a remove name selection from UI 2022-09-05 11:27:43 +01:00
Peter Clement b9b8d59005 add plugins ui 2022-08-30 10:49:19 +01:00
Andrew Kingston 3caae00d38 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-keyboard-shortcuts-develop 2022-08-17 14:20:34 +01:00
Andrew Kingston 9ad23afc89 Update groups list and groups details pages to new designs. Multiple fixes and improvements. Standardise divider thickness 2022-08-04 11:06:49 +01:00
Andrew Kingston 3087fe6505 Use new styles for secondary buttons 2022-08-02 19:41:43 +01:00
Andrew Kingston ae62184e7d Update modal background colours to be themeable and use theme colours for nord and midnight 2022-08-01 09:54:30 +01:00
Andrew Kingston ba409b7b3b Auto focus modals so that escape and enter keys work without mouse intervention 2022-07-29 13:33:04 +01:00
Dean 24a9656cbc Test fixes and code review refactoring 2022-04-26 12:04:07 +01:00
Dean 6bd59e7f8f Minor test enhancements and publish workflow test spec added 2022-04-21 11:59:59 +01:00
Dean d94ff81e0e Simplified modal header construction 2022-04-20 09:23:09 +01:00
Dean 26c19891bb Unpublish refactored to stop development applications being mistakenly deleted. Minor updates to the modal content component to allow the replacement of the header. Further work to implement the publishing workflow changes 2022-04-19 14:38:09 +01:00
Dean cc0280ca0c Minor UI updates for the create app modal. A spinner has been added to the modal confirmation UX. The app name is pre-populated using the app name. The app URL can no longer be null 2022-03-23 12:43:20 +00:00
mike12345567 fa41548e13 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-03-01 18:43:52 +00:00
Andrew Kingston 42b063d21b Fix soft bricking app when closing nested modals using escape key 2022-02-28 15:04:32 +00:00
Michael Drury 45a965b041 Adding basic endpoints for API keys. 2022-02-09 23:16:24 +00:00
Rory Powell 77d17e143d Auth config forms 2021-12-11 09:59:09 +00:00
Rory Powell 71ba024974 WIP: Rest API import 2021-11-25 17:14:07 +00:00
Peter Clement dad6412271 trigger internal table modal on modal cancel 2021-09-27 09:59:56 +01:00
Peter Clement dfbf7e2ee4 Show test outputs and responses in modal 2021-09-15 00:49:35 +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 1a0d0de406 Fix modal not shrinking to fit screen size 2021-07-30 14:13:16 +01:00
Andrew Kingston a831b7f91e Add modal option to hide divider, and make title rendering optional 2021-07-30 13:57:33 +01:00
Andrew Kingston a00473fa61 Remove hardcoded colours from BBUI modal component 2021-07-23 15:43:44 +01:00
Andrew Kingston 2003c69698 Update modal to support different events for hiding and cancelling, and support entry transitions for fixed modals 2021-06-21 09:57:17 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston 3c5696199a Remove Inter font fully and replace with Source Sans Pro, fix favicon import path 2021-05-25 09:41:23 +01:00
Andrew Kingston 099e7648e3 Adjust modal background to proper background color and add border in lightest them to inline modals 2021-05-10 16:52:09 +01:00
Andrew Kingston 0cd7dfa296 Add inline prop for modals to allow them to be used as actual components on pages 2021-05-10 16:14:39 +01:00
Andrew Kingston 8aaeac764b Use local transitions in modal to avoid issues with component unmounting when navigating away 2021-05-07 13:13:24 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 7bdf1f9ed2 Fix modal content size prop 2021-05-04 11:07:26 +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
mike12345567 7a5ba0eeba Some fixes after testing binding. 2021-05-04 10:49:33 +01:00
Andrew Kingston 7fa700a537 Update merged files to use spectrum 2021-04-28 15:53:21 +01:00
Keviin Åberg Kultalahti b635aad8ae rework Divider to use new API 2021-04-27 16:25:39 +02:00
Keviin Åberg Kultalahti 135b3acbf3 adds hoverable prop to modal close button 2021-04-23 14:03:59 +02:00
Andrew Kingston f859ad5210 Update lots of font sizes, padding and other UI improvements 2021-04-23 10:48:19 +01:00
Andrew Kingston 863406574c Improve builder settings modal styles 2021-04-22 13:59:00 +01:00
Keviin Åberg Kultalahti 81f2e14172 remove usage of old Icons component in ModalContent 2021-04-21 14:59:09 +02:00