* Add working table with 2 columns * Table layout and dnd polishing * ResizeNode * Refactor to use grid container * Add Card node title ellipsification * cleanup, add min height * Fix FlexContainer to work with ResizeNode * Fix empty ResizeNode after card dnd * Document layout no dnd kit (#63363) * using tiptap drag and drop * Fix some issues with dnd * Add support for resize node, fix styles * Remove comments --------- Co-authored-by: Nick Fitzpatrick <nickfitz.582@gmail.com> * Fixes after merge comments * Fix issues with dnd logic * Fix issue where rearranging columns within a flexContainer didn't respect which side of a cardEmbed we dropped; it always inserted dragged column to the left. * Fix issue where moving a cardEmbed out of a flexContainer and placing it right after doesn't wrap the card in a resizer * Fix issues with dropzones and card id * Fix issue with column resize handlers * Fix issues with cards previews on dnd * Feat: UXW-717 Reconcile comments with document layout (#63593) * UXW-717 Add comment option to cardEmbed menu * UXW-717 Wires up comment option in cardEmbed menu * UXW-717 Stubs out CommentsMenu reorganization so logic can be reused inside cardEmbeds (button and menu item) * UXW-717 Design tweaks per design feedback (and fixes ts error) * UXW-717 Updates hover state of cardEmbed ellipsis menu trigger per design feedback * Fix issues with funnel chart and resizer * Fix issues with column rearrange * Fix adding third column position * UXW-739 Adds ResizeNode wrapper to charts added by metabot * UXW-749 [1/2] Fix: Cutting/copying a chart from a group then pasting it (cmd+v) results in a chart without a resizeNode * UXW-749 [2/2] Fix: Copying and pasting from one chart to another doesn't preserve the structure correctly * Refactor dnd logic - consolidate all use cases in HandleEditorDrop * remove redundant message and add_message icons * actually remove redundant message icons * replace references to old icons with new icons * Fix issue with dropping a card into existing flexContainer * Fix issue with moving a card from one flexContainer into another * UXW-748 - Fix broken document when typing with a card selected * Handle dropping cards onto paragraphs (#63754) * Handle dropping cards onto paragraphs * PR Feedback * cleanup flex containers --------- Co-authored-by: Denis Berezin <denis.berezin@metabase.com> * small feedbacks * breaking up document drop handler * UXW-689 - add basic e2e tests * type fix * loki diff * Add more e2e tests * Fix typecheck * happy types * passing document.cy.spec * Fix e2e tests * e2e test for card resizing * flex container column resize tests * Add node deletion e2e tests * Fix review issues * Try to fix typecheck * Refactor useCommentsButtonProps to a react component * final PR feedback * fix removing a card via menu --------- Co-authored-by: Nick Fitzpatrick <nickfitz.582@gmail.com> Co-authored-by: Brad Anderson <brad@metabase.com> Co-authored-by: Maz Ameli <maz@metabase.com> Co-authored-by: Nick Fitzpatrick <nick@metabase.com> Co-authored-by: Kamil Mielnik <kamil@kamilmielnik.com>
14 lines
506 B
Diff
14 lines
506 B
Diff
diff --git a/node_modules/prosemirror-dropcursor/dist/index.js b/node_modules/prosemirror-dropcursor/dist/index.js
|
|
index c9bc7b5..ae9fcce 100644
|
|
--- a/node_modules/prosemirror-dropcursor/dist/index.js
|
|
+++ b/node_modules/prosemirror-dropcursor/dist/index.js
|
|
@@ -128,7 +128,7 @@ class DropCursorView {
|
|
target = point;
|
|
}
|
|
this.setCursor(target);
|
|
- this.scheduleRemoval(5000);
|
|
+ this.scheduleRemoval(1000);
|
|
}
|
|
}
|
|
dragend() {
|