Skip to content

Standardize URL Building Using urlBuilders Utility #327

@coderabbitai

Description

@coderabbitai

There are inconsistencies in how URLs are constructed across the codebase.

Files using direct string concatenation:

  • apps/masterbots.ai/components/layout/header/user-menu.tsx
  • apps/masterbots.ai/components/layout/profile/profile-page-sidebar.tsx
  • apps/masterbots.ai/components/layout/sidebar/profile-sidebar.tsx
  • apps/masterbots.ai/lib/hooks/use-sidebar.tsx
  • apps/masterbots.ai/lib/threads.ts

Files using the urlBuilders utility:

  • sidebar-link.tsx
  • browse-list-item.tsx
  • chat-accordion.tsx

To improve maintainability and consistency, all URL construction should utilize the urlBuilders utility.

Backlinks:

@AndlerRL

Metadata

Metadata

Labels

difficulty:easyIssues that are easy to solve.enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions