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

Memberships: Adds Breadcrumb from Membership: Show page #899

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

zspencer
Copy link
Member

I noticed when working on the
Journal that when you click on the Account link, it kind of drops you into the middle of no where.

This adds a breadcrumb, so we can find our way back! Yay!

Before

Screen Shot 2022-10-23 at 1 39 29 PM

After!

Screen Shot 2022-10-23 at 1 39 20 PM

I noticed when working on the
[Journal](https://github.com/zinc-collective/convene/issues/898) that
when you click on the `Account` link, it kind of drops you into the
middle of no where.

This adds a breadcrumb, so we can find our way back! Yay!
@KellyAH
Copy link
Contributor

KellyAH commented Oct 23, 2022

Does breadcrumbs need any test coverage added? Or is it such a core feature of Rails that it's not going to break/is tested in other areas?

@zspencer
Copy link
Member Author

zspencer commented Oct 23, 2022

I could imagine a world where it's useful to write unit tests for crumbs, especially for ones with conditional logic but I didn't want to spend time figuring out how to do it in a useful way beyond reloading the page.

Note: Gretel is a gem not built directly into Rails

@zspencer zspencer requested review from user512 and a team October 24, 2022 00:11
Copy link
Member

@anaulin anaulin left a comment

Choose a reason for hiding this comment

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

Nice, thank you! 🥖

@anaulin anaulin merged commit a2cf5b2 into main Oct 26, 2022
@anaulin anaulin deleted the memberships/improve-routing-from-account-page branch October 26, 2022 23:28
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.

3 participants