-
Notifications
You must be signed in to change notification settings - Fork 514
dev tool indicator #1272
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
Merged
Merged
dev tool indicator #1272
Changes from 10 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
863e1d3
Update pnpm-lock.yaml and enhance dashboard dev tools
mantrakp04 d4a17f4
Update pnpm-lock.yaml and enhance dev tool components
mantrakp04 01cbe39
Merge branch 'dev' into feat/dev-tool
mantrakp04 7bfde19
Refactor dashboard configuration and clean up template dependencies
mantrakp04 ce13ce2
Refactor dev tool components and enhance URL handling
mantrakp04 40c7d79
Merge branch 'dev' into feat/dev-tool
mantrakp04 e3feccc
Enhance feedback handling and introduce new internal API routes
mantrakp04 754f296
Refactor component version handling and improve feedback tests
mantrakp04 3c5b938
Merge branch 'dev' into feat/dev-tool
mantrakp04 fd4ade1
Refactor dev tool components and enhance functionality
mantrakp04 86f480c
Refactor feedback tests for improved clarity and consistency
mantrakp04 4a9272c
Remove deprecated dev tool components and consolidate functionality
mantrakp04 b2a73d2
Add request logging functionality to StackClientInterface
mantrakp04 38f6ddf
Merge branch 'dev' into feat/dev-tool
mantrakp04 aea74a3
Merge branch 'dev' into feat/dev-tool
mantrakp04 0c178c5
Refactor component version handling and add tests for API endpoint
mantrakp04 9f9000e
Updated component prompts
N2D4 4180be2
Merge branch 'dev' into feat/dev-tool
mantrakp04 5f8debe
Add "restricted users redirected to onboarding" logic to sign in and …
N2D4 37a37a6
Refactor dev environment scripts and add new demo pages for dev tools
mantrakp04 2607576
Merge branch 'dev' into feat/dev-tool
mantrakp04 633acc6
Implement trigger position snapping and management in dev tools
mantrakp04 a365ac4
Merge branch 'dev' into feat/dev-tool
N2D4 b1780b4
Update prompt
N2D4 8be613c
Merge branch 'dev' into feat/dev-tool
mantrakp04 3bbdfc9
Enhance AI Proxy Integration and Dev Tool UI
mantrakp04 e51d459
Refactor Dev Tool Core Functions and Enhance URL Target Tests
mantrakp04 01982ff
Refactor Dev Tool Tab Functions to Return Structured Results
mantrakp04 359e6d1
Refactor Panel Closing Logic in Dev Tool Core
mantrakp04 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
apps/backend/src/app/api/latest/internal/component-versions/route.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| import { createSmartRouteHandler } from "@/route-handlers/smart-route-handler"; | ||
| import { yupNumber, yupObject, yupRecord, yupString } from "@stackframe/stack-shared/dist/schema-fields"; | ||
| import { getLatestPageVersions } from "@stackframe/stack"; | ||
|
|
||
| export const GET = createSmartRouteHandler({ | ||
| metadata: { | ||
| hidden: true, | ||
| }, | ||
| request: yupObject({ | ||
| method: yupString().oneOf(["GET"]).defined(), | ||
| }), | ||
| response: yupObject({ | ||
| statusCode: yupNumber().oneOf([200]).defined(), | ||
| bodyType: yupString().oneOf(["json"]).defined(), | ||
| body: yupObject({ | ||
| versions: yupRecord(yupString().defined(), yupObject({ | ||
| version: yupNumber().defined(), | ||
| changelogs: yupRecord(yupString().defined(), yupString().defined()).defined(), | ||
| }).defined()).defined(), | ||
| }).defined(), | ||
| }), | ||
| handler: async () => { | ||
| return { | ||
| statusCode: 200, | ||
| bodyType: "json" as const, | ||
| body: { | ||
| versions: getLatestPageVersions(), | ||
| }, | ||
| }; | ||
| }, | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.