Skip to content

Standardize widget back button and remove kyper ChevronLeft icon - #358

Open
mwclemy wants to merge 5 commits into
cmwimo/CT-2388from
cmwimo/CT-2390
Open

Standardize widget back button and remove kyper ChevronLeft icon#358
mwclemy wants to merge 5 commits into
cmwimo/CT-2388from
cmwimo/CT-2390

Conversation

@mwclemy

@mwclemy mwclemy commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Before

Screenshot 2026-07-29 at 16 43 52 Screenshot 2026-07-29 at 16 44 09

After

Screenshot 2026-07-29 at 16 42 52 Screenshot 2026-07-29 at 16 43 07

@mwclemy mwclemy changed the title Migrate Kyper ChevronLeft Icon to MXUI Standardize widget back button and remove kyper ChevronLeft icon Jul 29, 2026
padding: `0px 8px`,
width: '44px',
container: { flexGrow: 1 },
appBar: { backgroundColor: tokens.BackgroundColor.Container, display: 'flex' },

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should be using css modules for styling.

width={tokens.Spacing.Large}
/>
</IconButton>
<Box data-test="navigation-header" sx={defaultStyles.container}>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Go back button is used in multiple places. Are we intending for this App bar to show up everywhere that GoBackButton is rendered?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

For consistency and maintainability I would say yes. There is no visual difference that the AppBar adds if you look at the screenshots I shared. To me having a single Back button defined and used across the entire experience makes the most sense. @platypus801 what do you think?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The GoBackButton is used in 4 places including DayOfMonth picker. I'm doubtful that you want the appbar for the day of month picker

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is how it looks on my branch:

Screenshot 2026-07-30 at 13 21 05

vs on master:

Screenshot 2026-07-30 at 13 22 04

You can't really tell the difference.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Maybe just a slight space at the top.

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