Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Kingston 88b2f423f7
Improve UX when editing view calculations 2024-10-10 16:05:02 +01:00
Andrew Kingston 714d05a9d2
Request new name for row actions rather than autonaming 2024-09-09 12:36:03 +01:00
Dean d2b6959b44 Reduced the z-index to just 1 above the binding drawer. The updated value caused index issues in other areas of budibase. 2024-08-29 12:58:12 +01:00
Daniel Olabemiwo da6ac6c1cb fix #14408 - Delete Screen modal shows behind builder 2024-08-23 02:38:16 +01:00
Gerard Burns e88ffea1a4
Modal component (#13848)
* wip

* wip

* wip

* wip

* wip

* add note for illegalChildren reset behavior

* on close working

* wip

* lint

* wip

* Fix potential remounting loop caused by spreading props and unnecessary component keying

* theme

* user prompt

* dotted border for empty

* PR Feedback

* lint

* fix modal background color

* use bbui modal

* lint

* fix indicator and prevent closing modal in builder

* pr feedback

* pr feedback

* fix fullscreen

---------

Co-authored-by: deanhannigan <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-06-18 11:18:05 +01:00
Dean e80a87f519 Feedback updates 2024-04-05 15:59:28 +01:00
Dean 1e5506b8c3 Full support for signature field type and some feedback changes 2024-04-05 12:50:09 +01:00
Andrew Kingston 10c5eee87e Fix existing issue where command palette sits behinds modals 2024-03-11 11:00:04 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* 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
2024-02-22 13:19:29 +00:00
melohagan aa579699b5
Allow enter key to continue (#12762) 2024-01-11 16:31:57 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
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