Jacob Fletcher
4adc30b034
chore: fixes failing postgres int test for live preview ( #4329 )
2023-11-30 10:30:09 -05:00
Jacob Fletcher
9cc88bb474
fix: properly sets tabs key in fieldSchemaToJSON ( #4317 )
2023-11-30 09:48:37 -05:00
Jacob Fletcher
57fc211674
fix(live-preview): re-populates externally updated relationships ( #4287 )
2023-11-30 09:47:56 -05:00
Dan Ribbens
9da9b1fc50
fix: duplicate documents with required localized fields ( #4236 )
2023-11-30 09:27:24 -05:00
Patrik
224cddd045
feat: relationship sortOptions property ( #4301 )
...
* feat: adds sortOptions property to relationship field
* chore: fix lexical int tests
* feat: simplifies logic & updates joi schema definition
* feat: revert to default when searching in relationship select
* fix types and joi schema
* type adjustments
---------
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-29 16:22:47 -05:00
Alessio Gravili
3502ce720b
fix: incorrect key property in Tabs field component ( #4311 )
...
Fixes #4282
2023-11-29 22:18:40 +01:00
Jacob Fletcher
d49bb4351f
feat(live-preview): batches api requests ( #4315 )
2023-11-29 14:03:05 -05:00
Jacob Fletcher
66679fbdd6
fix(live-preview): property resets rte nodes ( #4313 )
2023-11-29 12:24:51 -05:00
Jarrod Flesch
cd07873fc5
fix(db-postgres): allow for nested block fields to be queried ( #4237 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-29 11:03:57 -05:00
Jacob Fletcher
381c158b03
fix(live-preview): compounds merge results ( #4306 )
2023-11-29 10:54:14 -05:00
Dan Ribbens
3514bfbdae
fix(db-postgres): error saving nested arrays with versions ( #4302 )
2023-11-29 10:10:08 -05:00
Alessio Gravili
094d02ce1d
fix(richtext-lexical): re-use payload population logic to fix population-related issues ( #4291 )
...
* chore(richtext-lexical): Add int test which reproduces the issue
* chore: Remove unnecessary await in core afterRead promise
* fix(richtext-lexical): re-use recurseNestedFields from payload instead of using own recurseNestedFields
* chore(richtext-lexical): pass in missing properties which are available in the core afterRead hook
* chore: remove unnecessary block
2023-11-28 19:18:07 +01:00
Jessica Chowdhury
1dcd3a2782
fix: prevent json data getting reset when switching tabs ( #4123 )
2023-11-27 12:23:20 -05:00
Jacob Fletcher
65575d3573
Merge branch 'main' into fix/live-preview-rels
2023-11-27 10:54:27 -05:00
Alessio Gravili
c8d2b2b60e
chore(richtext-lexical): fix failing e2e test due to html class changes ( #4265 )
2023-11-26 11:39:27 +01:00
Jacob Fletcher
aab2407112
fix(live-preview): clear hasMany relationships
2023-11-24 09:57:41 -05:00
Jacob Fletcher
24dacd6712
fix(live-preview): populates rich text relationships
2023-11-22 17:55:42 -05:00
Dan Ribbens
6ea29094ba
fix(db-postgres): incorrect pagination totalDocs ( #4248 )
...
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
2023-11-22 16:14:14 -05:00
Dan Ribbens
ef6b8e4235
test: graphql handle deleted relationships ( #4229 )
2023-11-21 13:07:13 -05:00
Dan Ribbens
de02490231
feat: hide publish button based on permissions ( #4203 )
...
Co-authored-by: James <james@trbl.design >
2023-11-20 16:26:49 -05:00
Jacob Fletcher
8a7b41721a
chore: increases live preview testing coverage
2023-11-20 12:58:27 -05:00
Take Weiland
1510baf46e
fix: synchronous transaction errors ( #4164 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-20 12:20:42 -05:00
Jacob Fletcher
0672e864f3
chore: resolves imports and type errors in live preview test app
2023-11-20 11:30:05 -05:00
Alessio Gravili
0af9c4d398
fix(richtext-lexical): Blocks: Array row data is not removed ( #4209 )
...
* chore(richtext-lexical): Add failing test which reproduces issue
* fix(richtext-lexical): fix the actual issue
2023-11-18 14:01:57 +01:00
Alessio Gravili
50fab902bd
fix(richtext-lexical): Blocks: fields without fulfilled condition are now skipped for validation
2023-11-18 11:52:30 +01: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
Alessio Gravili
989c10e0e0
feat: allow richtext adapters to control type generation, improve generated lexical types ( #4036 )
2023-11-16 11:36:20 -05:00
Quentin Beauperin
b91711a74a
fix: improves live preview breakpoints and zoom options in dark mode ( #4090 )
2023-11-16 09:10:33 -05:00
Take Weiland
195a952c43
fix: transactionID isolation for GraphQL ( #4095 )
2023-11-14 16:07:10 -05:00
Alessio Gravili
4ec5643dd7
chore: restricts character length in table cells ( #4063 )
2023-11-14 11:25:24 -05:00
Jessica Chowdhury
45e9a559bb
fix: upload fit not accounted for when editing focal point or crop ( #4142 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-14 11:19:23 -05:00
Alessio Gravili
859c2f4a6d
fix(richtext-lexical): nested editor may lose focus when writing ( #4139 )
2023-11-14 15:42:30 +01:00
Alessio Gravili
b7041d6ab1
chore(richtext-lexical): New e2e test: should allow adding new blocks to a sub-blocks field, part of a parent lexical blocks field ( #4114 )
2023-11-12 23:48:13 +01:00
Alessio Gravili
c87969b7f9
chore(richtext-lexical): Add e2e test: 'ensure slash menu is not hidden behind other blocks'
2023-11-12 23:12:24 +01:00
Alessio Gravili
09f17f4450
fix(richtext-lexical): Blocks: z-index issue, e.g. select field dropdown in blocks hidden behind blocks below, or slash menu inside nested editor hidden behind blocks below
2023-11-12 22:28:05 +01:00
Alessio Gravili
f0642ce031
chore(richtext-lexical): add a bunch of e2e tests, including a failing one
2023-11-12 21:44:18 +01:00
Alessio Gravili
a6d5f2e3de
fix(richtext-lexical): HTMLConverter: cannot find nested lexical fields ( #4103 )
...
Fixes #4034
2023-11-11 12:54:33 +01:00
Jessica Chowdhury
803a37eaa9
fix: simplifies block/array/hasMany-number field validations ( #4052 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-10 12:06:21 -05:00
Take Weiland
acad2888cd
fix: fixes creation of related documents within a transaction if filterOptions is used ( #4087 )
2023-11-10 10:37:58 -05:00
Dan Ribbens
47efd3b92e
fix(plugin-nested-docs): sync write transaction errors ( #4084 )
2023-11-10 10:16:31 -05:00
Jessica Chowdhury
687f4850ac
fix: hide empty image sizes from the preview drawer ( #3946 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-09 22:34:50 -05:00
Jarrod Flesch
dbc4ce71e6
chore: fixes test suites that use clearAndSeedEverything ( #4080 )
2023-11-09 12:30:19 -05:00
Patrik
cef4cbb0ee
fix: conditionally hide dot menu in DocumentControls ( #4075 )
2023-11-09 12:01:58 -05:00
Jacob Fletcher
2ad7340154
fix(live-preview): field recursion and relationship population ( #4045 )
2023-11-08 17:28:35 -05:00
Alessio Gravili
fff377ad22
fix(richtext-lexical): Blocks: unnecessary saving node value when initially opening a document & new lexical tests ( #4059 )
...
* chore: new lexical int tests and working test structure
* chore: more int tests, and better lexical collection structure
* fix(richtext-lexical): Blocks: unnecessary saving node value when initially opening a document
2023-11-08 21:32:43 +01:00
Hulpoi George-Valentin
266c3274d0
feat: Custom Error, Label, and before/after field components ( #3747 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-08 14:40:31 -05:00
Jørgen Kalsnes Hagen
6a0a859563
feat: add internationalization (i18n) to locales ( #4005 )
2023-11-08 12:56:15 -05:00
Dan Ribbens
57da3c99a7
fix: error on graphql multiple queries ( #3985 )
2023-11-08 12:38:25 -05:00
Jacob Fletcher
7a9af4417a
fix: polymorphic hasMany relationships missing in postgres admin ( #4053 )
2023-11-08 12:31:07 -05:00
Patrik
8d14c213c8
fix: resets list filter row when the filter on field is changed ( #3956 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-08 08:31:01 -05:00