Alessio Gravili
17f7b94555
chore: improve test suites, upgrade jest and playwright, add debug utilities for lexical ( #4011 )
...
* feat(richtext-lexical): 'bottom' position value for plugins
* feat: TestRecorderFeature
* chore: restructuring to seed and clear db before each test
* chore: make sure all tests pass
* chore: make sure indexes are created in seed.ts - this fixes one erroring test
* chore: speed up test runs through db snapshots
* chore: support drizzle when resetting db
* chore: simplify seeding process, by moving boilerplate db reset / snapshot logic into a wrapper function
* chore: add new seeding process to admin test suite
* chore(deps): upgrade jest and playwright
* chore: make sure mongoose-specific tests are not skipped
* chore: fix point test, which was depending on another test (that's bad!)
* chore: fix incorrect import
* chore: remove unnecessary comments
* chore: clearly label lexicalE2E test file as todo
* chore: simplify seed logic
* chore: move versions test suite to new seed system
2023-11-06 16:38:40 +01:00
Jarrod Flesch
c7a315a7d1
fix: passes correct data to buildStateFromSchema on account page ( #3984 )
...
* chore: fixes e2e tests
2023-11-03 10:30:36 -04:00
Jacob Fletcher
f7d4c04f65
chore: adds e2e tests for nested views ( #3962 )
2023-11-02 13:13:29 -04:00
Jacob Fletcher
f04a18a258
chore: fixes flaky e2e tests ( #3961 )
2023-11-01 10:22:54 -04:00
Jacob Fletcher
a5b2333140
fix: deeply merges view configs ( #3954 )
2023-11-01 08:58:42 -04:00
Dan Ribbens
dc13b101f7
fix(payload): graphql query errors transaction race condition ( #3795 )
2023-10-27 13:29:51 -04:00
Jarrod Flesch
ea83c3f3a2
fix: simplify how the search input and query params are connected ( #3797 )
2023-10-21 10:04:54 -04:00
Jacob Fletcher
67d61df563
fix: standardizes layout of document fields ( #3798 )
2023-10-20 22:22:41 -04:00
Take Weiland
056585ed31
fix: properly handles hideAPIURL ( #3721 )
2023-10-18 16:36:57 -04:00
Jacob Fletcher
8358e2f2d2
chore: properly scopes selector in bulk update e2e test ( #3640 )
2023-10-13 13:51:52 -04:00
Jacob Fletcher
fcd4c8d830
fix: document sidebar vertical overflow ( #3639 )
2023-10-13 13:00:02 -04:00
Jacob Fletcher
483f93bfcf
chore: cleans up admin e2e tests ( #3636 )
2023-10-13 12:04:05 -04:00
Jacob Fletcher
beed83b231
fix: preview button conditions ( #3613 )
2023-10-13 10:23:26 -04:00
Jessica Chowdhury
32c0bef05e
fix: updates admin e2e test for stepnav change ( #3602 )
2023-10-12 12:40:35 -04:00
Jacob Fletcher
cfc78ed4f5
fix: sidebar width when fields have long descriptions ( #3562 )
2023-10-10 17:04:54 -04:00
Jacob Fletcher
ace3e577f6
fix: renders global label as page title ( #3532 )
2023-10-09 17:58:21 -04:00
Jacob Fletcher
25ae4a24f2
chore: consolidates admin view types
2023-10-09 08:56:08 -04:00
Jacob Fletcher
3668f053b3
chore!: consolidates admin routes and views configs ( #3458 )
...
BREAKING CHANGE: If your config has a `admin.components.routes` array, you will need to key them into the `admin.components.views` object. The configuration options should remain unchanged.
2023-10-08 16:08:13 -04:00
PatrikKozak
03538c0901
chore: renders id column as code cell ( #3435 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
2023-10-06 15:58:02 -04:00
Jacob Fletcher
18472d0178
chore: properly sizes tab field when sidebar exists
2023-10-05 15:15:02 -04:00
Elliot DeNolf
1107a1d7d1
chore: rename editors
2023-10-04 13:27:19 -04:00
Jacob Fletcher
cbc1f3b3f1
chore: improves edit view types ( #3427 )
2023-10-03 15:41:15 -04:00
Jacob Fletcher
baf2b6de30
chore: passing admin e2e tests
2023-10-02 17:57:10 -04:00
Jacob Fletcher
0c6bea7388
chore: nests doc tab li in tab conditions
2023-10-02 15:15:43 -04:00
Jacob Fletcher
34e2dc8a79
chore: overflows step nav ( #3415 )
2023-09-29 17:11:27 -04:00
Jacob Fletcher
9d9d20efd9
chore: overhauls main nav ( #3410 )
2023-09-29 13:10:37 -04:00
Jacob Fletcher
aa94c00bc6
chore: misc css ( #3391 )
2023-09-27 13:18:29 -04:00
Jacob Fletcher
d61eef23d1
chore: fixes admin view types ( #3398 )
2023-09-27 10:56:15 -04:00
Jacob Fletcher
7ea4fcde2c
feat: custom document tabs ( #3387 )
2023-09-22 17:42:23 -04:00
Alessio Gravili
a81401cf77
feat: breaking: richtext adapter ( #3311 )
...
BREAKING: requires user to install @payloacms-richtext-slate and specify a `config.editor` property
* chore: move slate stuff into packages/richtext-slate
* chore: fieldTypes stuff
* chore: fix richtext-slate tsconfig
* chore: add clean:unix command
* chore: fix up things
* chore: undo subpath imports being hoisted up
* chore: fix incorrect imports
* chore: improve AdapterArguments type
* chore: remove unused richTextToHTML and stringifyRichText files
* fix: core-dev scss imports
* chore: fix publishConfig exports for richtext-slate
* chore: adjust joi schema for richtext field
* chore: various fixes
* chore: handle afterRead population in richText adapter
* chore: handle more after-read promise stuff
* chore: fix joi validation
* chore: add richtext adapter to tests
* chore: merge adapter props with field props
* chore: index.tsx => index.ts
* chore: rename `adapter` to `editor`
* chore: fix e2e tests not running due to importing a constant from a file (`Tabs`) which imports createSlate.
This fails because createSlate imports React components.
* chore: remove unnecessary import
* chore: improve various typings
* chore: improve typings for List view Cell components
* feat: richText adapter cell component
* chore: add missing types packages for packages/richtext-slate
* chore: add new adapter interface properties to joi schema
* chore: withMergedProps utility which replaces getSlateCellComponent and getSlateFieldComponent
* feat: added config.defaultEditor property which is now required. field.editor is no longer required and overrides config.defaultEditor
* docs: mention editor and defaultEditor property in the docs
* chore: fix incorrectly formatted JSX in docs files breaking mdx parser
* chore: fix various errors
* chore: auto-generated pointer files
2023-09-19 11:03:31 +02:00
Jacob Fletcher
4df942529a
chore: improves collection and global view routing ( #3341 )
2023-09-16 01:46:56 -04:00
Jacob Fletcher
dbaa1f7319
chore: abstracts filterFields from RenderFields ( #3340 )
2023-09-15 17:39:00 -04:00
Jacob Fletcher
85c8e4dc65
chore: overhauls admin navigation ( #3339 )
2023-09-15 17:33:28 -04:00
Jacob Fletcher
81010311f9
chore: builds main menu modal ( #3313 )
2023-09-15 16:40:08 -04:00
Jacob Fletcher
4b514d4c94
chore: establishes pattern for custom collection and global views ( #3312 )
2023-09-15 16:38:23 -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
Alessio Gravili
f97da2a9b4
chore: fix scss import
2023-09-01 21:43:45 +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
Alessio Gravili
9467074fb9
chore: update 2.0 branch from master ( #3207 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: PatrikKozak <patrik@trbl.design >
Co-authored-by: Lucas Blancas <lablancas@gmail.com >
Co-authored-by: Stef Gootzen <37367280+stefgootzen@users.noreply.github.com >
Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com >
Co-authored-by: Jessica Chowdhury <67977755+JessChowdhury@users.noreply.github.com >
Co-authored-by: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com >
Co-authored-by: Greg Willard <Wickett06@gmail.com >
Co-authored-by: James Mikrut <james@payloadcms.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
fix: WhereBuilder component does not accept all valid Where queries (#3087 )
fix: passes in height to resizeOptions upload option to allow height resize (#3171 )
2023-08-22 16:04:50 -04:00
Dan Ribbens
e73cd26f10
merge master
2023-08-14 15:54:04 -04:00
rpfaeffle
942cfec286
feat: add support for hotkeys ( #1821 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: Jessica Boezwinkle <jessica@trbl.design >
2023-08-14 15:36:49 -04:00
Dan Ribbens
89f759fa84
merge master
2023-08-07 09:22:19 -04:00
Alessio Gravili
a09c4ddc3b
chore: improve flaky admin test suite ( #3085 )
2023-08-04 11:23:17 -04:00
James
3a5851d28a
chore: passing tests
2023-07-31 18:12:09 -04:00
James
20179ba77b
chore: merge master
2023-07-29 11:18:39 -04:00
Jarrod Flesch
641c765fb9
feat: solidifies bundler adapter pattern ( #3044 )
2023-07-21 17:20:51 -04:00
Dan Ribbens
8a681450d1
feat: add database transaction support( #2983 )
2023-07-21 14:13:18 -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