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

fix(core): add dynamic ids as part of breadcrumbs #6654

Open
wants to merge 8 commits into
base: next
Choose a base branch
from

Conversation

arndom
Copy link
Contributor

@arndom arndom commented Jan 21, 2025

  • Display end /:id in breadcrumb when on action(show/edit) page
  • Display nested /:id in breadcrumb

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

Dynamic ids (route param) are not included in the breadcrumb

What is the new behavior?

Dynamic ids are now included in the breadcrumb

fixes (issue)
#6584

Notes for reviewers

Sorry, something went wrong.

- display end id when on action(show/edit) page
- display nested id in route
- add test case for these
- add changeset
@arndom arndom requested a review from a team as a code owner January 21, 2025 14:45
Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: 56b270e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jan 21, 2025

Deploy Preview for refine-doc-live-previews ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1f64639
🔍 Latest deploy log https://app.netlify.com/sites/refine-doc-live-previews/deploys/67b32cbd4f0e390008365bdb
😎 Deploy Preview https://deploy-preview-6654--refine-doc-live-previews.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.

@aress31
Copy link

aress31 commented Jan 23, 2025

@arndom, I have quickly reviewed the PR and you check for :id only when it could be anything starting with :, for example :projectId, :clientId, :employerId, etc.

- to match ids like: `:orgId`, `:projectId`, not just `:id`
@arndom
Copy link
Contributor Author

arndom commented Jan 23, 2025

Thanks for catching that @aress31, fixed now

@alicanerdurmaz alicanerdurmaz changed the base branch from main to next February 17, 2025 12:34
@alicanerdurmaz alicanerdurmaz requested a review from a team as a code owner February 17, 2025 12:34
Copy link

cypress bot commented Feb 18, 2025

refine    Run #11880

Run Properties:  status check failed Failed #11880  •  git commit af891ff74d: docs(blog): add replit post (#6680)
Project refine
Branch Review main
Run status status check failed Failed #11880
Run duration 20m 28s
Commit git commit af891ff74d: docs(blog): add replit post (#6680)
Committer Necati Özmen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 22
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 377
View all changes introduced in this branch ↗︎

Tests for review

Failed  cypress/e2e/table-material-ui-advanced/data-grid.cy.ts • 1 failed test • table-material-ui-advanced

View Output

Test Artifacts
table-material-ui-advanced > should work with filter Test Replay Screenshots

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.

None yet

6 participants