-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: update dependency bpmn-js to v18 #189
base: main
Are you sure you want to change the base?
Conversation
I'll look into this once I find the time. |
Some work done in this department: Some further investigation:
To be resumed next week. |
054d7fb
to
e98bb3a
Compare
@nikku do you still plan to work on this or should be change the assignee? |
I'm unassigning myself, would love to see someone else pick this up. |
Since `[email protected]` keyboard is implicitly bound to modeling canvas. There is no need to implement keyboard binding in the extension. We only need to make sure that default VS Code shortcuts do not fire when we are focused on the canvas. Additionally, we make sure that modeling canvas stays focused after switching tabs, following default VS Code behavior for different file types.
Here's my attempt to integrate implicit keyboard binding and get rid of the Default VS Code key bindings that we use in modeling are disabled in I also made sure we focus the canvas when active tab is changed to BPMN editor. VS Code does it by default, focusing text editor after you switch tabs. We also follow a bunch of other default behaviors: focus when file is open, keep focus in file explorer when file is previewed.
Works ✅
"Fixed". I don't think we can go along without inline styling, so I just set |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Given the recent change to autofocus, I'd say let's update this right away to |
Looks like removing auto-focus doesn't break anything. BPMN editor now doesn't focus on hover which makes it work like any other VS code editor, great change. |
Great to get confirmation. ⭐ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This introduces an undo bug, let's have another look what's up.
This PR contains the following updates:
^17.0.1
->^18.0.0
Release Notes
bpmn-io/bpmn-js (bpmn-js)
v18.0.0
Compare Source
FEAT
: removeoutline
fromViewer
modules (#2135)FEAT
: makeCanvas
a focusable element (bpmn-io/diagram-js#662)FEAT
: implicit keyboard binding (bpmn-io/diagram-js#662)FEAT
: integrate with globalsearch
(#2235)FIX
: prevent crash during label adjustment (#2239)FIX
: keep existing loop characteristics when toggling through the replace menu (#2251)FIX
: prevent covering multi selection with black box inViewer
(#2135)FIX
: generate types for main entry (986e2bb
)FIX
: correct handling of group name with whitespace only (#2231)DEPS
: update tobpmn-moddle@9
(#2114)DEPS
: update to[email protected]
DEPS
: update to[email protected]
Breaking Changes
Node >= 20
Canvas
is now a focusable element and provides better support for native browser behaviors. Focus can be controlled with newfocus
andrestoreFocus
APIs.keyboard.bind
andkeyboard.bindTo
now result with a descriptive console error and have no effect.v17.11.1
Compare Source
FIX
: handle searching elements without labels (#2232, #2234)v17.11.0
Compare Source
FEAT
: align search styles with other popups (#2187)FEAT
: prioritize start of tokens in search results (#2187)FIX
: do not commit viewport changes onESC
(#2189, #2187)DEPS
: update to[email protected]
v17.10.0
Compare Source
CHORE
: correct various type hints (#2228)FIX
: pasting compensation activity without boundary event (#2070)FIX
: lane resize constraints for se and nw direction (#2209)FIX
: auto place elements vertically in sub-processes (#2127)FIX
: hide lane label during direct editingDEPS
: update to[email protected]
v17.9.2
Compare Source
FIX
: keep direction when collapsing pools (#2208)v17.9.1
Compare Source
FIX
: show delete action for labels (#2163)v17.9.0
Compare Source
FIX
: remove incorrect attribute in replace menu (#2196)DEPS
: update to [email protected]v17.8.3
Compare Source
FIX
: add accessible label to drill down button (#2194)v17.8.2
Compare Source
FIX
: do not suggest root elements in search (#2143)v17.8.1
Compare Source
FIX
: gracefully handle missing process DI in drilldown (#2180)FIX
: do not cause HTML validation errors on move preview (#2179)DEPS
: update to[email protected]
v17.8.0
Compare Source
FEAT
: keep global elements when deleting last participant (#2175)FIX
: allow undo after deleting last participants and data store (#1676)FIX
: allow styling markers withcanvas.addMarker
and css (#2173)CHORE
: render flow markers as part ofdjs-visual
(#2173)DEPS
: update to[email protected]
v17.7.1
Compare Source
FIX
: correct call activity outline (#2167)FIX
: gracefully handle missingBPMNDiagram#plane
(#2172, #2171)v17.7.0
Compare Source
DEPS
: update to[email protected]
v17.6.4
Compare Source
DEPS
: update to[email protected]
v17.6.3
Compare Source
DEPS
: update to[email protected]
v17.6.2
Compare Source
DEPS
: update to[email protected]
(#2158)v17.6.1
Compare Source
DEPS
: update to[email protected]
(#2157)v17.6.0
Compare Source
FEAT
: add ability to type services and events (#2121, #2153)FIX
: remove preview on context pad close (#2150)FIX
: use tagged template in error logging (#2151)v17.5.0
Compare Source
FEAT
: remove direct editing outline for embedded labels (#2147)FEAT
: do not translate technical errors (#2145)DEPS
: update to[email protected]
v17.4.0
Compare Source
FEAT
: do not scale popup menu and context padDEPS
: update to[email protected]
v17.3.0
Compare Source
FEAT
: auto-place elements vertically (#2110)v17.2.2
Compare Source
FIX
: correct navigated viewer outline (#2133)v17.2.1
Compare Source
FIX
: render popup menu on topDEPS
: update to[email protected]
v17.2.0
Compare Source
FEAT
: make popup menu keyboard navigatableFIX
: address various accessibility issuesFIX
: correct various typing issuesDEPS
: update to[email protected]
DEPS
: update to[email protected]
v17.1.0
Compare Source
FEAT
: handle splitting vertical lanes (#2101)v17.0.2
Compare Source
FIX
: create hit boxes for vertical lanes (#2093)Configuration
📅 Schedule: Branch creation - "after 10pm,before 5:00am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.