Dan Ribbens
c1bd338d0d
feat: prevent querying relationship when filterOptions returns false ( #4392 )
...
fix: hidden collections showing in lexical and slate relationships
feat: prevent querying relationship when filterOptions returns false
fix: hidden collections appear in richtext internal link options
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
2023-12-15 12:43:43 -05:00
Jarrod Flesch
a1d66b83e0
fix: disallow duplicate fieldNames to be used on the same level in the config ( #4381 )
2023-12-11 16:52:24 -05:00
Alessio Gravili
c068a8784e
fix(richtext-lexical): Blocks: make sure fields are wrapped in a uniquely-named group, change block node data format, fix react key error ( #3995 )
...
* fix(richtext-lexical): make sure block fields are wrapped in a uniquely-named group
* chore: remove redundant hook
* chore(richtext-lexical): attempt to fix unnecessary unsaved changes warning regression
* cleanup everything
* chore: more cleanup
* debug
* looks like properly cloning the formdata for setting initial state fixes the issue where the old formdata is updated even if node.setFields is not called
* chore: fix e2e tests
* chore: fix e2e tests (a selector has changed)
* chore: fix int tests (due to new blocks data format)
* chore: fix incorrect insert block commands in drawer
* chore: add new e2e test
* chore: fail e2e tests when there are browser console errors
* fix(breaking): beforeInput and afterInput: fix missing key errors, consistent typing and cases in name
2023-11-16 22:01:04 +01:00
Jacob Fletcher
85c8e4dc65
chore: overhauls admin navigation ( #3339 )
2023-09-15 17:33:28 -04:00
Jarrod Flesch
2b7d776b26
fix(2.0): ensures relationTo as array fields load returned data from form correctly ( #3318 )
2023-09-12 11:53:21 -04:00
Alessio Gravili
1fbda85cd0
chore: lint and format everything again
2023-09-07 15:53:48 +02:00
Alessio Gravili
a51b5970dc
chore: re-run prettier
2023-09-07 15:45:48 +02:00
James
0f3b364e46
chore: hoists tests out of payload package
2023-09-01 14:45:41 -04:00
Alessio Gravili
a67278b29f
chore: move to monorepo structure
2023-08-23 12:20:30 +02:00
Jordy Alcides
bad363882c
feat: allow async relationship filter options ( #2951 )
...
* chore: improving relationship filter options;
Updating prop filterOptions from field type "relationship" to allow async functions;
* chore: add failing test case
* fix: translation followingFieldsInvalid_many not getting triggered
* docs: improve documentation
---------
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2023-08-14 17:29:29 +02:00
Jarrod Flesch
641c765fb9
feat: solidifies bundler adapter pattern ( #3044 )
2023-07-21 17:20:51 -04:00
Alessio Gravili
733fc0b2d0
feat: auto-login in config capability ( #3009 )
...
This is useful when developing/testing, where logging after every change can be cumbersome.
2023-07-17 16:35:58 -04:00
Jacob Fletcher
120e2936fe
chore: removes cms text from instances of payload name ( #2793 )
2023-06-14 10:31:29 -04:00
Jacob Fletcher
2809cb910c
chore: fixes broken test for externally updated relationships
2023-05-23 10:37:52 -04:00
Jacob Fletcher
bbf114b822
chore: writes e2e test for relationships created using the document drawer
2023-05-22 23:59:09 -04:00
Jacob Fletcher
698a8abe6e
chore: fixes failing e2e test when searching within a relationship field
2023-05-17 12:25:24 -04:00
Jacob Fletcher
10dd819863
fix: relationship field useAsTitle #2333 ( #2350 )
2023-03-20 22:21:49 -04:00
Jacob Fletcher
0dbc4fa213
feat: enables document drawers from read-only fields ( #1989 )
2023-02-04 10:42:51 -05:00
Jarrod Flesch
fe1dfa3e23
chore: updates test config payload-types
2023-01-04 08:51:54 -05:00
Jacob Fletcher
c72f074b77
fix: fields-relationship e2e tests
2022-12-09 15:34:35 -05:00
Jacob Fletcher
cb0437fbca
Merge branch 'master' into feat/inline-relationships
2022-12-09 13:18:49 -05:00
Dan Ribbens
11b1c0efc6
fix: filterOptions function argument relationTo is an array ( #1627 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2022-12-08 21:24:00 -05:00
Jacob Fletcher
39a956cee3
fix: relationship drawer permissions
2022-12-07 16:40:42 -05:00
Dan Ribbens
c211a804bd
chore: change test assertion to be more consistent ( #1543 )
2022-11-29 18:24:40 -05:00
Jacob Fletcher
246ab414c8
chore: writes e2e test for dynamic filterOptions
2022-11-23 15:11:16 -05:00
Jarrod Flesch
56144c07f0
chore: merge tests
2022-11-23 14:05:56 -05:00
Jacob Fletcher
99c1f41e30
fix: dynamic relationship filterOptions
2022-11-23 13:47:44 -05:00
James
fbb4944e83
chore: fixes broken tests and ts
2022-11-22 20:05:40 -05:00
James
5bf1354741
chore: fixes tests
2022-10-06 15:23:49 -04:00
Dan Ribbens
eabb981243
fix: duplicate with relationships
2022-09-16 12:26:18 -04:00
Wesley
c3a0bd8625
fix: implement the same word boundary search as the like query ( #1038 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2022-09-01 13:03:21 -04:00
Dan Ribbens
d727fc8e24
feat: validate relationship and upload ids ( #1004 )
...
* feat: validate relationship and upload ids
* chore: update fields-relationship test data
* fix: skip FE relationship and upload id validation
2022-08-29 14:57:06 -04:00
Dan Ribbens
97f2a9b484
test: fix e2e relationship
2022-08-18 17:43:06 -04:00
Afzaal Ahmad
38a1a38c0c
feat: enable reordering of hasMany relationship and select fields ( #952 )
...
* feature: enable reordering of hasMany relationship and select fields using config
* update: correct docs for select, and relationship field for sortable config
* update: move sortable to admin config, and rename it to isSortable, apply grab, and grabbing classes while drag, and drop
2022-08-18 16:59:33 -04:00
Dan Ribbens
145e1db05d
fix: dev:generate-types on all test configs ( #919 )
2022-08-13 13:04:24 -04:00
Elliot DeNolf
b2ae5da62a
test: fix fields-relationship e2e ( #846 )
2022-07-28 11:50:23 -04:00
Dan Ribbens
09f57e9a4c
test: group relationships
...
* test: relationship fields inside groups and subgroup
* test: group nested relationships and arrays
* test: improves coverage for hooks
Co-authored-by: James <james@trbl.design >
2022-07-20 11:52:21 -07:00
Dan Ribbens
893772ebd8
fix: await field hooks recursively
2022-07-19 19:57:47 -04:00
Elliot DeNolf
e8a1cdafba
test: misc e2e fixes
2022-07-18 22:59:48 -07:00
Elliot DeNolf
fa9bd6191c
chore: run prettier on entire test dir
2022-07-17 08:20:01 -07:00
Elliot DeNolf
ba79b4446c
test: refactor all test directories into one
2022-07-15 12:51:43 -07:00