Elliot DeNolf
9226be058c
test: fix useField imports
2024-03-15 16:02:27 -04:00
PatrikKozak
2dc425b083
test: updates text field config imports to relative imports
2024-03-15 15:54:54 -04:00
James
c5f915651c
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-15 15:30:56 -04:00
James
e2d7fec793
chore: merge
2024-03-15 15:30:29 -04:00
Paul Popus
d3b4f46b25
fix: further fixes for live preview
2024-03-15 16:30:00 -03:00
James
6311156169
chore: optimizes buildFormState by passing prefs from admin
2024-03-15 15:28:05 -04:00
Elliot DeNolf
695a814eb3
ci: explicitly install playwright
2024-03-15 15:17:05 -04:00
Elliot DeNolf
5ef2e35685
test: fix mongodb destroy
2024-03-15 15:11:04 -04:00
Alessio Gravili
8818ed9d7b
fix: document permissions not working for Document Drawers
2024-03-15 15:06:55 -04:00
Paul Popus
d785af1826
fix: core fixes to the live-preview e2e test suite
2024-03-15 15:36:58 -03:00
Alessio Gravili
398811a14e
fix: Document Drawers triggered from relationship fields were requesting form state from field schemaPath rather than the actual, requested collection
2024-03-15 14:32:12 -04:00
Patrik
c5f9533d2b
test: passing text field suite ( #5341 )
2024-03-15 14:27:43 -04:00
Alessio Gravili
aaf17aa2b2
chore: e2e tests: get nav-toggler helpers to work on all screen sizes
2024-03-15 13:43:48 -04:00
Elliot DeNolf
3e11379e6c
chore: add jest runner to extensions
2024-03-15 13:24:54 -04:00
Elliot DeNolf
f78d0b7c7a
chore: add proper playwright ext to extensions.json
2024-03-15 13:21:55 -04:00
Elliot DeNolf
978e19c817
test: fix custom-graphql beforeAll
2024-03-15 12:19:00 -04:00
Alessio Gravili
1550e32282
chore: keep sync and ui next versions in sync. Only the monorepo next version has to be different
2024-03-15 11:53:31 -04:00
Alessio Gravili
7fb2dc6500
chore: fix playwright by making sure ui uses a different next version than anything else
2024-03-15 11:50:57 -04:00
Alessio Gravili
92654af609
fix: properly type getPreferences and update richtext-lexical's block collapsed handling to match that type
2024-03-15 10:53:32 -04:00
Alessio Gravili
c10787dbb3
chore: fix ts-eslint not being able to work with types imported across packages
2024-03-15 10:46:14 -04:00
Elliot DeNolf
4fecb7fad9
chore(richtext-lexical): do not pass DefaultCell
2024-03-15 10:23:39 -04:00
Elliot DeNolf
01a121868b
revert(db-mongodb): add back 'as any' removed during lint
2024-03-15 10:13:48 -04:00
Paul Popus
a023009dee
fix: not returning not found when fetching docPermissions when id doesnt exist
2024-03-15 11:09:06 -03:00
Paul Popus
e301393f33
fix: add conditional for getCustomViewByRoute
2024-03-15 10:26:55 -03:00
Alessio Gravili
39600fb0f5
fix(eslint-config-payload): get eslint-config-prettier to work properly by moving it to the end of the extends array
2024-03-15 09:22:28 -04:00
Paul Popus
663cde7676
chore: track website media pictures
2024-03-15 10:06:07 -03:00
Elliot DeNolf
dac771c096
Merge pull request #5337 from payloadcms/alpha-lint-prettier
...
chore: eslint improvements, run eslint & prettier everywhere
2024-03-15 08:58:24 -04:00
Alessio Gravili
b8b1d572b4
chore: add lint & prettier commit to .git-blame-ignore-revs
2024-03-14 23:55:05 -04:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Alessio Gravili
051fdfb081
chore: more eslint rule improvements
2024-03-14 23:40:07 -04:00
Alessio Gravili
1f07a827ec
chore: remove unused eslint-plugin-import
2024-03-14 23:17:43 -04:00
Alessio Gravili
81618d2efc
chore: eslint: turn off react/jsx-one-expression-per-line rule which is conflicting with prettier
2024-03-14 22:54:59 -04:00
Alessio Gravili
6f44a88ffd
chore: add @typescript-eslint/no-unnecessary-type-constraint rule to warn-only
2024-03-14 22:51:49 -04:00
Alessio Gravili
4300c3d550
chore: add missing .prettierignore files. Without them, folders like "dist" would not be excluded on a package-level despite a root-level .prettierignore being present
2024-03-14 22:48:27 -04:00
Alessio Gravili
5fbf7b3d24
chore: improve pre-defined eslint ignorePatterns
2024-03-14 22:44:31 -04:00
Alessio Gravili
eb5899c94b
chore: upgrade all eslint packages, fix incorrect override for test/eslintrc
2024-03-14 22:40:08 -04:00
Alessio Gravili
5e68fa1255
chore: change eslint sharedRules to baseRules to match baseExtends
2024-03-14 22:20:33 -04:00
Alessio Gravili
f1c322fe69
chore: narrow down eslint included files, change some rules to warn-only instead of erroring
2024-03-14 22:18:35 -04:00
Alessio Gravili
580520f100
chore: add back relaxed eslint rules for tests
2024-03-14 21:22:30 -04:00
Alessio Gravili
40343df255
fix(richtext-lexical): createHeadlessEditor import
2024-03-14 17:04:29 -04:00
Alessio Gravili
57f8b427db
fix(richtext-lexical): remove Lazy field & cell components, which fixes RSC errors, likely due to RSC bug where React.lazy's are not handled properly
2024-03-14 17:01:14 -04:00
Jacob Fletcher
f85e96acac
fix(ui): executes filterOptions on the server ( #5335 )
2024-03-14 16:53:24 -04:00
Alessio Gravili
bff83f1785
chore: upgrade next
2024-03-14 16:47:57 -04:00
Alessio Gravili
ca27748799
fix(richtext-lexical): get sub-block-lexical fields to work 4 out of 5 times
2024-03-14 16:42:08 -04:00
Paul Popus
2dc98f682f
fix: issue with community post type
2024-03-14 17:01:33 -03:00
Paul Popus
d4f3309ffd
fix: rowLabel for array field and collapsible field to support client side components
2024-03-14 16:59:33 -03:00
Elliot DeNolf
821777bd64
chore: remove redundant token deletion
2024-03-14 15:52:47 -04:00
Kendell Joseph
84c2fa9491
fix: forgot password view ( #5322 )
2024-03-14 15:46:42 -04:00
Dan Ribbens
d193c677c7
chore: attach mongoMemoryServer to db and destroy in tests ( #5326 )
...
* chore: attach mongoMemoryServer to db and destroy in tests
* bump mongodb-memory-server to 9.x
---------
Co-authored-by: Paul Popus <paul@nouance.io >
2024-03-14 15:41:20 -04:00
Jacob Fletcher
cbfc7c8b43
docs: adds jsdocs for filterOptions and syncs docs
2024-03-14 15:00:17 -04:00