Commit Graph

2220 Commits

Author SHA1 Message Date
Andrew Kingston de183d5c78
Refactor and tidy up 2024-07-30 16:48:54 +01:00
Andrew Kingston 29ddeab0d4
Update grid layout to include nested flex wrappers for more layout control 2024-07-30 15:20:59 +01:00
Andrew Kingston 0d6e7bd5d3
Fix issues with min-widths in grid children 2024-07-30 13:53:11 +01:00
Andrew Kingston 7d4acc936b
Rewrite grid CSS variable handling 2024-07-30 13:50:38 +01:00
Andrew Kingston f91cc26fe1
Sanity check grid size limits and improve logic around min/max column/row dimensions 2024-07-29 16:36:56 +01:00
Andrew Kingston 1aa7077b9e
Use CSS variables to store grid position metadata 2024-07-29 15:57:43 +01:00
Andrew Kingston bfdbf72b50
Improve responsiveness of indicators 2024-07-29 15:38:24 +01:00
Andrew Kingston f58e05b509
Improve performance 2024-07-29 14:45:33 +01:00
Andrew Kingston a3431e6884
Add initial work on grid layouts in containers 2024-07-26 15:41:07 +01:00
Martin McKeaveney 799643b227
Merge pull request #14182 from Budibase/budi-8455-on-screen-load-open-side-panel-issue-side-panel-will-open
Add logic to prevent panel and modals from closing when screen load actions are available
2024-07-23 13:37:33 +01:00
Andrew Kingston a14a737921
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 11:02:02 +01:00
Andrew Kingston 27e4b4e3b4
Merge branch 'master' into dean-fixes 2024-07-22 10:17:50 +01:00
Dean d216ba57f4 Minor fix to ensure that only dsplus sources can filter by _id 2024-07-18 14:05:57 +01:00
Andrew Kingston 2473b82ba5
Revert to using solid border colours 2024-07-17 15:06:06 +01:00
Andrew Kingston 94fec5b62b
Update how grid blocks handle visible columns to ensure conditions work on hidden columns 2024-07-17 12:45:31 +01:00
Andrew Kingston 4575dd300f
Update table border colour to work better with coloured cells 2024-07-16 16:47:11 +01:00
Andrew Kingston ee984b6a19
Update table conditions to apply both row and cell conditions via same configuration 2024-07-16 14:01:50 +01:00
Conor Webb e2343073f0 Remove unused variable 2024-07-16 13:05:41 +01:00
Conor Webb 6eeffb43ef Add logic to prevent sidepanel and modals from closing when onload actions are active. 2024-07-16 12:59:43 +01:00
Andrew Kingston c1f7bbcf9f
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-15 13:58:39 +01:00
Andrew Kingston 1a434e82db
Merge branch 'master' into table-improvements-2 2024-07-15 12:08:52 +01:00
Dean ae4279bc58 Remove Attachment and Signature from filters. Add _id support for DynamicFilter. Removed _rev from filters 2024-07-11 16:39:49 +01:00
Gerard Burns e23cfd3e4d
wire up outside click handler (#14125) 2024-07-09 09:44:41 +01:00
Andrew Kingston 06e7517529
Add row conditions 2024-06-28 11:25:00 +01:00
Andrew Kingston 42162e711a
Add initial work on conditional cell colours and add new 100 variant spectrum colours 2024-06-27 08:23:18 +01:00
Andrew Kingston d8f88ffdf1
Merge branch 'master' into table-improvements-2 2024-06-26 14:39:24 +02:00
Andrew Kingston a13d60f7c9
Don't show hidden settings in the settings bar 2024-06-26 07:45:12 +01:00
Andrew Kingston e7bc96fdee
Merge branch 'master' of github.com:Budibase/budibase into table-improvements 2024-06-24 15:32:11 +01:00
Andrew Kingston 5c6cb0a73a
Ensure grid props are respected when using new features 2024-06-24 15:01:04 +01:00
Andrew Kingston 9ca6356694
Refactor row lookup map 2024-06-24 08:25:20 +01:00
Conor Webb 9a375d6716
Add the option to change the confirm and cancel button texts within the confirmation modals (#13966)
* Add button parameters to actions

* Add button states to confirmation store

* Set text of buttons if values are exist

* Pass stored values through to the modal

* Add missing duplicate text map

* Fix lint issues

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
2024-06-21 10:57:46 +00: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
Conor Webb 92f9501d26
Add function to close side panel based on the browser's history. (#13944)
* Add function to close side panel based on the browser's history.

* Switched to hashchange, removed from SidePanel, added to ClientApp.svelte

* Removed unused onMount, fixed lint issue

* Removed unnecessary if statement.
2024-06-17 07:21:26 +00:00
Gerard Burns d47c7d9227
Chart Component and Explanation Modal Fixes and Improvements (#13922)
* wip

* wip refactoring icons and column names

* wip

* wip

* remove automatic chart datetime sorting

* indefinite article, long form text

* lint

* lint
2024-06-14 08:20:56 +01:00
Sam Rose 6363965a8b
Also rename LuceneUtils -> QueryUtils 2024-06-12 15:04:56 +01:00
Sam Rose bc8791e91e
Remove the word 'lucene' from runLuceneQuery and buildLuceneQuery. 2024-06-12 14:44:20 +01:00
Andrew Kingston ae863a6e16 Only override grid column widths in table block when they are defined 2024-06-10 08:00:58 +01:00
Andrew Kingston e1bc9d54f1 Merge branch 'master' of github.com:Budibase/budibase into cheeks-fixes 2024-06-10 07:52:09 +01:00
Adria Navarro 9ad1d60850 Handle dateonly by default 2024-06-06 13:25:13 +02:00
Adria Navarro f09b6bf090 Handle times properly on time only settings for timestamps 2024-06-06 13:03:00 +02:00
Conor Webb c9fb6e35c8
Enhancement: add ability to set custom auto-dismissal duration for notifications (#13829)
* Enhancement: add ability to set custom auto-dismissal duration for notifications

* Updated based on feedback.

* Enforce max duration for auto-dismiss to 2 minutes
2024-06-05 12:29:07 +01:00
Andrew Kingston 8563471aea Don't update text settings when editing inline unless the value actually changes, to prevent losing HBS or JS expressions 2024-05-31 16:21:21 +01:00
Adria Navarro d4d17893ef Respect schema readonly on client 2024-05-31 13:07:25 +02:00
Andrew Kingston 7b4304d4a2 Force wrapping long words in field labels 2024-05-30 09:11:42 +01:00
Andrew Kingston 1015ec9da2 Allow field labels to wrap 2024-05-29 14:32:22 +01:00
Andrew Kingston 0fbe1e36d6 Add icons to grid buttons and simplify button column 2024-05-24 13:12:44 +01:00
Andrew Kingston 7a6863763a Allow opening app nav links in new tabs 2024-05-22 09:53:44 +01:00
Andrew Kingston c89a7a261f Ensure in-app navigation via navigate to action automatically prefixes URLs with slashes 2024-05-22 09:35:27 +01:00
Gerard Burns 04cf17cea7 merge master 2024-05-21 09:51:06 +01:00
Andrew Kingston 0fbbc3c88a Merge branch 'master' of github.com:Budibase/budibase into feature/signature-field-and-component 2024-05-20 11:08:19 +01:00
Dean 37dd75823f PR feedback, signature to signature single 2024-05-17 17:04:15 +01:00
Andrew Kingston 4b693088fa Refactor how grid schema mutations are managed to support custom orders, widths and visibility of columns that are still user-overridable 2024-05-17 14:55:52 +01:00
Andrew Kingston 62d9e2d8fb Remove leftover code 2024-05-17 12:20:06 +01:00
Andrew Kingston 89aae7a327 Merge branch 'fix/grid-column-reordering' into table-width-setting 2024-05-17 12:18:27 +01:00
Andrew Kingston 28e91959e5 Fix grid block having incorrect toolbar position in builder preview 2024-05-17 11:24:51 +01:00
deanhannigan 74d3015cae
Merge branch 'master' into feature/signature-field-and-component 2024-05-17 11:03:28 +01:00
Andrew Kingston 8a230337e8 Merge branch 'rework-grid-block-height' of github.com:Budibase/budibase into rework-grid-block-height 2024-05-17 10:51:36 +01:00
Andrew Kingston eaa0a2023a Move grid min height subcsription into onMount handler to be more explicit about it only running once 2024-05-17 10:51:17 +01:00
Andrew Kingston f9c4e901f8
Merge branch 'master' into rework-grid-block-height 2024-05-15 16:36:18 +01:00
Dean 166206f185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-15 16:35:31 +01:00
Martin McKeaveney 1b2053633d remove file size limit on self host 2024-05-15 14:23:08 +01:00
Gerard Burns a5da091203 linting 2024-05-14 23:05:04 +01:00
Gerard Burns 693e3373a6 merge master 2024-05-14 13:38:28 +01:00
Gerard Burns d02c04ebbe change explanation modal colors 2024-05-14 13:26:04 +01:00
Andrew Kingston 9184d1b1f4 Rework grid block height to support percentages again while ensuring min height is respected 2024-05-14 11:25:29 +01:00
Gerard Burns bb69e0c1c9 linting 2024-05-14 11:24:51 +01:00
Gerard Burns 2e238f814c fix palette stuff 2024-05-14 11:17:54 +01:00
Gerard Burns 1c14a71ef8 remove palette name 2024-05-14 09:49:53 +01:00
Gerard Burns bad7a535dc add clonedeep that copies non-serialisable stuff 2024-05-14 09:24:18 +01:00
Andrew Kingston 182b6463e0 Merge branch 'master' of github.com:Budibase/budibase into table-width-setting 2024-05-14 09:05:21 +01:00
Gerard Burns ca452d7dce feedback 2024-05-13 22:42:09 +01:00
Gerard Burns 60f6553340 remove hide var from apexchart component 2024-05-13 22:33:17 +01:00
Dean 421f70635e Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:31:46 +01:00
Dean b0a65b4699 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:22:19 +01:00
Dean 0589a6a730 Refactored signature from previous array implementation to the new single approach. Added support for automations 2024-05-13 16:19:02 +01:00
Andrew Kingston 303a7264b6 Ensure rows can always be selected in grids in apps 2024-05-13 13:54:14 +01:00
Andrew Kingston a5f627e320 Move grid block provider top level since nesting doesn't matter 2024-05-13 13:50:37 +01:00
Andrew Kingston 4516995ef5 Remove leftover repeat param in grids 2024-05-13 13:44:50 +01:00
Andrew Kingston 3d01bd3f08 Merge branch 'master' of github.com:Budibase/budibase into new-table-selected-rows 2024-05-13 13:44:27 +01:00
Dean cfe854b9fc Added darkMode back into the gridblock 2024-05-08 10:07:49 +01:00
Dean a29301a2fc Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-08 09:43:30 +01:00
Adria Navarro fbc969eda4 Fix cast 2024-05-06 08:20:36 +02:00
Adria Navarro bd86f906b1
Merge branch 'master' into feat/budi-8123-single-user 2024-05-03 17:31:29 +02:00
Andrew Kingston eec8a4d289 Revert to use schema as source of truth for width, and use new technique to handle width overrides while still allowing customisation by users 2024-05-03 15:55:02 +01:00
Andrew Kingston 0387e226fa Add support for overriding column widths in grid block 2024-05-03 15:11:39 +01:00
Adria Navarro 28e3a38d2b Improve readability 2024-05-03 12:59:15 +02:00
Andrew Kingston ff23825241 Refactor clickoutside fix flashing side panel issues, but also fix annoying drag-outside closing actions 2024-05-02 16:46:58 +01:00
Adria Navarro 70c6d56c1e Merge branch 'feat/budi-8123-single-user' into budi-8123/single-user-column-type 2024-05-02 12:06:42 +01:00
Andrew Kingston b08bfc2517 Fix bug where adding a confirmation step to a button action chain would break event context in further actions 2024-05-02 10:48:44 +01:00
Andrew Kingston 58bd3506a8
Merge branch 'master' into flatpickr-cleanup 2024-04-29 06:49:42 +01:00
Andrew Kingston a7f54eebdb Remove all traces of flatpickr 2024-04-26 16:25:41 +01:00
Andrew Kingston 0bd63333a4
Merge branch 'master' into revert-13487-revert-13463-BUDI-8157 2024-04-26 15:45:54 +01:00
Adria Navarro 9259385ade Fix clean 2024-04-25 14:03:04 +02:00
Adria Navarro 5f0a7c5aac Cleans 2024-04-25 13:58:56 +02:00
Adria Navarro 7aeae04890 Fix resetting and refactor 2024-04-25 13:37:58 +02:00
Adria Navarro 6999758105 Display single user form 2024-04-25 13:20:59 +02:00
Andrew Kingston 5cc2e90e4f Improve grid height 2024-04-25 10:49:48 +01:00
Andrew Kingston 46d8a06981 Update grid min size to accomodate new date picker 2024-04-24 08:52:39 +01:00
Andrew Kingston 0aeddfa029 Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-23 12:06:06 +01:00
Andrew Kingston 4f1220dd26 Restore client date range picker component 2024-04-23 11:54:44 +01:00
Gerard Burns 53553d8dd6 linting 2024-04-22 14:34:20 +01:00
Gerard Burns 248764ce98 cleanup 2024-04-22 14:34:20 +01:00
Gerard Burns 0249912154 remove old chart inputs 2024-04-22 14:34:20 +01:00
Gerard Burns 498a562b07 lines for dates 2024-04-22 14:34:20 +01:00
Gerard Burns d7f9b1f5ee better date parsing for candlestick 2024-04-22 14:34:20 +01:00
Gerard Burns e4386ed781 rekmove builder 2024-04-22 14:34:19 +01:00
Gerard Burns 199005fc38 chart clean up 2024-04-22 14:34:19 +01:00
Gerard Burns 46ae350370 think all charts and blocks are good 2024-04-22 14:34:19 +01:00
Gerard Burns 3f433bb710 histogram 2024-04-22 14:34:19 +01:00
Gerard Burns 500a733cec buckets 2024-04-22 14:34:19 +01:00
Gerard Burns 1a196b78e6 Refactor 2024-04-22 14:34:19 +01:00
Gerard Burns 415b109f23 candlestick 2024-04-22 14:34:19 +01:00
Gerard Burns 6176381f5b donut 2024-04-22 14:34:19 +01:00
Gerard Burns 337214d48c pie 2024-04-22 14:34:19 +01:00
Gerard Burns 78bb19967f wip 2024-04-22 14:34:19 +01:00
Gerard Burns 3ec5bbaa09 wip 2024-04-22 14:34:19 +01:00
Gerard Burns 441595dd6d line chart 2024-04-22 14:34:19 +01:00
Gerard Burns 5751e92bbd refactor line area 2024-04-22 14:34:19 +01:00
Gerard Burns f5345fd4f3 dont hide chart errors 2024-04-22 14:34:19 +01:00
Gerard Burns b75d054cdd bar chart working? 2024-04-22 14:34:19 +01:00
Gerard Burns 257fde1481 Datetime working now on bar charts i thjink 2024-04-22 14:34:19 +01:00
Gerard Burns 8d77bb016f refactor of bar done i think 2024-04-22 14:34:19 +01:00
Gerard Burns 1a1a417d94 hmm 2024-04-22 14:34:19 +01:00
Gerard Burns 7890b4e6cb wip 2024-04-22 14:34:19 +01:00
Gerard Burns 4b52508625 validation issue half working, fixing some bugs with context menu 2024-04-22 14:34:19 +01:00
Gerard Burns 56f7dd33c7 wip 2024-04-22 14:34:19 +01:00
Gerard Burns a806bd87bf wip 2024-04-22 14:34:19 +01:00
Gerard Burns d506e0724e refactor 2024-04-22 14:34:18 +01:00
Gerard Burns fcca165a2e wip 2024-04-22 14:34:18 +01:00
Gerard Burns ab40e3babd wip 2024-04-22 14:33:10 +01:00
Andrew Kingston a70560015c
Merge branch 'master' into borderless-grid 2024-04-19 16:25:58 +01:00
Mike Sealey 2d3fcae2e9
Merge branch 'master' into revert-13487-revert-13463-BUDI-8157 2024-04-19 16:11:54 +01:00
mikesealey 4c0d3ed5f3 runs the closeSidePanel function when navigating away using a button-action 2024-04-19 14:45:57 +01:00
mikesealey 11702538cb pulls inline code into separate handleClickLink function to deal with closing side panel when navigating away 2024-04-19 12:08:05 +01:00
mikesealey 237bc70758 removes console.log() 2024-04-19 10:58:25 +01:00
mikesealey 80a6afd54f closes side panel when navigating away regardless of ignoreClicksOutside 2024-04-19 10:41:39 +01:00
mikesealey 088c210de8 sets ignoreClickOutside to each side panel 2024-04-18 12:11:45 +01:00
Dean ce176496d2 Removed attachment delete behaviour as it has been removed from the frontend entirely 2024-04-18 11:21:37 +01:00
Dean a0ccc09be9 Bug fixes for default flag and modal title 2024-04-18 10:53:55 +01:00
mikesealey 6c38d32549 reinstates actions running when sidepanel closes 2024-04-18 10:08:48 +01:00
Dean 04d3226185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 09:08:16 +01:00
Andrew Kingston 426b69287f
Merge branch 'master' into borderless-grid 2024-04-17 16:29:44 +01:00
Andrew Kingston 6fa4eeb5c6
Merge branch 'master' into fix-client-loading-issues 2024-04-17 16:28:12 +01:00
mikesealey ad10679115 saving progress based on review reccomendations 2024-04-17 16:27:23 +01:00
Andrew Kingston 2ffa523ace Restore render blocker around client apps until data is ready 2024-04-17 16:26:18 +01:00
Adria Navarro ffa1e64e9e
Merge branch 'master' into budi-8166/search-filter-operators-dont-have-options-for-some-types 2024-04-17 10:25:19 +02:00
Dean 0e4cda458d Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-17 09:07:17 +01:00
Adria Navarro 122ea9fa60
Merge branch 'master' into BUDI-8143/dont-delete-attachments-directly-from-the-frontend 2024-04-17 09:57:32 +02:00
Andrew Kingston 128596cd41 Ensure normal spectrum colors are used for nested links in top navs 2024-04-16 10:41:11 +01:00
Andrew Kingston cac86272a9
Merge branch 'master' into borderless-grid 2024-04-16 08:56:14 +01:00