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
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
Jarrod Flesch
13ec1e0398
feat: converts rowHeader to collapsibleLabel, extends data passed to functions/components
2022-11-15 01:53:09 -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
Thomas Ghysels
216b9f88d9
fix: cursor jumping while typing in inputs
...
* Revert "feat: optimizes field performance by storing internal values in useField hook"
This reverts commit 66210b856b .
* fix: Lightweight fix for cursor jump issue
Resolves #1393
2022-11-13 19:14:16 -05:00
James
66210b856b
feat: optimizes field performance by storing internal values in useField hook
2022-11-12 18:46:31 -05:00
James
2f684040fc
fix : #1361 , ensures collection auth depth works while retrieving static assets
2022-11-12 15:44:24 -05:00
James
7136db4c71
fix : #1360 , relationship field onMenuScrollToBottom not working in some browsers
2022-11-12 14:44:00 -05:00
James
35f91b038b
fix: 1309, duplicative logout in admin UI
2022-11-12 14:19:08 -05:00
James
eb0023e961
fix : #1358 , allows listSearchableFields to work when indicated fields are nested
2022-11-12 13:44:30 -05:00
James
1d76e973bb
fix : #1367 , allows custom global components within schema validation
2022-11-12 13:08:10 -05:00
James
3f28a69959
fix : #1353 , ensures errors returned from server make their way to UI
2022-11-12 12:55:30 -05:00
James
77792327f1
Merge branch 'master' of github.com:payloadcms/payload
2022-11-11 12:04:01 -07:00
James
86855d68f6
fix : #1357 , nested arrays and blocks sometimes not allowing save
2022-11-11 12:03:39 -07:00
Nick Borko
cfef68f364
fix: fixed GraphQL Access query resolver to return the correct data ( #1339 )
2022-11-11 04:25:46 -08:00
James
93acea9d7f
chore: ensures when array / block rows are added, new row count is properly calculated
2022-11-05 12:05:34 -04:00
James
483adf08c4
feat: optimizes blocks and arrays by removing some additional rerenders
2022-11-05 11:37:55 -04:00
James
e004682799
Merge branch 'master' of github.com:payloadcms/payload
2022-10-31 17:51:00 -04:00
James
c651835061
fix : #1318 , improves popup positioning and logic
2022-10-31 17:50:52 -04:00
Elliot DeNolf
2255ebb64a
feat: revert enforce kebab-case slugs ( #1322 ) ( #1325 )
2022-10-31 16:10:11 -04:00
James
e2ec2f7b97
fix : #1311 , select existing upload modal always updates state
2022-10-31 15:40:18 -04:00
James
00196a8631
chore: ensures form is modified when rows are moved, fixes #1314
2022-10-31 13:25:19 -04:00
James
2a09f15a15
fix : #1307 , #1321 - bug with disableFormData and blocks field
2022-10-31 13:21:16 -04:00
Elliot DeNolf
0420b6dc27
feat: enforce kebab-case slugs ( #1322 )
2022-10-31 11:11:00 -04:00
Elliot DeNolf
25000261bd
fix: custom pino logger options ( #1299 )
2022-10-26 15:08:52 -04:00
Elliot DeNolf
bb82cdcef4
docs: better inline docs for InitOptions
2022-10-26 10:25:06 -04:00
James
31ca1ab379
chore: ensures defaultMaxTextLength is optional
2022-10-25 12:23:45 -04:00
James
3301f59822
fix: enforces depth: 0 in graphql resolvers
2022-10-25 11:00:38 -04:00
TomDo1234
6a1b25ab30
feat: adds default max length for text-based fields
...
* feat: Added to types.ts the default Max Field Length
* feat: Added the defaultMaxFieldLength to the schema.ts
* feat: applying defaultMaxFieldLength to 3 validators
* feat: renamed defaultMaxFieldLength to defaultMaxTextLength , adding defaultMax and min nums
* feat: validating numbers with new defaultminnum and defaultmaxnum
* feat: FIXED BUG, do not return an error message on the defaultmaxnum and minnum override checks
* Added test fields
* Eslint compliance
* feat : eslint compliacnce
* Added tests, though a reasonable payload config needs to be imported to them
* Removed my failed jest tests, relying on the yarn dev test instead
* Increased default num max and min range to JS safe integer
* Jmi suggestions
* feat: removing the superfluous number max and min default
* Added test for max text field
Co-authored-by: Tom Do <tom@iifuture.com >
Co-authored-by: TomDoFuture <108644869+TomDoFuture@users.noreply.github.com >
2022-10-24 18:57:45 -04:00
James
17dbbc7775
fix: group + group styles within collapsible
2022-10-24 18:56:56 -04:00
James
7e25abf87a
chore: type fixes
2022-10-24 12:26:25 -04:00
Daniel Söderling
09d793926d
feat: added beforeLogin hook ( #1289 )
2022-10-24 12:05:12 -04:00
James
a9f2f0ec03
fix : #1290 , renders more than one rich text leaf where applicable
2022-10-24 12:03:06 -04:00
James
66bf8c3cbd
fix : #1286 , uses defaultDepth in graphql rich text depth
2022-10-24 11:31:09 -04:00