Jarrod Flesch
07371b9cad
fix: adds bg color for year/month select options in datepicker ( #4508 )
2023-12-14 09:43:29 -05:00
Jarrod Flesch
228d45cf52
fix: correctly fetches externally stored files when passing uploadEdits ( #4505 )
2023-12-14 09:09:37 -05:00
Alessio Gravili
cc0ba89518
feat(richtext-lexical)!: link node: change doc data format to be consistent with relationship field ( #4504 )
...
BREAKING: An unpopulated, internal link node no longer saves the doc id under fields.doc.value.id. Now, it saves it under fields.doc.value.
Migration inside of payload is automatic. If you are reading from the link node inside of your frontend, though, you will have to adjust it.
The version property of the link and autoLink node has been changed from 1 to 2.
2023-12-13 22:57:08 +01:00
Jacob Fletcher
9e7a8c7206
chore(plugin-form-builder): scaffolds tests ( #4500 )
2023-12-13 15:13:38 -05:00
Fredrik Nordström
eb6572e9e5
fix: make admin navigation transition smoother ( #4217 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-13 11:17:41 -05:00
Jessica Chowdhury
45c472d6b3
fix: upload related issues, cropping, fetching local file, external preview image ( #4461 )
2023-12-13 10:22:25 -05:00
Alessio Gravili
c6c5cabfbb
feat(plugin-form-builder): Lexical support ( #4487 )
...
* chore(plugin-form-builder): upgrade dependencies
* chore(plugin-form-builder): update demo
* feat(plugin-form-builder): lexical support
* chore(plugin-form-builder): add yarn.lock
* chore(plugin-form-builder): undo changes to demo
* fix(plugin-form-builder): get plugin to build for payload 2.0
2023-12-13 16:14:14 +01:00
Alessio Gravili
dd84cc69c7
chore: export payload/dist inside of monorepo ( #4489 )
2023-12-13 16:12:31 +01:00
Alessio Gravili
31f8f3cac6
feat(richtext-lexical): Slate to Lexical converter: add blockquote conversion, convert custom link fields ( #4486 )
2023-12-13 13:16:58 +01:00
Patrik
46e8c01fbe
fix: searching by id sends undefined in where query param ( #4464 )
...
fix(db-mongodb): search by id using operator
2023-12-12 14:02:30 -05:00
Jarrod Flesch
13e3e06713
fix: graphql schema generation for fields without queryable subfields ( #4463 )
2023-12-12 12:40:53 -05:00
Jacob Fletcher
1cc87bd8ea
fix(plugin-nested-docs): properly exports field utilities ( #4462 )
2023-12-12 10:51:03 -05:00
Patrik
3df52a8856
fix(plugin-form-builder): removes use of slate in rich-text serializer ( #4451 )
2023-12-12 09:47:38 -05:00
dependabot[bot]
93f0ebdeae
chore(deps): bump terser in /packages/plugin-search/demo ( #3886 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.1 to 5.22.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.12.1...v5.22.0 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:36:43 -05:00
Jarrod Flesch
3a20ddc5f8
fix: ensure ui fields do not make it into gql schemas ( #4457 )
2023-12-12 08:23:24 -05:00
Jarrod Flesch
63000373e6
fix: cursor jumping around inside json field ( #4453 )
2023-12-11 16:58:54 -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
548e78c598
fix(richtext-lexical): Blocks field: should not prompt for unsaved changes due to value comparison between null and non-existent props ( #4450 )
2023-12-11 20:42:42 +01:00
Alessio Gravili
168d629697
feat: add context to auth and globals local API ( #4449 )
...
* feat: add context to auth and globals local API
* chore: add int test
2023-12-11 20:27:34 +01:00
Alessio Gravili
b9c0248823
fix: pin ts-node versions which are causing swc errors ( #4447 )
2023-12-11 17:55:36 +01:00
Alessio Gravili
9222d6f207
chore(richtext-lexical): remove unnecessary leftover Meta license headers, as they're already included in the LICENSE.md
2023-12-11 16:35:26 +01:00
Alessio Gravili
ac7f9809bc
fix(richtext-lexical): not all types of URLs are validated correctly
2023-12-11 16:33:00 +01:00
Alessio Gravili
9331204295
feat(richtext-lexical)!: improve floating select menu Dropdown classNames ( #4444 )
...
Breaking: Dropdown component has a new mandatory sectionKey prop
2023-12-11 14:34:22 +01:00
Alessio Gravili
9babf6804c
feat(richtext-lexical): improve link URL validation ( #4442 )
...
* fix(richtext-lexical): Link: allow phone numbers as URLs starting with tel:+
* feat(richtext-lexical): Link Feature: immediately validate URL field in drawer form
* Remove console log
2023-12-11 00:39:32 +01:00
Alessio Gravili
5c2739ebd1
fix(richtext-lexical): do not add unnecessary paragraph before upload, relationship and blocks nodes ( #4441 )
2023-12-11 00:08:15 +01:00
Alessio Gravili
0421173f9e
fix(richtext-lexical): lexicalHTML field now works when used inside of row fields ( #4440 )
2023-12-10 23:47:32 +01:00
Alessio Gravili
b70c8ff6b8
chore(richtext-lexical): Slash Menu: Don't show scroll bar if not needed ( #4432 )
2023-12-09 15:07:33 +01:00
Alessio Gravili
e55889480f
feat(richtext-lexical): Upload html serializer: Output picture element if the image has multiple sizes, improve absolute URL creation
2023-12-08 20:09:41 +01:00
Elliot DeNolf
d3e47b64c1
chore(release): richtext-slate/1.3.1 [skip ci]
2023-12-07 11:00:19 -05:00
Elliot DeNolf
070f4d5bb5
chore(release): richtext-lexical/0.4.1 [skip ci]
2023-12-07 10:58:17 -05:00
Alessio Gravili
48f1299fcb
fix(richtext-*): loosen RichTextAdapter types due to re-occuring ts strict mode errors ( #4416 )
2023-12-07 15:59:59 +01:00
Alessio Gravili
61dca16f91
chore(richtext-lexical): upgrade to lexical 0.12.5 and port over relevant playground changes ( #4415 )
2023-12-07 15:30:39 +01:00
Dan Ribbens
6e9ae65374
fix(db-postgres): querying nested blocks fields ( #4404 )
...
Co-authored-by: Jessica Chowdhury <jessica@trbl.design >
2023-12-07 09:18:48 -05:00
Alessio Gravili
128f9c4e7e
fix(richtext-lexical): lexicalHTML field not working when used inside of Blocks field
2023-12-07 14:30:01 +01:00
Alessio Gravili
1469fc26c7
chore(richtext-lexical): Slash menu items: improve overflow behavior
2023-12-07 14:13:11 +01:00
Elliot DeNolf
e03ff791b6
chore(release): live-preview/0.2.1 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
403c3d3e08
chore(release): db-postgres/0.2.1 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
d7765ef9e1
chore(release): richtext-slate/1.3.0 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
df4f346f2f
chore(release): richtext-lexical/0.4.0 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
93fa7b608f
chore(richtext-lexical): bump payload peer dep
2023-12-06 13:41:32 -05:00
Elliot DeNolf
989aba665e
chore(release): payload/2.4.0 [skip ci]
2023-12-06 13:41:32 -05:00
Alessio Gravili
7af8f29b4a
feat(richtext-lexical): Link & Relationship Feature: field-level configurable allowed relationships ( #4182 )
...
* feat(richtext-lexical): ability to configure link feature enabled relations on a field-level
* feat(richtext-lexical): ability to configure Relationship feature enabled relations on a field-level
* chore(richtext-lexical): Improve Link feature props typing
* chore(richtext-lexical): Improve Link and Relationship feature props typing
* fix(richtext-lexical): Link drawer types
* chore: merge conflict resolve
* chore(richtext-lexical): Link Feature: add comments that explain how getBaseFields works
2023-12-06 17:50:50 +01:00
Dan Ribbens
dbaecda0e9
fix(db-postgres): sorting on a not-configured field throws error ( #4382 )
2023-12-06 09:27:43 -05:00
Tylan Davis
cf9a3704df
fix: handles null upload field values ( #4397 )
2023-12-06 09:26:19 -05:00
Patrik
4b5453e8e5
fix: simplifies query validation and fixes nested relationship fields ( #4391 )
2023-12-06 08:47:34 -05:00
Alessio Gravili
5de347ffff
feat(richtext-lexical)!: lazy import React components to prevent client-only code from leaking into the server ( #4290 )
...
* chore(richtext-lexical): lazy import all React things
* chore(richtext-lexical): use useMemo for lazy-loaded React Components to prevent lag and flashes when parent component re-renders
* chore: make exportPointerFiles.ts script usable for other packages as well by hoisting it up to the workspace root and making it configurable
* chore(richtext-lexical): make sure no client-side code is imported by default from Features
* chore(richtext-lexical): remove unnecessary scss files
* chore(richtext-lexical): adjust package.json exports
* chore(richtext-*): lazy-import Field & Cell Components, move Client-only exports to /components subpath export
* chore(richtext-lexical): make sure nothing client-side is directly exported from the / subpath export anymore
* add missing imports
* chore: remove breaking changes for Slate
* LazyCellComponent & LazyFieldComponent
2023-12-06 14:20:18 +01:00
Christian May
912abe2b64
docs(plugin-nested-docs): clarifies that relationships are intra-collection ( #4375 )
2023-12-05 00:58:36 -05:00
Jacob Fletcher
4090aebb0e
fix(live-preview): populates rte uploads and relationships ( #4379 )
2023-12-05 00:53:11 -05:00
Kane Wang
50253f617c
feat: add Chinese Traditional translation ( #4372 )
2023-12-04 15:29:29 -05:00
Dan Ribbens
b6cffcea07
fix: defaultValues computed on new globals ( #4380 )
2023-12-04 15:05:47 -05:00