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

Chore/admin/update-breadcrumb-logic #834

Conversation

ryanhopperlowe
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe commented Dec 13, 2024

Improves breadcrumb logic by using Remix Route Handles.

  • breadcrumbs will now be defined at the route level
  • this should make it much easier to remember to add a breadcrumb when implementing a new page
  • encourages better practices for route nesting and route naming conventions

further reading for context:
https://remix.run/docs/zh/main/guides/breadcrumbs

@@ -60,196 +87,11 @@ function RouteBreadcrumbs() {
<Link to={$path("/")}>Home</Link>
</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />

{routeInfo?.path === "/agents/:agent" && (
Copy link
Contributor

Choose a reason for hiding this comment

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

🙌

ivyjeong13
ivyjeong13 previously approved these changes Dec 13, 2024
@ivyjeong13
Copy link
Contributor

Screen.Recording.2024-12-13.at.1.54.23.PM.mov

Oh noticed one small thing just wanted to verify! Should the Threads breadcrumb be there if I click a thread?

@ivyjeong13 ivyjeong13 dismissed their stale review December 13, 2024 18:56

One small comment to verify!

@ryanhopperlowe
Copy link
Contributor Author

Screen.Recording.2024-12-13.at.1.54.23.PM.mov
Oh noticed one small thing just wanted to verify! Should the Threads breadcrumb be there if I click a thread?

Yes, nice catch!

- determines which fields should be displayed as passwords when configuring a model provider
@ryanhopperlowe ryanhopperlowe force-pushed the chore/admin/update-breadcrumb-logic branch from 408a540 to 38d546e Compare December 13, 2024 19:37
@ryanhopperlowe ryanhopperlowe merged commit 72e79a9 into obot-platform:main Dec 13, 2024
1 check passed
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.

2 participants