Jarrod Flesch
d9df98ff22
feat: simplifies collapsible label API, adds e2e tests
2022-11-16 12:57:54 -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
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
ccb42319ab
fix: corrects type for CollapsibleLabel example type, adjusts custom component filenames
2022-11-15 12:40:31 -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
13ec1e0398
feat: converts rowHeader to collapsibleLabel, extends data passed to functions/components
2022-11-15 01:53:09 -05:00
bigmistqke
f43f433f51
add index to tests
2022-11-14 17:42:50 +01:00
bigmistqke
30def3511e
add RowHeaders to array's and collapsible's tests
2022-11-14 15:54:21 +01:00
James
f9ca3a9f96
chore: fixes bad field name
2022-10-25 11:00:22 -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
36ef3789fb
fix: obscure bug where upload collection has upload field relating to itself
2022-10-21 15:39:29 -04:00
James
6f6f2f8e7b
feat: builds beforeDuplicate admin hook, closes #1243
2022-10-12 11:44:41 -04:00
James
1bc42ae098
chore: tests
2022-10-10 14:56:10 -04:00
James
1e048fe037
feat: adds ability to create related docs while editing another
2022-10-09 20:24:38 -04:00
Jarrod Flesch
918130486e
fix: styles readOnly RichTextEditor, removes interactivity within when readOnly
2022-09-23 14:34:02 -04:00
Jarrod Flesch
b454811698
fix: threads readOnly to ReactSelect
2022-09-23 13:17:11 -04:00
Dan Ribbens
834f4ebd38
feat/add support for setting collapsable fields (array, block, collapsable… ( #1057 )
...
Co-authored-by: liorix <liorix@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
2022-09-12 10:39:49 -07:00
James
21eb19edd1
chore: further refinements
2022-09-11 20:57:30 -07:00
James
ad4f7a5fff
chore: fixes and cleanup
2022-09-11 20:07:02 -07:00
James
cd209379b2
chore: merge master
2022-09-11 18:07:05 -07:00
Elliot DeNolf
03847703b0
chore: update rich text data seeding
2022-09-08 15:40:49 -07:00
James
a99d9c98c3
feat: allows rich text links to link to other docs
2022-09-07 16:42:43 -07:00
Dan Ribbens
50b0303ab3
fix: incorrect field paths when nesting unnamed fields ( #1011 )
...
* chore: reproduce issue #976
* fix: incorrect field paths when nesting non-named fields
2022-08-29 14:52:17 -04:00
James Mikrut
4aa5500593
Merge pull request #965 from payloadcms/test/code-field
...
test: add code fields to test config
2022-08-24 08:26:08 -07:00
Afzaal Ahmad
38a1a38c0c
feat: enable reordering of hasMany relationship and select fields ( #952 )
...
* feature: enable reordering of hasMany relationship and select fields using config
* update: correct docs for select, and relationship field for sortable config
* update: move sortable to admin config, and rename it to isSortable, apply grab, and grabbing classes while drag, and drop
2022-08-18 16:59:33 -04:00
Elliot DeNolf
4e1f9c7280
test: add code fields to test config
2022-08-18 14:44:10 -04:00
James Mikrut
97ff49f2bf
Merge pull request #926 from rustyy/feat/datepicker-month-only
...
feat: add new pickerAppearance option 'monthOnly'
2022-08-15 19:21:50 -07:00
James
078e8dcc51
feat: ensures you can query on blocks via specifying locale or not specifying locale
2022-08-15 17:59:08 -07:00
Dan Ribbens
2ca526bd22
chore: simplifies index creation
2022-08-15 16:54:23 -04:00
James
f2bec90663
Merge branch 'fix/#922-nested-index-creation' of github.com:payloadcms/payload into fix/#922-nested-index-creation
2022-08-15 12:37:10 -07:00
James
fba0847f0f
fix: ensures you can query on mixed schema type within blocks
2022-08-12 16:08:36 -07:00
Felix Hofmann
566c6ba3a9
feat: add new pickerAppearance option 'monthOnly'
2022-08-12 23:11:33 +02:00
Dan Ribbens
f615abc9b1
fix: create indexes in nested fields
2022-08-12 11:59:51 -04:00
Dan Ribbens
2ae33b603a
feat: WIP tab compatible with traverseFields
2022-08-11 12:05:35 -04:00
Dan Ribbens
6a6a69190f
feat: tabs support localization at the tab level
2022-08-11 12:05:33 -04:00
Dan Ribbens
a83921a2fe
feat: support localized tab fields
2022-08-11 12:05:02 -04:00
Slava Nossar
daf5fc83d8
update test data
2022-08-11 12:04:20 -04:00
Slava Nossar
df1491de74
add extra test fields and data
2022-08-11 12:04:20 -04:00
Slava Nossar
17a55e4a3a
add tab field with name and data to test suite
2022-08-11 12:04:20 -04:00
Dan Ribbens
874c001d3b
fix: number validation works with 0 min and max ( #906 )
2022-08-10 08:18:39 -04:00
James
209b02b069
fix : #898
2022-08-06 13:12:25 -04:00
James
d91b69c465
test: improves nested block test coverage
2022-08-03 13:49:49 -04:00
James
9c0c606b20
fix : #880
2022-08-03 13:39:22 -04:00
Dan Ribbens
c175476e74
fix: unique index creation ( #867 )
...
* fix: unique indexes created for mongo 5 and later
* test: add index test coverage for unique, nested and localized fields
2022-08-02 11:56:18 -04:00
James
408b66590a
fix/#853
2022-08-01 12:23:53 -04:00
Elliot DeNolf
2c9d45c59c
chore: remove unused files
2022-07-26 11:02:53 -04:00
Elliot DeNolf
d176633804
test: increase custom id randomization window ( #829 )
2022-07-26 10:35:46 -04:00
Dan Ribbens
09f57e9a4c
test: group relationships
...
* test: relationship fields inside groups and subgroup
* test: group nested relationships and arrays
* test: improves coverage for hooks
Co-authored-by: James <james@trbl.design >
2022-07-20 11:52:21 -07:00
Dan Ribbens
28e3928094
test: array fields
2022-07-18 23:50:28 -04:00