Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace Static Slug Routing with File-Based Tool Routing#49

Open
Shalini828 wants to merge 2 commits into
betterbugs:develop from
Shalini828:feature/auto-tool-discovery
Open

Replace Static Slug Routing with File-Based Tool Routing #49
Shalini828 wants to merge 2 commits into
betterbugs:develop from
Shalini828:feature/auto-tool-discovery

Conversation

@Shalini828

@Shalini828 Shalini828 commented Mar 1, 2026

Copy link
Copy Markdown

Summary:

This PR removes the static [slug]-based tool registry and migrates tool routing to a file-based structure under app/tools/.

Tools are now automatically registered via the filesystem instead of being manually maintained in a central constant file.

Changes :-

  • Removed app/[slug]/page.tsx
  • Removed dependency on DEVELOPMENTTOOLS
  • Added ToolLayout component
  • Migrated base64-encoder to /tools/base64-encoder
  • Verified 404 handling for invalid routes

Result :-
Improved scalability, modularity, and maintainability by leveraging Next.js file-based routing.

Fixes #47

@rishima17 rishima17 changed the base branch from main to develop March 1, 2026 12:57
@rishima17 rishima17 added bug Something isn't working apertre3.0 medium labels Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@SyedFahad7 SyedFahad7 Awaiting requested review from SyedFahad7

At least 1 approving review is required to merge this pull request.

Labels

apertre3.0 bug Something isn't working medium

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Replace Static Tool Registry with File-Based Auto Tool Discovery

AltStyle によって変換されたページ (->オリジナル) /