-
Notifications
You must be signed in to change notification settings - Fork 197
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
feat: support editing zeebe:priorityDefinition
#1072
Conversation
Related to #1069
zeebe:priorityDefinition
zeebe:priorityDefinition
Thanks for the contribution @Skaiir! Will have a look! 🫶 |
commandStack.execute('properties-panel.multi-command-executor', commands); | ||
}; | ||
|
||
const tooltip = <div> |
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.
We keep the tooltips in the respective provider. Also, the link doesn't point anywhere at the moment. I guess that's because the documentation doesn't exist yet?
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.
Hey there, yeah it's because it doesn't exist yet. Raised a follow-up here: #1073.
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.
On a related topic, there will come a time where this method of translating won't be enough. Not being able to move divs around relative to each-other prevents things like links or formatting inside of sentences. And the more different from English the languages become, the more formatting quirks will need to be involved.
I think something similar to the Trans component of react-i18next might make sense. Just floating the idea around.
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.
I think something similar to the Trans component of react-i18next might make sense. Just floating the idea around.
Let's keep things simple and not over-engineer. Quoting from the site you mentioned:
4c4c00f
to
2dab16b
Compare
Made the adjustments, removed the link entirely for now, follow up here: #1073. |
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.
Great contribution! 🚀
Proposed Changes
Adds an entry in the properties panel to edit the
zeebe:priorityDefinition::priority
of a user task. Should have a tooltip with some info and a (currently empty) link to docs.Closes #1069
npx @bpmn-io/sr bpmn-io/bpmn-js#main -l bpmn-io/bpmn-js-properties-panel#1069-support-priority-editing