Vlad Kovalevsky
114758b193
chore: allow empty string route.api
2022-11-22 15:46:22 -05:00
Dan Ribbens
9ea41fbb58
chore: fix translation key ( #1491 )
2022-11-22 13:12:58 -05:00
Dan Ribbens
8123585592
fix: translate version comparison view field labels ( #1470 )
2022-11-21 20:19:16 -05:00
Jarrod Flesch
1d1d2493aa
fix: rendering of localized select value
2022-11-21 17:07:22 -05:00
Dan Ribbens
7b6a9ede6e
feat: add i18n to option labels in version comparison ( #1477 )
2022-11-21 16:38:01 -05:00
Dan Ribbens
400cb9b6bc
fix: invalid query string user account request ( #1478 )
2022-11-21 16:32:15 -05:00
Carlo Brualdi
078c28bd5f
fix: versionCount was broken & other i18n improvements ( #1450 )
2022-11-21 16:24:13 -05:00
Jacob Fletcher
59a4355614
Merge pull request #1451 from jacobsfletch/fix/draft-patch
...
fix: ensures draft operations save as drafts
2022-11-21 15:15:52 -05:00
Dan Ribbens
3a622fcd63
chore: fix translation namespace typo ( #1460 )
2022-11-21 11:21:44 -05:00
James Mikrut
29ed75c329
Merge pull request #1456 from jacobsfletch/fix/reactive-stepnav
...
fix: dynamically sets stepnav from default edit view
2022-11-21 09:13:23 -05:00
Jarrod Flesch
9303e32273
Merge pull request #1420 from thgh/fix/textarea-click-target
...
fix: Increase textarea click area
2022-11-21 08:13:24 -05:00
Elliot DeNolf
075b7e9f02
fix(i18n): version count ( #1465 )
2022-11-20 12:46:57 -05:00
Jacob Fletcher
40c87784b0
fix: dynamically sets stepnav from default edit view
2022-11-18 17:30:33 -05:00
Jarrod Flesch
bf30713860
chore: removes unnecessary styles
2022-11-18 16:14:31 -05:00
Jarrod Flesch
2e57b76df0
fix: adjusts styles to allow error bg to fill textarea
2022-11-18 16:11:32 -05:00
Jarrod Flesch
699ca14434
fix: sanitizes select values on the server, allowing isClearable selects to be cleared without error
2022-11-18 14:58:51 -05:00
Jacob Fletcher
25822a91b1
fix: allows patching global drafts #1415
2022-11-18 14:55:24 -05:00
Jacob Fletcher
f700f51f2b
fix: flattens locales before versioning published docs #1415
2022-11-18 14:31:25 -05:00
Jacob Fletcher
fc16ffefdb
fix: ensures drafts operations saves as draft #1415
2022-11-18 13:08:16 -05:00
Dan Ribbens
bab34d82f5
feat: add i18n to admin panel ( #1326 )
...
Co-authored-by: shikhantmaungs <shinkhantmaungs@gmail.com >
Co-authored-by: Thomas Ghysels <info@thomasg.be >
Co-authored-by: Kokutse Djoguenou <kokutse@Kokutses-MacBook-Pro.local >
Co-authored-by: Christian Gil <47041342+ChrisGV04@users.noreply.github.com >
Co-authored-by: Łukasz Rabiec <lukaszrabiec@gmail.com >
Co-authored-by: Jenny <jennifer.eberlei@gmail.com >
Co-authored-by: Hung Vu <hunghvu2017@gmail.com >
Co-authored-by: Shin Khant Maung <101539335+shinkhantmaungs@users.noreply.github.com >
Co-authored-by: Carlo Brualdi <carlo.brualdi@gmail.com >
Co-authored-by: Ariel Tonglet <ariel.tonglet@gmail.com >
Co-authored-by: Roman Ryzhikov <general+github@ya.ru >
Co-authored-by: maekoya <maekoya@stromatolite.jp >
Co-authored-by: Emilia Trollros <3m1l1a@emiliatrollros.se >
Co-authored-by: Kokutse J Djoguenou <90865585+Julesdj@users.noreply.github.com >
Co-authored-by: Mitch Dries <mitch.dries@gmail.com >
BREAKING CHANGE: If you assigned labels to collections, globals or block names, you need to update your config! Your GraphQL schema and generated Typescript interfaces may have changed. Payload no longer uses labels for code based naming. To prevent breaking changes to your GraphQL API and typescript types in your project, you can assign the below properties to match what Payload previously generated for you from labels.
On Collections
Use `graphQL.singularName`, `graphQL.pluralName` for GraphQL schema names.
Use `typescript.interface` for typescript generation name.
On Globals
Use `graphQL.name` for GraphQL Schema name.
Use `typescript.interface` for typescript generation name.
On Blocks (within Block fields)
Use `graphQL.singularName` for graphQL schema names.
2022-11-18 07:36:30 -05:00
Jarrod Flesch
65f0e1caac
fix: build errors
2022-11-16 13:08:07 -05:00
Jarrod Flesch
d9df98ff22
feat: simplifies collapsible label API, adds e2e tests
2022-11-16 12:57:54 -05:00
Jarrod Flesch
999c8fc08b
Merge remote-tracking branch 'origin/master' into pr/bigmistqke/1223
2022-11-16 09:05:07 -05:00
Jarrod Flesch
fe221aea67
Merge remote-tracking branch 'origin/master' into pr/bigmistqke/1223
2022-11-16 09:00:53 -05:00
Jarrod Flesch
57a8c352e4
feat: adds playwright tests for array fields
2022-11-16 09:00:50 -05:00
Thomas Ghysels
c303913e61
fix: Increase textarea click area
2022-11-16 01:41:08 +01:00
Jarrod Flesch
e458087a55
fix: sets pointer-events to none so the entire label bar is clickable
2022-11-15 16:05:54 -05:00
Jarrod Flesch
b74ea218ca
feat: specifies component names for arrays/collapsibles, simplifies threaded data
2022-11-15 11:34:36 -05:00
Jarrod Flesch
2878b4b1be
fix: corrects exported custom component type
2022-11-15 09:23:20 -05:00
James
50bcf001ea
fix : #1414
2022-11-15 09:20:54 -05:00
Jacob Fletcher
71a6c58b27
chore: cleans up handleTabChange async callback
2022-11-15 07:40:39 -05:00
Jarrod Flesch
13ec1e0398
feat: converts rowHeader to collapsibleLabel, extends data passed to functions/components
2022-11-15 01:53:09 -05:00
Jacob Fletcher
35426eef36
feat: updates tab preference keys
2022-11-14 18:30:18 -05:00
Jacob Fletcher
32833ec571
Merge branch 'payloadcms:master' into master
2022-11-14 17:49:36 -05:00
Jacob Fletcher
5eb8e4a28f
feat: saves tab index to user preferences
2022-11-14 17:49:18 -05:00
Thomas Ghysels
0f27b103b4
feat: let textarea grow based on value ( #1398 )
...
* feat: autogrowing textarea
* feat: sets textarea min-height and reduces height on mobile
Co-authored-by: Jessica Boezwinkle <jessica@trbl.design >
2022-11-14 16:26:22 -05:00
James
d103f6c94f
fix: ensures admin components is defaulted
2022-11-14 15:46:34 -05:00
Alberto Maghini
a345ef0d31
feat: admin UI logout extensibility ( #1274 )
...
* added Logout documentation
* updated type and schema
* updated logout component, route and inactivityRoute references
* added custom Logout component into test admin instance
* fixed windows path management
* added dotenv usage
* added check on testSuiteDir and provided more meaningful error message
* fixed object destructure
* updated from logout.route to logoutRoute
* extracted getSanitizedLogoutRoutes method
* added unit tests
* updated references
* updated doc
* reviewed casing and added defaults
* updated usage
* restored workers previous value
* fixed config validation
* updated docs and schema
* updated reference to logoutRoute and inactivityRoute
* updated test ref
Co-authored-by: Alberto Maghini (MSC Technology Italia) <alberto.maghini@msc.com >
Co-authored-by: Alberto Maghini <alberto@newesis.com >
2022-11-14 14:55:31 -05:00
Thomas Ghysels
4d8cc97475
fix: add slug to DocumentInfo context ( #1389 )
2022-11-14 14:54:05 -05:00
James
7556b54017
chore: fixes TS error in UploadGallery
2022-11-14 14:49:31 -05:00
Feng Sun
5e8a8b2df9
fix: adds unique key to upload cards to prevent old images being shown while navigating to new page
2022-11-14 14:48:08 -05:00
bigmistqke
e4f2be3dec
RowHeaderFunction becomes RowHeaderComponent
2022-11-14 17:44:39 +01:00
bigmistqke
27499981c8
admin.header to admin.components.RowHeader
2022-11-14 15:53:37 +01:00
bigmistqke
d5e725c608
fix: components optional chaining
2022-11-14 15:52:43 +01:00
bigmistqke
ef5cc2ab0f
rename RowLabel-parameter to RowHeader
2022-11-14 15:51:47 +01:00
bigmistqke
5cd87a754b
update collapsible's schema and type
2022-11-14 15:12:58 +01:00
bigmistqke
b1370b814a
fix bug: deleted baseAdminFields caused errors
...
also rename admin.header to admin.components.RowHeader
2022-11-14 15:04:45 +01:00
bigmistqke
b1105085c5
rename RowLabel to RowHeader
...
edit RowLabel.fallback's type to allow strings
2022-11-14 15:02:55 +01:00
Elliot DeNolf
cdaa8cc29f
fix: global afterRead and afterChange execution ( #1405 )
2022-11-14 08:18:58 -05:00
bigmistqke
811913cb85
rename files and collapse types
...
RowLabel becomes RowHeader for continuity purposes
RowHeaderFunction is removed from types as it is equal to Component
2022-11-14 14:13:51 +01:00