Adria Navarro
a891acc228
Merge pull request #11796 from Budibase/BUDI-7403/data_section_frontend
...
Data section frontend for the user column
2023-09-19 14:16:52 +02:00
Adria Navarro
752ae0ac2b
Handle internal types frontend
2023-09-19 10:06:16 +02:00
Adria Navarro
a561e3f4f8
Commenting
2023-09-19 10:04:28 +02:00
Adria Navarro
1c76a77682
Fix relationship cell
2023-09-18 15:23:05 +02:00
Adria Navarro
98a46fa155
Display
2023-09-18 12:22:48 +02:00
Adria Navarro
e06d3296b0
Fix deletion
2023-09-18 12:22:48 +02:00
Adria Navarro
79e179d726
Implement search and push
2023-09-18 12:22:48 +02:00
Adria Navarro
45a474f7ea
Fix refs
2023-09-18 12:22:48 +02:00
Adria Navarro
ae237d3714
Reference cell
2023-09-18 12:22:48 +02:00
Adria Navarro
43bbf8d093
Display icon in column
2023-09-18 12:22:48 +02:00
Andrew Kingston
bd5c6056d8
Update dayjs dependencies to same version and fix import syntax in DateCell
2023-09-15 08:04:17 +01:00
Adria Navarro
29b2e3b8f1
Handle internal types frontend
2023-09-14 16:06:02 +02:00
Martin McKeaveney
9cb35a45eb
Merge pull request #11635 from Budibase/fix/daysjs-export-err
...
Fix daysjs import error
2023-09-12 16:39:01 +01:00
Andrew Kingston
32108abbc0
Remove logs
2023-09-06 16:59:30 +01:00
Andrew Kingston
0bda4a1952
Add option to duplicate columns
2023-09-06 16:56:27 +01:00
jvcalderon
9fb2d89a33
Fix daysjs import error
2023-08-31 15:11:39 +02:00
Andrew Kingston
63f7fd3bf2
Remove duplicate code for deleting viewId from rows before deletion
2023-08-30 15:50:57 +01:00
Andrew Kingston
50e3a66f92
Fix notifications in grid block in client apps
2023-08-24 12:26:46 +01:00
Andrew Kingston
4192618bdf
Handle missing required columns in views by showing errors
2023-08-23 18:56:04 +01:00
Andrew Kingston
e77644ce11
Lint
2023-08-22 11:48:06 +01:00
Andrew Kingston
c936304410
Fix grid config store so that schema overrides work
2023-08-22 11:31:25 +01:00
Andrew Kingston
c7d1010ce3
Fix resetting sort column when sort column doesn't exist in schema whenever schema is yet to be loaded
2023-08-21 17:49:54 +01:00
Andrew Kingston
77f6a6d6c1
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-21 16:38:00 +01:00
Andrew Kingston
5abab4cb62
Update grids to allow filtering and sorting in client lib with V2 views
2023-08-21 16:11:37 +01:00
Andrew Kingston
0566644508
Allow view searching and sorting. Refactor grid logic to fix multiple issuies
2023-08-21 11:56:58 +01:00
Peter Clement
d8c95fce19
remove log
2023-08-18 09:54:24 +01:00
Andrew Kingston
b5546f8d9b
Update server and builder to properly sync changes with tables and views across all users
2023-08-17 16:04:56 +01:00
Andrew Kingston
733a638a99
Remove unnecessary save on first keypress in grids
2023-08-17 12:08:50 +01:00
Andrew Kingston
a6da5fd2bb
Update grid socket middleware to support V2 views
2023-08-15 16:55:05 +01:00
Andrew Kingston
b53f61228c
Throw error when attempting to fetch an individual row from a view
2023-08-15 15:47:26 +01:00
Peter Clement
9ac5f60338
fix column alignment for first column in table
2023-08-15 11:55:33 +01:00
Andrew Kingston
123be842fb
Update deleting rows from views
2023-08-14 16:20:16 +01:00
Andrew Kingston
4bfa0d8cb0
Don't throw an error when atempting to update a view that includes non UI metadata overrides
2023-08-14 16:17:30 +01:00
Andrew Kingston
6a7e0d2d31
Refresh view data when showing hidden columns in order to populate new cells
2023-08-14 15:58:14 +01:00
Andrew Kingston
d1b3d033dd
Fix table resetting state more often than desired
2023-08-14 11:50:30 +01:00
mike12345567
584784edca
Lint.
2023-08-11 14:58:09 +01:00
Andrew Kingston
a671a85c46
Add WIP updates for view endpoint updates
2023-08-11 13:17:10 +01:00
Andrew Kingston
a72c94426f
Hydrate view filters and allow filter changes to be saved to views
2023-08-08 09:29:05 +01:00
Andrew Kingston
d5cfc5f53a
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-07 12:52:43 +01:00
Andrew Kingston
9652356ee0
Improve sanity checking of valid datasources to prevent erroneous API calls
2023-08-04 15:26:06 +01:00
Andrew Kingston
cd2231630f
Improve updating of viewV2 state and restore grid<>builder sync for datasource definitions
2023-08-04 14:54:45 +01:00
melohagan
ece1c421fa
Fix/formula as display ( #11439 )
...
* Allow formulas to be display columns in the grid
* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
Andrew Kingston
46f16764db
Fix initial sorting state for tables and memoize sorting store to avoid loops
2023-08-04 11:47:06 +01:00
Andrew Kingston
f5e5a883cf
Enable renaming views and lint
2023-08-03 13:31:44 +01:00
Andrew Kingston
3eeb945934
Split out logic for getting rows from datasources
2023-08-03 13:22:49 +01:00
Andrew Kingston
d443bf3616
Split out more datasource specific logic
2023-08-03 13:18:58 +01:00
Andrew Kingston
b00f3d2418
Remove log
2023-08-03 11:28:02 +01:00
Andrew Kingston
3e97e299bf
Fix sorting for tables
2023-08-03 11:27:33 +01:00
Andrew Kingston
e3cf0667be
Refactor grid to split up stores and provide better separation of datasource-specific logic
2023-08-03 11:18:19 +01:00
Andrew Kingston
3482ec3d9e
Add feature flags to view V2 fetch
2023-08-01 15:34:02 +01:00
Andrew Kingston
1d21b4260a
Enable deleting rows through views
2023-08-01 11:21:22 +01:00
Andrew Kingston
9d2b31af54
Enable creating and updating rows through views
2023-08-01 11:16:10 +01:00
Andrew Kingston
a8c2cf8c08
Disable collab for views
2023-08-01 10:54:01 +01:00
Andrew Kingston
76eba52999
Animate popovers for header cells and adding columns
2023-08-01 09:25:06 +01:00
Andrew Kingston
0d65d34456
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-01 09:10:31 +01:00
Peter Clement
2ee7cb008b
Reworked Column Configuration in the data section ( #11379 )
...
* base work for using popover to create and edit columns
* more work to enable editing column in popover
* update styling of column type configs
* add new option picker component
* some updates to how the popover is opened and the new picker
* more updates to support the popover handling correctly
* update the popover to support a custom z index
* some styling around the colour picker
* update naming
* fix lint errors
* fix lint
* update filename
* incremental column numbers based on existing schema
* move func declaration
* add option color object to schema not constraints
* ux / pr comment updates
* undefined var
* fix issue with deleting option
* change background color
* update popove z-index
2023-07-31 14:28:11 +00:00
Andrew Kingston
fdfedfdd92
Fix websocket error
2023-07-31 11:21:11 +01:00
Andrew Kingston
8204935dfa
Add ability to update views, create views with existing filters and sorting applied
2023-07-30 12:49:07 +01:00
Andrew Kingston
c7c9bd6563
Fix row deletion and fetching for tables
2023-07-28 16:01:18 +01:00
Andrew Kingston
d83820b583
Fix adding rows
2023-07-28 15:57:35 +01:00
Andrew Kingston
9665ec34dd
Adjust grid props and config
2023-07-27 15:53:50 +01:00
Andrew Kingston
24182b3f1b
Fix refreshing table definition
2023-07-27 14:22:13 +01:00
Andrew Kingston
deb4092cd3
Refactor grid stores and how config is handled
2023-07-27 14:17:26 +01:00
Andrew Kingston
2d3da0dfcf
Fix null issues in view fetch, fix edit view popover, improve handling of nullish view params
2023-07-26 14:26:34 +01:00
Andrew Kingston
352b7ebe1c
Add dedicated route for routes v1, improve view creation modal, fix selection state
2023-07-26 14:07:07 +01:00
Andrew Kingston
150961fcf2
WIP: split views into separate stores, fix datasource list, use unique data table for views V2
2023-07-26 13:23:31 +01:00
Adria Navarro
4c3bfdd8b2
Map datasource
2023-07-25 15:54:10 +02:00
Adria Navarro
82ea9a7cc1
Setup datasource type
2023-07-25 15:54:10 +02:00
Adria Navarro
95faeea286
datasourceType setup
2023-07-25 15:54:10 +02:00
Andrew Kingston
b335e492d7
Show all users editing an app in the app list
2023-07-10 17:42:27 +01:00
Andrew Kingston
52cd16f42d
Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes
2023-07-10 13:05:09 +01:00
Andrew Kingston
ca375b7c39
Lint
2023-07-10 11:51:07 +01:00
Andrew Kingston
fb35d52ac9
Add temporary tooltip to help creating the first row in grids
2023-07-10 11:23:29 +01:00
Andrew Kingston
06876b0ea2
Improve tooltips more by ensuring they follow the target smoothly
2023-07-07 16:03:25 +01:00
Andrew Kingston
62e452dfe7
Update user avatars and selection state for collaboration
2023-07-07 15:45:18 +01:00
melohagan
7a06fcee0f
Add BigInt type support ( #11145 )
...
* Add BigInt type
* Allow BigInt columns to be added
* Sort fixes
* Add BigInt field
2023-07-07 15:11:41 +01:00
Andrew Kingston
99ef4f2992
Add new temporary tooltip component. Improve tooltips and user avatars
2023-07-07 14:46:41 +01:00
Andrew Kingston
35150af784
Update multiple usages of tooltips to use new tooltip
2023-07-07 12:09:23 +01:00
Andrew Kingston
6aef0f2134
Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes
2023-07-07 11:33:18 +01:00
Gerard Burns
808e0d1ef2
Linting improvements ( #11119 )
2023-07-05 18:00:50 +01:00
Andrew Kingston
75c4b92766
Add new tooltip which is far better
2023-07-05 15:46:07 +01:00
Andrew Kingston
638b537792
Prevent adding rows when no non-autocolumn columns exist
2023-07-05 14:37:43 +01:00
Andrew Kingston
57242840b7
Update tooltips to transition and to use friendly names when possible
2023-07-05 09:10:03 +01:00
Andrew Kingston
f3ecbca6b4
Merge branch 'develop' of github.com:Budibase/budibase into design-collab
2023-07-04 10:17:51 +01:00
Andrew Kingston
434585a92d
Merge pull request #11123 from Budibase/fix/row-height-setting
...
Fix grid block row height not working
2023-07-04 09:57:38 +01:00
Andrew Kingston
e0e0fcabad
Fix grid block row height not working. Change initialRowHeight setting to fixedRowHeight
2023-07-04 09:41:10 +01:00
Peter Clement
c504ceca9d
solely use notifications store for error message without rowId
2023-07-03 13:29:28 +01:00
Peter Clement
46244b72ac
Handle errors in grid when no validation structure in response
2023-07-03 11:50:57 +01:00
Andrew Kingston
4725faf8b5
Update websocket user metadata structures
2023-07-03 11:23:08 +01:00
Andrew Kingston
9e089192ef
Lint
2023-06-28 09:40:06 +01:00
Andrew Kingston
ce004d39d1
Fix grid keybind for submitting new rows not working
2023-06-28 09:26:45 +01:00
Andrew Kingston
c7122448e1
Fix notifications not working in grid blocks in client apps
2023-06-28 09:18:01 +01:00
Andrew Kingston
0d8d3a4851
Handle showing errors inside grids
2023-06-27 11:58:10 +01:00
Andrew Kingston
aebc3b2bb8
Merge branch 'develop' of github.com:Budibase/budibase into grid-block
2023-06-26 09:05:06 +01:00
Andrew Kingston
007b6d605b
Merge pull request #10917 from Budibase/fix/datasource-409
...
Fix datasource conflicts
2023-06-23 11:54:15 +01:00
Andrew Kingston
6d08cedc86
Adjust position of new row FAB when there is no sticky column to look better
2023-06-22 09:26:14 +01:00
Andrew Kingston
194a135183
Reset rows and tick before updating schema when swapping table ID in grids
2023-06-22 09:23:34 +01:00
Andrew Kingston
05bba92b94
Fix not being able to add rows when only a sticky column exists
2023-06-22 09:22:39 +01:00
Andrew Kingston
6d0271ae97
Prevent adding rows when no columns are rendered
2023-06-22 08:26:14 +01:00
Andrew Kingston
50c807e60c
Lint
2023-06-22 08:17:28 +01:00
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
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
1040407068
Reset rows and tick before updating schema when swapping table ID in grids
2023-06-09 13:11:18 +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
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
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
Andrew Kingston
7c2d15be8d
Handle users tables edges cases when working with grids
2023-05-26 11:39:20 +01:00