-
Notifications
You must be signed in to change notification settings - Fork 1
Search organizations route #447
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
base: main
Are you sure you want to change the base?
Search organizations route #447
Conversation
dsoto18
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint kinda went crazy here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds a new /organizations proxy route under the CLARK router and removes the now-sunset CARD search endpoint for organizations.
Changes:
- Added CLARK
GET /organizationsproxy route via a new Organization router/routes module. - Registered the new CLARK OrganizationRouteHandler in
clark.router.ts. - Removed CARD
GET /organizationsfromsrc/modules/card/search/search.routes.tsand applied small formatting fixes (trailing commas) in several route config files.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/modules/clark/utility-module/utility.routes.ts | Trailing-comma formatting in route config. |
| src/modules/clark/standard-guidelines-module/standard-guidelines.routes.ts | Trailing-comma formatting in route config. |
| src/modules/clark/organization/organization.routes.ts | Introduces CLARK GET /organizations route definition. |
| src/modules/clark/organization/organization.router.ts | Adds proxy router wiring for organization routes to CLARK service. |
| src/modules/clark/metric-module/metrics.routes.ts | Trailing-comma formatting in route config. |
| src/modules/clark/learning-object-module/search.routes.ts | Trailing-comma formatting in route config. |
| src/modules/clark/learning-object-module/revisions.routes.ts | Trailing-comma formatting in route config. |
| src/modules/clark/clark.router.ts | Registers OrganizationRouteHandler in the CLARK router. |
| src/modules/clark/chatbot-module/chatbot.routes.ts | Whitespace/trailing-comma formatting in route config. |
| src/modules/clark/chatbot-module/chatbot.router.ts | Formatting-only change. |
| src/modules/card/search/search.routes.ts | Removes CARD GET /organizations route from search routes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| import { AuthRouteHandler } from "./auth-module/auth.router"; | ||
| import { FileRouteHandler } from "./file-module/file.router"; | ||
| import { ChatBotRouteHandler } from "./chatbot-module/chatbot.router"; | ||
| import { OrganizationRouteHandler } from "./organization/organization.router"; |
Copilot
AI
Jan 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within ClarkRouteHandler, every other sub-router import follows a *-module folder convention (e.g., ./user-module/..., ./utility-module/...), but this PR introduces ./organization/.... For consistency and easier navigation, consider renaming the folder to organization-module (and updating the import), or aligning the naming across Clark modules if organization is intentionally different.
What this PR does / why we need it
This PR adds the /organizations route for CLARK and sunsets the CARD route