Mutasem Aldmour
31dd01f9cb
feat(editor): Add Workflow Stickies (Notes) ( #3154 )
...
* N8N-3029 Add Node Type for Wokrflow Stickies/Notes
* N8N-3029 Update Content, Update Aliasses
* N8N-3030 Created N8N Sticky Component in Design System
* N8N-3030 Fixed Code spaccing Sticky Component
* N8N-3030 Fixed Code spaccing StickyStories Component
* N8N-3030 Fixed Code spaccing Markdown Component
* N8N-3030 Added Sticky Colors Pallete into Storybook, Update Color Variables for Sticky Component
* N8N-3030 Added Unfocus Event
* N8N-3030 Update Default Placeholder, Markdown Styles, Fixed Edit State, Added Text to EditState, Fixed Height of Area, Turned off Resize of textarea
* N8N-3030 Update Sticky Overflow, Update Hover States, Updated Markdown Overflow
* N8N-3030, N8N-3031 - Add Resize to Sticky, Created N8n-Resize component
* N8N-3031 Fixed Importing Components in Editor-ui
* N8N-3031 Fixed Resize Component, Fixed Gradient
* N8N-3030, N8N-3031 Update Note Description
* N8N-3032 Hotfix Building Storybook
* N8N-3032 - Select Behaviour, Changes in Resize Component, Emit on Width/Height/Top/Left Change
* N8N-3032 Update Resize Component to emmit left/top, Update Dynamic Resize on Selected Background
* N8N-3032 Updated / Dragging vs Resizing, prevent open Modal for stickies
* N8N-3032 Added ID props to n8n-sticky // dynamic id for multi resizing in NodeView
* N8N-3033 Add dynamic size Tooltip on Sticky
* N8N-3033 Updated Z-index for Sticky Component
* N8N-3033 Updated N8N-Resize Component, Fixed SelectedBackround for Sticky Component
* N8N-3033 Refactor
* N8N-3033 Focus/Defocus on TextArea
* N8N-3033 Fixed Resizing on NW Point
* N8N-3030 Save content in vuex on input change
* N8N-3033 Fixed Resizer, Save Width and Height in Vue
* N8N-3033 Hide Sticky Footer on small height/width
* N8N-3033 Fixed Resizer
* N8N-3033 Dynamic Z-index for Stickies
* N8N-3033 Dynamic Z-index for Stickies
* N8N-3033 Removed static z-index for select sticky class
* N8N-3034 Added Telemetry
* N8N-3030 Formatter
* N8N-3030 Format code
* N8N-3030 Fixed Selecting Stickies
* N8N-3033 Fixed Notifications
* N8N-3030 Added new paddings for Default Stickies
* N8N-3033 Prevent Scrolling NodeView when Sticky is in Edit mode and Mouse is Over the TextArea
* N8N-3030 Prevent double clicking to switch state of Sticky component in Edit Mode
* N8N-3033 Fixed Z-index of Stickies
* N8N-3033 Prevent delete node when in EditMode
* N8N-3030 Prevent Delete Button to delete the Sticky while in Edit Mode
* N8N-3030 Change EditMode (emit) on keyboard shortucts, update Markdown Links & Images, Added new props
* N8N-3030 Sticky Component - No padding when hiding footer text
* N8N-3033 Fix Resizing enter into Edit Mode
* N8N-3033 Selecting different nodes - exit the edit mode
* N8N-3033 Auto Select Text in text-area by default - Sticky Component
* N8N-3033 Prevent Default behaviour for CTRL + X, CTRL + A when Sticky is Active && inEditMode
* N8N-3033 Refactor Resizer, Refactor Sticky, Update zIndex inEditMode
* N8N-3033 Updated Default Text // Node-base, Storybook
* N8N-3033 Add Resizing in EditMode - Components update
* N8N-3033 Fixed Footer - Show/Hide on Resize in EditMode
* N8N-3033 Fix ActiveSticky on Init
* N8N-3033 Refactor Sticky in Vuex, Fixed Init Sticky Tweaks, Prevent Modal Openning, Save on Keyboard shortcuts
* Stickies - Update Note node with new props
* N8N-3030 Updated Default Note text, Update the Markdown Link
* N8N-3030 CMD-C does not copy the text fix
* N8N-3030 Fix Max Zoom / Zoom out shortcuts disabled in editState
* N8N-3030 Z-index fixed during Edit Mode typing
* N8N-3030 Prevent Autoselect Text in Stickies if the text is not default
* N8N-3030 Fixed ReadOnly Bugs / Prevent showing Tooltip, Resizing
* N8N-3030 Added Sticky Creator Button
* N8N-3030 Update Icon / Sticky Creator Button
* N8N-3033 Update Sticky Icon / StickyCreator Button
* update package lock
* 🔩 update note props
* 🚿 clean props
* 🔧 linting
* 🔧 fix spacing
* remove resize component
* remove resize component
* ✂ clean up sticky
* revert back to height width
* revert back to height/width
* replace zindex property
* replace default text property
* use i18n to translate
* update package lock
* move resize
* clean up how height/width are set
* fix resize for sticky to support left/top
* clean up resize
* fix lasso/highlight bug
* remove unused props
* fix zoom to fit
* fix padding for demo view
* fix readonly
* remove iseditable, use active state
* clean up keyboard events
* chang button size, no edit on insert
* scale resizing correctly
* make active on resize
* fix select on resize/move
* use outline icon
* allow for multiple line breaks
* fix multi line bug
* fix edit mode outline
* keep edit open as one resizes
* respect multiple spaces
* fix scrolling bug
* clean up hover impl
* clean up references to note
* disable for rename
* fix drifting while drag
* fix mouse cursor on resize
* fix sticky min height
* refactor resize into component
* fix pulling too far bug
* fix delete/cut all bug
* fix padding bottom
* fix active change on resize
* add transition to button
* Fix sticky markdown click
* add solid fa icon
* update node graph, telemetry event
* add snapping
* change alt text
* update package lock
* fix bug in button hover
* add back transition
* clean up resize
* add grid size as param
* remove breaks
* clean up markdown
* lint fixes
* fix spacing
* clean up markdown colors
* clean up classes in resize
* clean up resize
* update sticky story
* fix spacing
* clean up classes
* revert change
* revert change
* revert change
* clean up sticky component
* remove unused component
* remove unnessary data
* remove unnessary data
* clean up actions
* clean up sticky size
* clean up unnessary border style
* fix bug
* replace sticky note name
* update description
* remove support for multi spaces
* update tracking name
* update telemetry reqs
* fix enter bug
* update alt text
* update sticky notes doc url
* fix readonly bug
* update class name
* update quote marks
Co-authored-by: SchnapsterDog <olivertrajceski@yahoo.com>
2022-04-25 12:38:37 +02:00
Mutasem Aldmour
d8598b0126
✨ Workflow canvas revamp ( #2388 )
...
* bring back overrides
* fix input output label positions
* simply update label positions
* refactor a bunch
* update min x to show items
* hide overlay on connection
* only delete target connection, add maximum to push nodes out
* rename const
* rename const
* set new insert position
* fix insert behavior
* update position handling
* show arrow along with label
* update connector
* set endpoint styles
* update pattern
* push nodes up / down in case of if node
* set position in switch
* only one action at a time
* add custom flow chart type
* select start node by default when opening new workflow
* add enter delay
* fix delete bug
* change connection type
* add offset for if/switch/merge
* fix gap
* fix drag issue
* implement new states
* update disabled state
* add selected state
* make selects faster
* update positioning
* truncate when selected
* remove offset for actions
* fix icon scaling
* refactor js plumb
* fix looping behavior at close distance
* lock version
* change background to dots
* update endpoints styling
* increase spacing
* udpate node z-index
* fix output label positions
* fix output label positions
* reset location
* add label offset
* update border radius
* fix height issue
* fix parallaxing issue
* fix zoomout issue
* add success z-index
* clean up js file
* add package lock
* fix z-index bug
* update dot grid
* update zoom level
* set values, increase grid size
* fix drop position
* prevent duplicate connections
* fix stub
* use localstorage overrides for colors
* add colors to system
* revert no longer needed changes
* revert no longer needed changes
* add canvas colors
* add canvas colors
* use variable for id
* force type
* refactor helpers
* add label constants
* refactor func
* refactor
* fix
* refactor
* clean up css
* refactor setzoom level
* refactor
* refactor
* refactor func
* remove scope
* remove localstorage caching
* clean up imports
* update zero case
* add delete connection
* update selected state
* add base type, remove straight line
* add stub offset back
* rename param
* add label offset
* update font size of items
* move up label
* fix error state while executing
* disrespect stubs
* check for errors
* refactor position
* clean up extra space
* make entire node connectable
* Revert "make entire node connectable"
e304f7c5b8
* always show border
* add border to zoom buttons
* update spacing
* update colors
* allow connecting to entire node
* fix pull conn active
* two line names
* apply select to all lines
* increase input margin
* override target pos
* reset conn after pull
* fix types
* update orientation
* fix up connectors snapping
* hide arrow on pull
* update overrides for connectors
* change text
* update pull colors
* set to 1 line when selected
* fix executions bug
* build
* refactor node component
* remove comment
* refactor more
* remove prop
* fix build issue
* fix input drag bug in executions
* reset offset
* update select background
* handle issue when endpoints are not set
* fix connection aborted issue
* add try catch to help show errors
* wrap bind with try/catch
* set default styles
* reset pos despite zoom
* add more checks
* clean up impl
* update icon
* handle unknown types
* hide items on init
* fix importing unknown types with credentials
* change opacity
* push up item label
* update color
* update label class and colors
* add to drop distance
* fix z-index to match node
* disable eslint
* fix lasso tool selection
* update background color
* update waiting state
* update tooltip positions
* update wait node border
* fix selection bug mostly
* if selected, move above other nodes
* add line through disabled nodes
* remove node color option
* move label above connection
* success color for line through
* update options index
* hide waiting icon when disabled
* fix gmail icon
* refactor icons
* clear execution data on disable/delete
* fix selected node
* fix executing behavior
* optional __meta
* set grid size
* remove default color
* remove node color
* add comments
* comments
* add comments
* remove empty space
* update comment
* refactor uuids
* fix type issue
* Revert "fix type issue"
9523b34f96
* Revert "fix type issue"
9523b34f96
* Revert "refactor uuids"
07f6848065
* fix build issues
* refactor
* update uuid
* child nodes
* skip nodes behind when pushing in loop
* shift output icon for switch node
* don't show output if waiting
* waiting on init
* build
* change to bezier
* revert connector change
* add bezier type
* fix snapping
* clean up impl
* refactor func
* make const
* rename type
* refactor to simplify
* Revert "refactor to simplify"
2db0ed504c
* enable flowchart mode
* clean up flowchart type
* refactor type
* merge types
* configure curviness
* set in localstorage
* fix straight line arrow bug
* show arrow when pulling
* refactor / simplify
* fix target gap in bezier
* refactor target gap
* add comments
* add comment
* fix dragging connections
* fix bug when moving connection
* update comment
* rename file
* update values
* update minor
* update straight line box
* clean up conn types
* clean up z-indexes
* move color filters to node icon
* update background color
* update to use grid size value
* fix endpoint offsets
* set yspan range lower
* remove overlays when moving conn
* prevent unwanted connections
* fix messed up connections
* remove console log
* clear execution issues on workflow run
* update corner radius
* fix drag/delete bug
* increase offset
* update disabled state
* address comments
* refactor
* refactor func
* ⚡ Add full license text to N8nCustomConnectorType.js
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-11-19 10:17:13 +01:00