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

display switch to space only when space is not active space #11

Conversation

eokoneyo
Copy link

Summary

  • Switches static text for translations strings
  • Only display switch to space button in space details page when user is not in the current space, also add tests for this
  • Apply UI tweaks for role creation page
  • Start on creating the assign to role flyout expereince

@eokoneyo eokoneyo force-pushed the tsullivan-roles-spaces-modal branch from e065a33 to 31635b7 Compare June 13, 2024 18:29
render: (rowRecord: Space) => {
return (
<EuiButtonIcon
href={getSpaceNavigationURL({ serverBasePath, spaceId: rowRecord.id })}
Copy link
Owner

Choose a reason for hiding this comment

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

I imagined that the "switch" link would change the Space to the selected one without changing the navigation, but I think the way you have it works well also.

@tsullivan tsullivan merged commit e844219 into tsullivan:roles/details/spaces-modal Jun 17, 2024
1 check passed
@eokoneyo eokoneyo deleted the tsullivan-roles-spaces-modal branch June 19, 2024 19:55
@eokoneyo eokoneyo mentioned this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants