Commit Graph

2202 Commits

Author SHA1 Message Date
Andrew Kingston bcbeae2279 Rework grid buttons, removing add row and add column buttons, and compression height and width into new size button 2023-06-22 08:16:59 +01:00
Andrew Kingston 0a3dd1a1b4 Remove expand icons from grids 2023-06-21 11:51:23 +01:00
Andrew Kingston 3f20a3a439 Enable collaboration for public users and fix collaboration for non-devs 2023-06-21 08:33:58 +01:00
Andrew Kingston 9d6fbf067f Restore pointer events for unfocused cells 2023-06-20 11:10:23 +01:00
Andrew Kingston c1f7774602 Lint 2023-06-20 09:34:56 +01:00
Andrew Kingston 2df810c59b Update grid context menu position determination to work regardless of page scroll offsets 2023-06-20 09:34:27 +01:00
Andrew Kingston 7486d3dde0 Close context menu when using mouse wheel or menu touching scrollbars 2023-06-20 08:01:41 +01:00
Andrew Kingston 901ba53630 Respect the allowExpandRows flag in when considering if rows can be edited in modals 2023-06-20 07:55:46 +01:00
Andrew Kingston 164bacf783 Lint 2023-06-20 07:42:26 +01:00
Andrew Kingston 757d2d11ef Add functionality to suppress errors to avoid spam in grids in client apps 2023-06-19 18:21:14 +01:00
Andrew Kingston 9942956a06 Invert relationship cells properly when required 2023-06-19 17:57:58 +01:00
Andrew Kingston dda4987848 Improve grid row inversion index calculation 2023-06-19 17:54:06 +01:00
Andrew Kingston 030b767d1b Revert grid row height to default when unsetting prop 2023-06-19 17:42:33 +01:00
Andrew Kingston c03e64699d Only apply row height prop if defined 2023-06-19 17:40:57 +01:00
Andrew Kingston 9d8b5e99af Add column setting to grid 2023-06-19 17:38:44 +01:00
Andrew Kingston d77b2c6ab1 Refactor how grid settings are used and add option for row height 2023-06-19 17:24:40 +01:00
Andrew Kingston 3f3e9fca56 Respect users chosen accent colour in grids 2023-06-19 11:41:09 +01:00
Andrew Kingston f3de39b0c5 Update relationship cell height to be smart and maximise space 2023-06-19 09:54:40 +01:00
Andrew Kingston 68f21274ed Add settings to grid block for filtering and sorting, and refactor grid logic to allow external control of these stores 2023-06-19 09:54:24 +01:00
Andrew Kingston 8fc29cb6dc Add slight border radius to cells which were missing it 2023-06-16 14:54:50 +01:00
Dean 2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
Andrew Kingston b05eb5ad01 Improve calculation of inversion indices, improve cell max sizes and grid padding for consitency 2023-06-16 12:09:44 +01:00
Andrew Kingston a2d2b333a5 Remove checkbox transitions in grids to avoid flashing while scrolling 2023-06-16 10:53:29 +01:00
Andrew Kingston ffd4148655 Prevent hovering over rows when dragging and keep scroll bar in the selected state 2023-06-16 10:17:10 +01:00
Andrew Kingston 70eda7ff81 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-16 10:02:42 +01:00
Andrew Kingston 86265a90e0 Only respect keyboard events in grids when the mouse is over them 2023-06-15 15:25:05 +01:00
Andrew Kingston 73cae6198f Improve grid logic around vertically inverting row popovers 2023-06-15 14:23:33 +01:00
Andrew Kingston 99a8fc7c12 Revert websocket changes and just fetch datasources constantly 2023-06-15 09:27:45 +01:00
Jonny McCullagh 757ca6a166 Merge master develop (#10897)
* Binding drawer fixes

* Added missing headless flag for the bindable combobox

* Fix for QueryEditor width

* Fix svelte transitions in grid new row component breaking routify

* Bump version to 2.7.7

* fix REST connector failure to save

* Bump version to 2.7.8

* Bump version to 2.7.9

* Unexpected token when export data (#10721)

* Tidy ID string for JSON parse

* Display error for composite keys

* Unit test WIP

* directly assign the mock function on the datasource

* Unit tests for exportRows ID handling

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>

* Return all rows if oneOf value is falsey (#10638)

* Bump version to 2.7.10

* Make sure divider fields are left-most (#10627)

* Make sure divider fields are left most

* Refactor

* Bump version to 2.7.11

* Temporarily remove the focus store update as it triggers a full redraw of the component settings

* Linting

* Removed commented out code

* Bump version to 2.7.12

* Bump version to 2.7.13

* Do not show Business tag for Email action (#10867)

* Bump version to 2.7.14

* new deploy trigger (#10892)

* point the deploys at the new env

* Bump version to 2.7.15

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Andrew Kingston 328336463c Standardise usage of CSS variables to work inside client and builder 2023-06-14 09:19:11 +01:00
Andrew Kingston ed9065aae3 Hide add row FAB when selecting rows 2023-06-14 09:10:09 +01:00
Andrew Kingston f56bd3ad13 Fix grid loading overlay color in client apps 2023-06-13 17:19:12 +01:00
Andrew Kingston 0ab1346577 Add settings to grid block for controlling CRUD 2023-06-13 17:17:29 +01:00
Andrew Kingston 0dbd709438 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-13 15:15:41 +01:00
Martin McKeaveney 7e45773d02 diagnostics panel 2023-06-10 16:16:52 +01:00
Andrew Kingston 1040407068 Reset rows and tick before updating schema when swapping table ID in grids 2023-06-09 13:11:18 +01:00
Martin McKeaveney 746afaf573 initial work on debug panel 2023-06-08 19:50:29 +01:00
Andrew Kingston 5820996e4d Update grid flags to allow readonly modifications of schema 2023-06-08 08:35:36 +01:00
Andrew Kingston f9a8be507d Undo hardcoded disabling of row expansion 2023-06-07 15:51:27 +01:00
Andrew Kingston 752dd93d84 Add initial grid block, and update grid to keep indentation consistent when row expansion is disabled 2023-06-07 15:50:38 +01:00
Andrew Kingston 61a143628b Revert tableType flag and derive from table instead 2023-06-07 10:48:08 +01:00
Andrew Kingston 4d013056aa Fix svelte transitions in grid new row component breaking routify 2023-06-07 10:24:16 +01:00
mike12345567 dab1db2271 Updating datasource save API to allow specifying a filter for which tables to fetch and then linking this up with the new frontend. 2023-06-06 18:27:03 +01:00
mike12345567 b7fd069d00 Fixing endpoint to info from tables for datasource fetching. 2023-06-06 13:49:11 +01:00
Michael Drury 465856e8c9 Merge branch 'develop' of github.com:Budibase/budibase into feature/table-fetching-frontend 2023-06-06 10:09:50 +01:00
mike12345567 96f44c0a86 Reworking implementation to a single modal, that changes content rather than progressing to a new modal. 2023-06-05 17:40:12 +01:00
Andrew Kingston 4a0e23a171 Transfer lock to next oldest session when disconnecting from the builder 2023-06-05 13:54:17 +01:00
Andrew Kingston 920fea7b1f Remove beta button from grid, add feedback button to data section linking to collaboration maze 2023-06-05 08:48:02 +01:00
Andrew Kingston 4f176b3edd Increase padding around the grid 2023-06-05 08:30:53 +01:00
Andrew Kingston 0582dd40b2 Ensue table schema change made via grids are properly synced with backend stores, given absence of websocket events for own events 2023-06-02 15:28:48 +01:00
Andrew Kingston dab3263569 Fix losing cell focus when another user makes changes while you're adding a row 2023-06-02 08:58:32 +01:00
Andrew Kingston b4def3675a Remove manual refresh of row after creation 2023-06-02 08:53:47 +01:00
Andrew Kingston d8d3d71523 Update websocket logic to ignore events trigger by API requests originating from the same session 2023-06-01 17:14:32 +01:00
Andrew Kingston 680e609b52 Remove plural forms of enums and use TS enum rather than JS const 2023-05-31 17:03:14 +01:00
Andrew Kingston ffbbf04e86 Lint 2023-05-31 16:08:35 +01:00
Andrew Kingston a7c6298d1f Ensure socket pruning due to redis TTL expiry works as expected 2023-05-31 15:37:39 +01:00
Andrew Kingston 7a307e3de8 Remove logs 2023-05-31 15:14:33 +01:00
Andrew Kingston 05e34076f7 Fully rewrite websocket redis integration to use individual keys per session, enable TTLs on sesisons, prune sessions when users connect and add a heartbeat to sockets 2023-05-31 15:13:22 +01:00
Andrew Kingston d3fdb52bf5 Store all socket users in redis to allow all server instances to be aware of all users 2023-05-31 10:21:50 +01:00
Gerard Burns 23ee9f4af8 Post Sign Up Onboarding Changes (#10701)
* wip

* PR Feedback

* Fixes

* PR Feedback

* PR Feedback

* PR Feedback
2023-05-30 12:54:57 +01:00
Andrew Kingston 5f63183235 Lint 2023-05-30 12:36:23 +01:00
Andrew Kingston d57c774a30 Disable HTTP polling for websockets and rely on websocket connection only 2023-05-30 11:15:51 +01:00
Andrew Kingston be40d72f55 Merge pull request #10712 from Budibase/data-section-multidev
Multiple user collaboration for data section
2023-05-30 09:08:14 +01:00
Adria Navarro e3ce16d0c9 Update local versions to 0.0.0 2023-05-29 10:54:10 +02:00
mike12345567 7ba21d836b Merge branch 'develop' of github.com:Budibase/budibase into feature/sync-automations 2023-05-26 16:42:01 +01:00
Andrew Kingston 7c2d15be8d Handle users tables edges cases when working with grids 2023-05-26 11:39:20 +01:00
Andrew Kingston 25f469dc28 Close context menu on escape keypress 2023-05-26 10:43:25 +01:00
Andrew Kingston 852df16448 Lint 2023-05-26 10:29:03 +01:00
Adria Navarro 77a619945b Merge pull request #10680 from Budibase/budi-6933-verify-data-source-connection-during
Verify data source connection before saves
2023-05-26 10:47:42 +02:00
Andrew Kingston 520158c8f9 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-26 09:39:06 +01:00
Andrew Kingston 3a672b3660 Merge pull request #10695 from Budibase/grid-feedback
Grid enhancements from user feedback
2023-05-26 09:36:04 +01:00
Peter Clement 70dfd9e8e5 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-26 09:26:51 +01:00
Andrew Kingston cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
melohagan b5c98871ad Update table data via CSV import (#10313)
* Add identifierFields select for import

* Update rows on import (Internal DB)

* Only allow internal DB to upsert import CSV

* Clear identifierFields when turning off update

* Passing table instead of tableId

* Pass table

* Pass tableType
2023-05-25 18:05:07 +01:00
Andrew Kingston d491a24d3e Merge branch 'develop' of github.com:Budibase/budibase into grid-v2 2023-05-25 10:45:35 +01:00
Andrew Kingston b29ea61203 Ensure text cells account for being used for number cells too 2023-05-25 08:51:32 +01:00
Andrew Kingston 183fb3d29b Fix issue with schema mutation in grids. Use displayName to represent grid column labels. Allow deletion of duplicated user columns 2023-05-25 08:51:24 +01:00
Peter Clement a9bb534cdf set flag in automation orchestrator 2023-05-24 14:41:58 +01:00
Adria Navarro 886b726627 Verify datasouce before saving 2023-05-24 10:03:49 +02:00
Andrew Kingston cfa07a68ae Handle table, query and datasource events using builder socket 2023-05-22 15:59:44 +01:00
Peter Clement d271bbdadb rename syncWebHooks to syncAutomations 2023-05-19 10:07:02 +01:00
Peter Clement f680fbd822 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-18 11:35:25 +01:00
Andrew Kingston 3794d8e204 Simplify websocket comms for grid and improve builder socket 2023-05-18 08:57:20 +01:00
Andrew Kingston 0bebacc741 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-17 16:38:01 +01:00
Andrew Kingston 14bfa907a2 Merge pull request #10612 from Budibase/fix-trashcan-flatpickr
Revert flatpickr version to fix bug in 3.3.2
2023-05-17 11:01:03 +01:00
Gerard Burns 28f4736e98 Onboarding Improvements (#10540)
* Onboarding Improvements

* PR Feedback

* linting
2023-05-17 10:58:06 +01:00
Andrew Kingston 475c962a5f Center align boolean fields 2023-05-17 08:16:47 +01:00
Andrew Kingston efb45a850b Update z-indexes for add column button 2023-05-17 08:07:07 +01:00
Andrew Kingston cadd1b5a4e Add automatic scrolling left/right when dragging to reorder columns 2023-05-16 19:48:14 +01:00
Andrew Kingston ba9691ee12 Add grid flag to stripe rows different colours 2023-05-16 17:09:32 +01:00
Andrew Kingston 834202423f Fix bulk deletion triggering on delete keypress after selecting then deselecting a row 2023-05-16 16:42:36 +01:00
Andrew Kingston 0a0e78c314 Fix grid keyboard shortcuts being hard to read in light theme 2023-05-16 15:29:48 +01:00
Andrew Kingston b112995fd0 Disable hide column option in header cell context menu for sticky column 2023-05-16 15:26:20 +01:00
Andrew Kingston 1e48020001 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-16 15:23:30 +01:00
Andrew Kingston e2bf3b32e1 Revert flatpickr version to fix bug in 3.3.2, improve display of time-only dates 2023-05-16 14:52:45 +01:00
Andrew Kingston 6ed691be1d Improve builder socket 2023-05-16 14:18:31 +01:00
Andrew Kingston cb9d35f6aa Fix validation error position for new rows 2023-05-16 08:24:23 +01:00
Andrew Kingston 913188052a Fix cell colours with multiple users 2023-05-16 08:18:26 +01:00
Andrew Kingston e2a860ea4c Fix visual issues with other users selecting cells 2023-05-15 16:43:37 +01:00
Peter Clement 007f5ca8a9 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-15 15:19:44 +01:00