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

make breadcrumb appear faster #2234 #2243

Merged
merged 16 commits into from
Oct 25, 2023
Merged

make breadcrumb appear faster #2234 #2243

merged 16 commits into from
Oct 25, 2023

Conversation

andreymikhadyuk
Copy link
Collaborator

@andreymikhadyuk andreymikhadyuk commented Oct 24, 2023

  • PR title equals to the ticket name
  • I added the ticket to the Development section of this PR.

What was changed?

  • optimized breadcrumbs

@netlify
Copy link

netlify bot commented Oct 24, 2023

Deploy Preview for preview-common ready!

Name Link
🔨 Latest commit 6e1ba0d
🔍 Latest deploy log https://app.netlify.com/sites/preview-common/deploys/6538184587c1400007de848b
😎 Deploy Preview https://deploy-preview-2243--preview-common.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@andreymikhadyuk andreymikhadyuk linked an issue Oct 24, 2023 that may be closed by this pull request
const nextData = [...currentState.data];

data.forEach((item) => {
const itemIndex = nextData.findIndex(
Copy link
Contributor

Choose a reason for hiding this comment

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

You have pretty similar code in all newly created hooks. It would be great if you create a reusable helper function for that (if it's possible)

: !areCommonsFetched;
const hasParentPermissionToAddProject = useMemo(
() =>
(parentCommonId &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

move to util

@pvm-code pvm-code merged commit 3de41c9 into dev Oct 25, 2023
@pvm-code pvm-code deleted the feature/CW-2234-breadcrumbs branch October 25, 2023 11:21
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.

make breadcrumb appear faster
3 participants