Skip to content

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

Merged
tsullivan merged 7 commits intotsullivan:roles/details/spaces-modalfrom
eokoneyo:tsullivan-roles-spaces-modal
Jun 17, 2024
Merged

display switch to space only when space is not active space#11
tsullivan merged 7 commits intotsullivan:roles/details/spaces-modalfrom
eokoneyo:tsullivan-roles-spaces-modal

Conversation

@eokoneyo
Copy link
Copy Markdown

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
Copy Markdown
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
@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

Development

Successfully merging this pull request may close these issues.

2 participants