Commit Graph

1081 Commits

Author SHA1 Message Date
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 1f99ecc529
Fix missing reference 2024-08-12 14:03:31 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Andrew Kingston aeb8a0f117
Allow grid containers to use their natural height as a min height 2024-08-12 10:48:38 +01:00
Andrew Kingston 5b8846208b
Prevent pointer events on non-dragged grid children to reduce hit test load 2024-08-12 09:55:45 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 781a749a07
Update grid layout action to provide explicit values for all variables and simplify inheritance logic 2024-08-10 14:16:41 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston 8a022bb21e
Use single CSS variable for grid spacing to reduce duplication 2024-08-09 08:48:32 +01:00
Andrew Kingston 618b65e3fa
Use outline rather than pseudo elements for highlighting grid children 2024-08-08 16:23:55 +01:00
Andrew Kingston 5eebbd56f6
Reduce spacing between components in grids to 16px from 20px 2024-08-08 16:15:05 +01:00
Andrew Kingston 73079e4417
Fix some layout edge cases 2024-08-06 11:43:22 +01:00
Andrew Kingston cacc2ab087
Fix issues with nesting grids inside grids 2024-08-06 11:28:58 +01:00
Andrew Kingston d3b7a06871
Ensure nav accounts for grid layout padding 2024-08-06 11:17:01 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston 5071f39153
Lint 2024-08-05 19:45:10 +01:00
Andrew Kingston 5127a90e5d
Remove old code 2024-08-05 19:42:24 +01:00
Andrew Kingston e91607acb1
Update background colour and styles of grid lines to work with user specified background colours 2024-08-05 18:50:19 +01:00
Andrew Kingston e3f4e5525e
Fix background color on grid underlay and ensure screens with grids default to 24x24 2024-08-05 13:34:38 +01:00
Andrew Kingston 8a6d4c0bf6
Update remaining components with sizes and grid metadata 2024-08-03 09:44:32 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston dbfad2cb3a
Fix tag component being totally broken 2024-08-02 10:35:35 +01:00
Andrew Kingston 2bc4d3a6da
Improve more component compatibility with grid layouts 2024-08-02 10:00:49 +01:00
Andrew Kingston 8dd0658f18
Fix component autosizing not working on mobile grids 2024-08-02 09:23:47 +01:00
Andrew Kingston 9906ea96a9
Update some component manifest styles and fix issue with default grid vars 2024-08-01 16:23:53 +01:00
Andrew Kingston 4e9e644e13
Prevent cross-grid variable inheritance 2024-08-01 12:27:19 +01:00
Andrew Kingston 8879188595
Update how screen layout param is handled 2024-08-01 11:40:16 +01:00
Andrew Kingston f6f0b575d6
Add top level screen layout setting 2024-07-31 16:44:46 +01:00
Andrew Kingston de9b80e23d
Multiple style improvements and pixel layout fixes 2024-07-31 15:03:29 +01:00
Andrew Kingston 0ea9b157c7
Further refactoring to grid nested layouts 2024-07-31 13:58:29 +01:00
Andrew Kingston cb3c667859
Large refactor of grid css variable handling to simplify everything 2024-07-31 10:35:57 +01:00
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 a3431e6884
Add initial work on grid layouts in containers 2024-07-26 15:41:07 +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
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 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
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
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
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