Skip to content
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

fix(viewer): filter out invalid dynamic taglist options #315

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

smbea
Copy link
Contributor

@smbea smbea commented Aug 18, 2022

Related to #303

For the properties panel hint: #305 is for adding a more sophisticated solution, but for now we decided to improve the existing description:

Screenshot 2022-08-18 at 14 41 32

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Aug 18, 2022
@smbea smbea marked this pull request as draft August 18, 2022 12:53
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed needs review Review pending labels Aug 18, 2022
@smbea smbea marked this pull request as ready for review August 18, 2022 13:07
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Aug 18, 2022
@smbea smbea requested review from a team, pinussilvestrus and barmac and removed request for a team August 18, 2022 13:07
@smbea smbea force-pushed the 303-fix-taglist-dynamic-values branch 2 times, most recently from 2b3621a to 468581a Compare August 18, 2022 13:41
const schema = '[{"label": "dollar", "value": "$"}]';

const description = <div>
Define which input property to populate the values from. The property must follow this schema: <code>{schema}</code>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we maybe add the description as mentioned in the issue (#305)? So having "The property must follow ..." as another paragraph and add some indentation to the code example.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find an existing example in the properties panel of us using multi-line code. I added it using the pre html tag, but would need to extend the code styles to work for this too, and this should be done in the properties panel styles, right? What do you think?

Screenshot 2022-08-19 at 10 32 19

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this one much more 👍

Ideally, this should be done by the core (description) styles, yeah, to align it across our tools.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also split this PR into two parts (bug fix, description updates) and, make progress with the bug fix faster + deliver the style + description updates in another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make this PR just for the fix, then add a draft PR with the styling changes (to be merged when this is added to the core)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All done: follow up is #316 (already mentioned in the issue)

@smbea smbea added in progress Currently worked on and removed needs review Review pending labels Aug 19, 2022
Copy link
Contributor

@pinussilvestrus pinussilvestrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 ✅

@fake-join fake-join bot merged commit 5942d45 into develop Aug 19, 2022
@fake-join fake-join bot deleted the 303-fix-taglist-dynamic-values branch August 19, 2022 11:07
@bpmn-io-tasks bpmn-io-tasks bot removed the in progress Currently worked on label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants