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

Breadcrumbs Refactor #4858

Merged
merged 39 commits into from
Jul 12, 2023
Merged

Breadcrumbs Refactor #4858

merged 39 commits into from
Jul 12, 2023

Conversation

Tishasoumya-02
Copy link
Contributor

@Tishasoumya-02 Tishasoumya-02 commented Jun 9, 2023

@netlify
Copy link

netlify bot commented Jun 9, 2023

Deploy Preview for volto canceled.

Name Link
🔨 Latest commit a9cc08b
🔍 Latest deploy log https://app.netlify.com/sites/volto/deploys/64ae248904194900081efcb8

@cypress
Copy link

cypress bot commented Jun 9, 2023

Passing run #6288 ↗︎

0 511 20 0 Flakiness 0

Details:

merge conflict resolve
Project: Volto Commit: a9cc08bf32
Status: Passed Duration: 17:08 💡
Started: Jul 12, 2023 4:00 AM Ended: Jul 12, 2023 4:17 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Copy link
Member

@nileshgulia1 nileshgulia1 left a comment

Choose a reason for hiding this comment

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

Please see my comments. Thank you!

import { getBreadcrumbs } from '@plone/volto/actions';
import { getBaseUrl, hasApiExpander } from '@plone/volto/helpers';

import { useBreadcrumbs } from '@plone/volto/hooks/breadcrumbs/useBreadcrumbs';
Copy link
Member

Choose a reason for hiding this comment

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

You can export this in https://github.com/plone/volto/blob/master/src/hooks/index.js
and then directly import from @plone/volto/hooks

Copy link
Member

@JeffersonBledsoe JeffersonBledsoe left a comment

Choose a reason for hiding this comment

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

@Tishasoumya-02 Looks good, let's get this merged!
@nileshgulia1 If you're happy, give Victor a ping and LGTM.

@sneridagh sneridagh merged commit 779b8ea into master Jul 12, 2023
@sneridagh sneridagh deleted the breadcrumbs-refactor branch July 12, 2023 09:35
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.

4 participants