Alessio Gravili
5d1444e1bd
fix(richtext-lexical): incorrect stacking of block's fields
2023-10-07 18:35:59 +02:00
Alessio Gravili
ad7c25685e
chore(richtext-lexical): adjust node data formats, adjust population behavior, fix some validation issues
2023-10-07 15:52:12 +02:00
Alessio Gravili
7e9c7707ba
chore: improve ID field validation, fixing 2.0 int tests ( #3457 )
...
* chore: WIP id type validation for richtext upload
* chore: fix richtext fields test ID placeholder replacements
* chore: use getIDType in relationship validation for consistency
* chore: make getIDType safer in case payload.db.defaultIDType is null
---------
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-10-07 00:49:24 +02:00
Alessio Gravili
acfda5d8d4
chore(richtext-lexical): updated lexical incoming config API
2023-10-07 00:22:13 +02:00
Jacob Fletcher
b6de427f04
feat: supports live preview config inheritance ( #3456 )
2023-10-06 18:20:13 -04:00
Elliot DeNolf
88c84ad8d6
chore: move test deps to root package.json
2023-10-06 17:38:33 -04:00
Elliot DeNolf
3fce97a6d2
chore: misc eslint
2023-10-06 17:16:13 -04:00
Elliot DeNolf
e55ec6329c
chore: fix up fresh, refresh, and reset migration operations
2023-10-06 17:15:43 -04:00
Jarrod Flesch
fb07308dca
feat: 2.0 upload enhancements ( #3433 )
2023-10-06 17:02:42 -04:00
Jacob Fletcher
5bc81031d1
chore: supports live preview url as function ( #3455 )
2023-10-06 16:52:47 -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
1ce9b28dce
chore: passing live preview int tests
2023-10-06 13:34:45 -04:00
Jarrod Flesch
8df9d57a69
Merge branch '2.0' of https://github.com/payloadcms/payload into 2.0
2023-10-06 13:17:32 -04:00
Jarrod Flesch
ae436673cb
chore: corrects merge data import path
2023-10-06 13:17:27 -04:00
Jacob Fletcher
7c1b3b9de3
chore: uses proper depth
2023-10-06 13:16:56 -04:00
Jacob Fletcher
5f4c38ce21
chore: builds live preview app ( #3451 )
2023-10-06 12:32:13 -04:00
Dan Ribbens
2b831a67b4
chore: changes postgres interface client arg to pool and adds poolOptions
2023-10-06 11:56:23 -04:00
Alessio Gravili
528150c3f7
Merge remote-tracking branch 'origin/2.0' into feat/2.0-lexical-block-validations
2023-10-06 14:31:52 +02:00
Alessio Gravili
b545f62574
chore: richtext-lexical: various styling and validation improvements
2023-10-06 12:39:22 +02:00
Dan Ribbens
dfd5151c4f
chore: fix testSuiteDir arg
2023-10-06 03:38:39 -04:00
James
c2a99c8edc
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-05 16:00:21 -04:00
James
2fe7818f29
chore: semantics
2023-10-05 16:00:12 -04:00
Jacob Fletcher
18472d0178
chore: properly sizes tab field when sidebar exists
2023-10-05 15:15:02 -04:00
Jacob Fletcher
f77c41978b
chore: resolves path to live preview module
2023-10-05 14:33:02 -04:00
Jarrod Flesch
9880880384
feat!: store array values as actual array value ( #3442 )
2023-10-05 13:16:30 -04:00
Jarrod Flesch
618ee991dc
fix: secures the user response from the me auth route ( #3424 )
2023-10-05 12:54:53 -04:00
Jessica Chowdhury
374fb99571
fix: corrects greater than or equal filter key ( #3307 )
2023-10-05 12:32:13 -04:00
Jacob Fletcher
b7d983f30a
feat: builds live preview sdk ( #3441 )
2023-10-05 12:13:19 -04:00
Jacob Fletcher
0ac36069bd
chore: handles live preview data ( #3440 )
2023-10-05 10:14:57 -04:00
Alessio Gravili
76c2fad94f
chore(richtext-lexical): fields test default value
2023-10-04 22:31:23 +02:00
James
029d031974
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-04 14:21:59 -04:00
James
812d1806f5
chore: revisions to local dev suite
2023-10-04 14:21:51 -04:00
Dan Ribbens
a6880207cd
chore(db-postgres): schema building implements collection indexes ( #3429 )
2023-10-04 14:14:47 -04:00
Elliot DeNolf
1107a1d7d1
chore: rename editors
2023-10-04 13:27:19 -04:00
Alessio Gravili
715ae79727
chore(richtext-lexical): Blocks feature improvements
2023-10-04 14:18:55 +02:00
Jacob Fletcher
cbc1f3b3f1
chore: improves edit view types ( #3427 )
2023-10-03 15:41:15 -04:00
Jacob Fletcher
fdbb61fc43
chore: dynamic device sizing ( #3426 )
2023-10-03 13:47:41 -04:00
Elliot DeNolf
cf26155995
chore: sync logger for prompts, adjust nodemon
2023-10-03 12:34:48 -04:00
Jacob Fletcher
baf2b6de30
chore: passing admin e2e tests
2023-10-02 17:57:10 -04:00
Elliot DeNolf
4f405bbee6
chore: remove console.log
2023-10-02 17:19:53 -04:00
Jacob Fletcher
0c6bea7388
chore: nests doc tab li in tab conditions
2023-10-02 15:15:43 -04:00
Jacob Fletcher
a53cbd146f
feat: live preview ( #3382 )
2023-10-02 11:40:08 -04:00
James
e5a95755da
chore: returns generic to BasePayload to fix typing
2023-10-02 11:07:01 -04:00
James
9a6d650a13
chore: progress to type overrides
2023-10-02 10:22:59 -04:00
James
44b10cc9b4
chore: webpack published package bugs
2023-10-01 16:20:18 -04:00
James
ee22a488c0
chore: able to select bundler in dev
2023-10-01 15:47:16 -04:00
Alessio Gravili
9308c792e1
feat: Lexical richtext editor ( #3359 )
...
* 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
* feat: create base structure for lexical adapter
* chore: upgrade dependencies
* chore: improve package.json property order
* chore: undo unnecessary changes in core
* chore: initial, working lexical editor
* chore: utils
* chore: add license.md
* chore: work on Floating toolbar
* chore: floatingSelectToolbar extensibility
* chore: FloatingSelectToolbar format buttons
* chore: add functionality to format buttons
* chore: caret handling improvements
* chore: keep toolbar hidden during mousedown
* chore: keep carat centered unless at edge of container
* chore: placeholder, style improvements
* chore: DraggableBlock Handle
* chore: limit cell preview length
* chore: fix drag handle styling in light mode
* chore: remove unnecessary listener
* feat: add block handle
* chore: handle removal of handles properly
* chore: add HistoryPlugin
* chore: improve naming of format button properties
* chore: fix incorrect position of HistoryPlugin
* chore: serif font
* chore: improve opacity handling of FloatingSelectToolbar
* feat: slash menu
* feat: slash menu interface
* chore: fix mixed-up icon
* chore: add missing editorConfig?.feature dependency
* feat: sanitizedEditorConfig, slash menu grouping
* feat: interface for nodes
* feat: Plugin interface
* feat: working AddBlockHandlePlugin
* feat: headings
* chore: improve editor focus handling for add block handle's slash menu
* chore: improve handling of slash menu filtering
* fix: cloneDeep function not handling all data types well
* feat: markdown transformers for headings
* feat: proper dependency system
* feat: add remaining markdown transformers
* feat: order system for floating toolbar format buttons
* chore: customizable floating select toolbar sections system
* feat: WIP floatingSelectToolbar dropdown sections
* feat: working dropdown & misc improvements
* chore: fix dropdown top positioning after scrolling down
* chore: downgrade @types/react
* feat: treeview debug feature, & misc improvements
* feat: add TabIndentationPlugin by default
* fix: wrong key for treeviewfeature
* chore: handle plugin keys
* chore: simplify Heading Feature
* feat: Text Align
* feat: Indent
* chore: floating text toolbar section dividers
* feat: isEnabled for floating select toolbar, and isEnabled handling for decreaseIndent
* chore: add all missing icons
* feat: checklist, orderedlist, unorderedlist
* chore: improve lists by using lexical/react's ListPlugin
* chore: lists markdown transformers
* chore: improve key generation for plugins
* fix: add missing payload scss import
* fix: make default editorConfig null instead of defaultSanitizedEditorConfig for EditorConfigProvider. This fixes a bug where the editor would crash if some feature was using this EditorConfigProvider, as EditorConfigProvider needs the feature (due to the serialization process) and the Feature needing EditorConfigProvider (circular dependency)
* chore: allow positioning plugins under floatingAnchorElem
* feat: WIP: Link Feature
* chore: add box shadow to slash menu in light mode
* chore: CheckList => Check List
* chore: respect admin.readOnly setting
* chore: Simplify Link Feature
* chore: restructuring
* chore: prettier
* chore: scss-ify
* feat: wip: nicer draggable blocks
* chore: lots of block drag improvements
* helllll yea
* chore: just pure niceness
* fix: drag handle not working when scrolling down
* fix: "add" drag handle not working when scrolling down
* chore: remove unnecessary console log
* chore: fix slash menu positioning if there is not enough space below
* chore: increase animation speed of floating select toolbar
* chore: expect transforms for top-level editor nodes
* chore: move css rule to correct position
* chore: slightly animate target drag line
* chore: do not indicate drag-ability in un-dragable positions
* chore: explanatory comment
* chore: link editor styling
* chore: lots of link-related improvements
* chore: a lot of floating toolbar improvements
* chore: adjust link colors to be the same as in the website
* chore: prep work link extensibility
* chore: work on link plugin
* feat: fully-working link feature 🎉
* chore: add upload icon
* chore: merge in useful changes from playground & misc stuff
* feat: WIP relationship feature
* feat: Relationship Feature
* feat: BlockQuote Feature
* chore: base structure for Upload feature
* chore: fix types
* chore: WIP work on population and upload nodes
* chore: stuff
* fix: ensure uuid is only generated once
* chore: remove console.log's
* feat: link and relationship population
* fix: populate relationships at correct position
* chore: bunch of progress on upload node
* chore: working upload node!
* chore: various upload feature improvements
* chore: misc
* feat: working upload feature fields customization
* feat: WIP Blocks feature
* chore: fix incorrectly registered editor commands
* chore: get Block fields to render
* feat: functional blocks feature
* chore: improve functionality of blocks feature component (styling, collapsing)
* chore: disable console logs
2023-10-01 21:03:44 +02: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
Jarrod Flesch
6fa5866f99
feat: 2.0 popover style updates ( #3404 )
2023-09-29 09:05:02 -04:00