-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add append element #1802
Add append element #1802
Conversation
@smbea Any reason we're not using the If you want to I can dig up earlier discussions on "which icon to choose", where we settled on "...". |
089ebcd
to
9d4182c
Compare
I wasn't aware this is a connectors only icon (since it looks like 2 elements connected, i thought it also applied for general append). I didn't see this in the original issue, but I exchange it now for the '...' |
9d4182c
to
77df3eb
Compare
Are we planning to add a keyboard shortcut similar to R to open the replace menu? Could really speed up modeling for expert users. |
I would go for a 'A' keyboard, would be really empowering for keyboard users. But I would rather add it in a separate follow up PR to keep this simpler. |
Ooops. I will have another look at this |
We absolutely want that to be keyboard accessible. In the prototype we use |
@smbea Please also double-check existing bugs on the prototype. We want to make sure those don't re-open in the Camunda Modeler. |
77df3eb
to
ceba254
Compare
Some comments on the recent changes:
|
ceba254
to
c572df9
Compare
Yes, of course. Let's just ensure we don't at least evaluate it at some point. I've added it to the epic just to be sure. |
c572df9
to
0173bc6
Compare
In order to make it a little simpler to look at this PR, I extract the element factory fixes to #1807. |
0173bc6
to
c930519
Compare
c930519
to
6b906af
Compare
Ready for review again. If you feel like this is a solid starting stage but see possible improvements, we can create follow up issues for it and them to the possible follow ups section here 🙂 |
a05f4c8
to
30700f9
Compare
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.
Thanks for this contribution! Very nice:
- Integration with rules
- Improved handling of icons
- Solid test coverage
- Really intuitive modeling
To highlight one thing I love how natural this feels to me (auto place vs. manual placement), i.e. considering the "non-interrupting boundary" placement here:
If I had one wish then it would be to be less strict regarding when we show the menu. i.e. for link throw events:
If we combine "showing it in more places" with #1621 you could argue that creating a (matching) link catch event (or creating a matching catching event for whatever throw event is selected) could be the primary action provided to a user. :)
Great work overall.
30700f9
to
63cd2f7
Compare
Thanks @nikku. After having the first iteration of this done, I would love to do some refining and possibly do it in the context of semantic ordering - I agree it would be awesome to have this |
Closes #1801
Depends on #1807
How it looks:
Uploading Screen Recording 2023-01-12 at 13.46.56.mov…
Note:
I used the same approach as for icons as we do in align and distribute. It seems to be the best solution we have for now (maybe the svg updates could be automated in the future)