Alessio Gravili
b2dabb78bb
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-07 15:57:10 -07:00
Alessio Gravili
0cd83f0591
perf: upgrade json-schema-to-typescript and various other dependencies ( #9076 )
...
This further reduces the amount of dependencies installed by payload.
Special thanks to @benmccann for this PR
(https://github.com/bcherny/json-schema-to-typescript/pull/639 ) !
json-schema-to-typescript before this PR (15.0.1):

14mb, 37 dependencies
json-schema-to-typescript after this PR (15.0.3):

11 MB, 14 dependencies
This PR also upgrades:
- console-table-printer
- croner
- get-tsconfig
- jose
- pino-pretty
- ts-essentials
- tsx
2024-11-07 22:54:45 +00:00
James Mikrut
cd49783105
Update README.md
2024-11-07 17:53:55 -05:00
Jacob Fletcher
b78b1af0af
properly increments edit depth for rich text drawers and more
2024-11-07 17:26:31 -05:00
Jacob Fletcher
42e20bd982
resolves type in buildTableState error handler
2024-11-07 16:46:21 -05:00
Jacob Fletcher
b8d18a73da
resolves more types
2024-11-07 16:39:22 -05:00
Alessio Gravili
76ae85566e
fix: lexical blocks kicking focus out of editor when writing
2024-11-07 14:38:32 -07:00
Jacob Fletcher
0f081a4999
fixes default file cell field type
2024-11-07 16:19:24 -05:00
Jacob Fletcher
36ce0438eb
prevents infinitely referencing props
2024-11-07 16:19:24 -05:00
Jarrod Flesch
60fbc3e251
Merge remote-tracking branch 'refs/remotes/origin/feat/on-demand-rsc' into feat/on-demand-rsc
2024-11-07 16:01:13 -05:00
Jarrod Flesch
6d11f790c0
chore: fix collapsible field test
2024-11-07 16:01:00 -05:00
James
2add224ee5
chore: makes alessio happy
2024-11-07 15:57:27 -05:00
James
8f3b0fd71b
Merge branch 'feat/on-demand-rsc' of github.com:payloadcms/payload into feat/on-demand-rsc
2024-11-07 15:55:10 -05:00
James
6a78be6b17
chore: fixes types
2024-11-07 15:54:56 -05:00
Elliot DeNolf
5b77653fe7
ci: run build when templates change
2024-11-07 15:45:57 -05:00
Paul
1d5d30391e
fix(templates): fix website template's missing paragraph feature allowing you to change text from headings ( #9072 )
2024-11-07 20:36:01 +00:00
Alessio Gravili
f8bc243144
make fieldSchemaMap of fieldSchemasToFormState optional and add JSDocs
2024-11-07 13:30:54 -07:00
Alessio Gravili
6a6aa9a85f
fix(richtext-lexical): fix missing case where empty lexical editors with required: true were not detected as empty
2024-11-07 13:30:24 -07:00
Elliot DeNolf
2c0caab761
ci: remove unused generated-templates, replaced with template build job
2024-11-07 15:30:11 -05:00
Alessio Gravili
fac30ad95e
fix(richtext-lexical): correct usages of fieldSchemasToFormState for validation
2024-11-07 13:29:36 -07:00
Mikkel Madsen
57e535e646
fix: corrected translation emailOrPasswordIncorrect for Danish (da) ( #9063 )
...
## Description
Corrected `emailOrPasswordIncorrect` translation for Danish (da)
- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
Type of change
- [x] fix (non-breaking change)
2024-11-07 15:26:32 -05:00
James
58c792cfc9
Merge branch 'feat/on-demand-rsc' of github.com:payloadcms/payload into feat/on-demand-rsc
2024-11-07 14:56:32 -05:00
James
2536107abb
chore: fixes types
2024-11-07 14:55:52 -05:00
Alessio Gravili
057a37b50e
fix docPermissions and getFormState type errors
2024-11-07 12:12:25 -07:00
Jacob Fletcher
aa402bca12
fix create new relationship drawer
2024-11-07 13:28:07 -05:00
Jacob Fletcher
64154e0818
fix edit depth, differentiates from drawer depth
2024-11-07 13:28:07 -05:00
Elliot DeNolf
8c10a23fa2
test: naming
2024-11-07 13:10:05 -05:00
Elliot DeNolf
80b69ac53d
test: naming with matrix ( #9064 )
...
Better test naming when tests are in a matrix.
2024-11-07 13:08:32 -05:00
Dan Ribbens
e2607d4faa
chore: database transactions docs formatting ( #9068 )
2024-11-07 12:48:17 -05:00
Alessio Gravili
81a904af96
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-07 10:42:39 -07:00
Tylan Davis
1267aedfd3
docs: closes <strong> tags properly on jobs queue documentation ( #9067 )
...
### What?
Fixes a formatting issue that prevents
payloadcms.com/docs/beta/jobs-queue/overview from displaying properly.
There were a couple `<strong>` tags in the `jobs-queue/overview` docs
that did not have proper closing `</strong>` tags.
2024-11-07 12:42:16 -05:00
Alessio Gravili
0d468ffc6c
fix(richtext-lexical): cell: replace headless editor functions to get text content with good old recursive loop, and improve display of non-text node types.
...
Using the headless editor was very glitchy. If the server encounters any error anywhere, then any consecutive visit of the list view, where the headless editor will run, will throw a lexical error about no active editor being found when "parseEditorState" is run, despite parseEditorState initializing a new active editor. This is cached in module scope, and server-side errors in Next.js seem to break that behavior for some reason
2024-11-07 10:41:23 -07:00
Jarrod Flesch
c35b3164a4
Merge remote-tracking branch 'refs/remotes/origin/feat/on-demand-rsc' into feat/on-demand-rsc
2024-11-07 12:22:53 -05:00
Jarrod Flesch
f4517685df
adjust list header rendering
2024-11-07 12:22:22 -05:00
Alessio Gravili
51ec6b2fa4
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-07 10:17:40 -07:00
Alessio Gravili
fdbf86d394
fix document drawer abort controller madness
2024-11-07 09:52:38 -07:00
Elliot DeNolf
e907724af7
chore(cpa): use git tags for template urls ( #9065 )
...
`create-payload-app` will now use git tags when cloning down the
templates instead of using latest from a branch.
The mechanism is cpa will read its own package.json version and use that
as a git tag prefixed w/ `v`
2024-11-07 11:47:26 -05:00
Jacob Fletcher
b9c41ee095
fix existing doc drawer initialization
2024-11-07 11:37:14 -05:00
Alessio Gravili
652e6910c9
fix some lexical tests again
2024-11-07 09:11:52 -07:00
James
a749617a04
Merge branch 'feat/on-demand-rsc' of github.com:payloadcms/payload into feat/on-demand-rsc
2024-11-07 11:07:38 -05:00
James
f3cf304b6a
chore: type fixes
2024-11-07 11:07:19 -05:00
Elliot DeNolf
320916f542
ci: build templates with packed deps ( #8970 )
...
Build templates using packed deps from the repo.
2024-11-07 10:49:21 -05:00
Alessio Gravili
9d5dd5a61a
fix flakes
2024-11-07 08:40:23 -07:00
Alessio Gravili
aa5abeea7e
fix: re-render entire field when removing a row. Otherwise, the array index in paths of RSC sibling fields will not change
2024-11-07 08:40:09 -07:00
James
e11ad3371b
Merge branch 'feat/on-demand-rsc' of github.com:payloadcms/payload into feat/on-demand-rsc
2024-11-07 10:05:17 -05:00
James
d352c35c22
chore: type fixes
2024-11-07 10:04:35 -05:00
Jarrod Flesch
ac85bc4d04
Merge remote-tracking branch 'refs/remotes/origin/feat/on-demand-rsc' into feat/on-demand-rsc
2024-11-07 09:56:28 -05:00
Jarrod Flesch
4b2e86328a
fix: upload allowCreate
2024-11-07 09:56:16 -05:00
Jarrod Flesch
5e3eab7db4
chore: revert list header classname to current beta css class name
2024-11-07 09:55:51 -05:00
Jacob Fletcher
cde1135106
fix relationship drawers
2024-11-07 09:38:31 -05:00