-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-theme-notes): Use basePath as home breadcrumb link #16564
fix(gatsby-theme-notes): Use basePath as home breadcrumb link #16564
Conversation
@sidharthachatterjee yes, it solves a different problem. However, if you read #15494 (comment) I brought up an issue that sticks out to me. If others agree with the issue, then I can re-work this PR. |
@jakewies Just saw the comment. The issue and your proposed solutions makes sense to me! |
Ok great I'll make that change in this PR 👍 |
Sounds good! Thanks @jakewies 👍 |
@sidharthachatterjee so i definitely seem to have made a mistake here 😢 Sorry, still new at contributing to OSS. Let me see if I can explain: I tried to update my PR branch locally with recent changes to the
I wasn't able to push and git informed me about a failed "non-fast-forward" (I should've taken a snapshot of the actual message, but I imagine this is pretty common for newcomers?). I did some googling after the fact and came across this helpful Stackoverflow explanation. So the main thing is: Did I make a mistake by rebasing on And how would I go about resolving this current predicament? And finally, what should I have done to update this PR with recent changes from |
@jakewies No worries at all. It happens to the best of us! I think what happened is what you probably forgot to run I merged master in and fixed it. Typically I've seen that |
Ok awesome! So, just to recap: The home breadcrumb is now linked to the
This structure also supports nested notes:
However, it seems that
I can make a fix for this as well if need be. |
6ed12ec
to
77cc151
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good for now! Thank you so much @jakewies
Regarding nested notes, we don't currently them in the theme anyway so let's hold onto that
I think @ChristopherBiscardi is looking at cleaning this up shortly anyway
Description
Use the
basePath
option ingatsby-theme-notes
to construct the link of the home breadcrumb icon.Related Issues
Fixes #15494