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

Properties panel design finishing #105

Merged
merged 8 commits into from
Oct 11, 2021
Merged

Properties panel design finishing #105

merged 8 commits into from
Oct 11, 2021

Conversation

pinussilvestrus
Copy link
Contributor

@pinussilvestrus pinussilvestrus commented Oct 5, 2021

Related to bpmn-io/bpmn-properties-panel#90
Closes #15


Design updates for the properties panel (cf. bpmn-io/bpmn-properties-panel#90)

  • update icons
  • ensure titles for every action
  • update the data marker dot
  • add new create button for empty lists
  • cleanup font + color palette
  • align spacings
  • ensure action hover areas match click areas
  • add description for check boxes

This works alongside bpmn-io/bpmn-properties-panel#128, which can be tested via command

npx @bpmn-io/sr bpmn-io/bpmn-properties-panel#90-ui-ux-improvements -l bpmn-io/properties-panel#ux-ui-improvements -c 'npm run start:platform'

image

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Oct 5, 2021
@pinussilvestrus pinussilvestrus force-pushed the ux-ui-improvements branch 7 times, most recently from 07e64d7 to 0736a8c Compare October 8, 2021 13:09
@pinussilvestrus pinussilvestrus marked this pull request as ready for review October 11, 2021 07:10
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Oct 11, 2021
@pinussilvestrus pinussilvestrus requested review from a team, philippfromme, smbea and barmac and removed request for a team October 11, 2021 07:16
@@ -62,7 +62,8 @@ export default function Group(props) {
return <div class="bio-properties-panel-group" data-group-id={ 'group-' + id }>
<div class={ classnames(
'bio-properties-panel-group-header',
edited ? '' : 'empty'
edited ? '' : 'empty',
open? 'open' : ''
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
open? 'open' : ''
open ? 'open' : ''

Copy link
Member

Choose a reason for hiding this comment

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

So that it doesn't look like similar to optional chaining.

@barmac
Copy link
Member

barmac commented Oct 11, 2021

Shall we also add a visual indicator for the checkbox focus?

checkbox.mp4

<button class="bio-properties-panel-group-header-button">
<GroupArrowIcon class={ open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right' } />
<button
title="Toggle section"
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we agree to call this section instead of group?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure whether we ever actively agree on a specific term here, but "section" is part of our technical writing guide.

"Group" seems to be something we came up technically.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏻

@@ -148,7 +148,10 @@ export default function ListGroup(props) {
AddContainer
? (
<AddContainer>
<button class="bio-properties-panel-group-header-button bio-properties-panel-add-entry">
<button
title="Create new list item"
Copy link
Contributor

Choose a reason for hiding this comment

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

This title is very generic. Are we okay with that or should we make this configurable (e.g. Create new input)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's part of our design prototype, so it might be ok to keep it generic. We can update it afterward if we see a need though.

/cc @andreasgeier

Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏻

Copy link
Member

@barmac barmac left a comment

Choose a reason for hiding this comment

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

LGTM

@barmac
Copy link
Member

barmac commented Oct 11, 2021

For the future, I think it would be cool to split such loaded PRs to several smaller ones.

@barmac barmac self-requested a review October 11, 2021 09:40
@barmac
Copy link
Member

barmac commented Oct 11, 2021

Re-requesting my review so that you can continue discussion with Flip.

@philippfromme
Copy link
Contributor

I'm not sure what's happening but I can't see any of the titles.

cvX4w4gJZW

@pinussilvestrus
Copy link
Contributor Author

pinussilvestrus commented Oct 11, 2021

I'm not sure what's happening but I can't see any of the titles.

cvX4w4gJZW

Are you sure you are using the correct branch? The gif does not include any of the updated styles (no hover, icons are not aligned, different colors).

@philippfromme
Copy link
Contributor

Damn, I'm on the bpmn-properties-panel UX branch. 🤦🏻

@philippfromme philippfromme self-requested a review October 11, 2021 11:30
Copy link
Contributor

@philippfromme philippfromme left a comment

Choose a reason for hiding this comment

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

👏🏻

@philippfromme philippfromme merged commit f515016 into main Oct 11, 2021
@philippfromme philippfromme deleted the ux-ui-improvements branch October 11, 2021 11:30
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Oct 11, 2021
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.

Use semantic names for colors
3 participants