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

feat(interface-breadcrumb): Add breadcrumb eventlink #28889

Merged
merged 2 commits into from
Sep 29, 2021

Conversation

priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Sep 28, 2021

  • created useSessionStorage hook
  • created eventLink component
  • update code to pass route and router down

Preview:

image

image

ps: Currently, the UI needs to send two requests to get all the necessary data, but we will create a new endpoint in the next Sprint and replace those two requests with just one.

@priscilawebdev priscilawebdev force-pushed the ref/add-breadcrumb-eventlink branch from d28143e to c3c8fb2 Compare September 28, 2021 12:52
@priscilawebdev priscilawebdev marked this pull request as ready for review September 28, 2021 12:58
@priscilawebdev priscilawebdev requested a review from a team as a code owner September 28, 2021 12:58
@priscilawebdev priscilawebdev requested a review from a team September 28, 2021 12:58
@priscilawebdev priscilawebdev requested a review from a team as a code owner September 28, 2021 12:58
@priscilawebdev priscilawebdev requested review from a team and removed request for a team September 28, 2021 12:59
Copy link
Member

@untitaker untitaker left a comment

Choose a reason for hiding this comment

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

fwiw I think this will not find events outside of the currently viewed groups? ignore me dum dum

@Jesse-Box
Copy link
Contributor

🚢 it

}, [state]);

function removeItem() {
sessionStorage.removeItem(key);
Copy link
Member

Choose a reason for hiding this comment

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

Should this blank out the state as well? Right now you could removeItem() and still have state present.

@priscilawebdev priscilawebdev enabled auto-merge (squash) September 29, 2021 08:12
@priscilawebdev priscilawebdev merged commit e67ff3e into master Sep 29, 2021
@priscilawebdev priscilawebdev deleted the ref/add-breadcrumb-eventlink branch September 29, 2021 08:14
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants