-
Notifications
You must be signed in to change notification settings - Fork 0
本番環境にデプロイ #224
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
本番環境にデプロイ #224
Conversation
…pen-untitled 拡張機能を起動したときにタイトル未定のファイルが開かれないようにする
…adme フロントのREADMEと拡張のREADMEを分けた
…ll-review-markdown 総評をMarkdownとしてレンダリング
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
This PR prepares the frontend for a production deployment by switching feedback rendering to Markdown, reorganizing imports, tweaking the webview opening logic, and updating documentation.
- Render feedback using ReactMarkdown instead of plain typography
- Adjust the VSCode command when no editor is open
- Reorder imports and add the
react-markdowndependency - Revise README to clarify features and add a dev guide
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/screens/general-feedback-screen/components/FeedbackBox.tsx | Replaced <Typography> with <ReactMarkdown> for feedback rendering |
| src/data/create-characters.ts | Alphabetically reordered MUI color imports |
| src/commands/functions/open-webview.ts | Changed fallback command to workbench.action.openWalkthrough |
| src/commands/extension.ts | Reordered imports for consistency |
| frontend/package.json | Added react-markdown dependency |
| frontend/README.md | Enhanced project description, features list, and formatting |
| frontend/README.dev.md | Introduced a development-focused README |
Comments suppressed due to low confidence (3)
frontend/src/webview/src/screens/general-feedback-screen/components/FeedbackBox.tsx:27
- Add a unit or snapshot test for this component to verify that Markdown is rendered correctly and edge cases like empty or large inputs are handled as expected.
<ReactMarkdown>{generalReview}</ReactMarkdown>
frontend/src/commands/functions/open-webview.ts:11
- The
openWalkthroughcommand opens VSCode’s tutorial rather than a blank editor. Confirm this matches the intended UX or revert toworkbench.action.files.newUntitledFileif you want to open an empty document.
"workbench.action.openWalkthrough"
frontend/README.md:1
- [nitpick] The header style differs from the project’s original naming. For clarity and consistency, consider using a single-language title or providing both Japanese and English side by side.
# RepoInterviewer とは?
| }} | ||
| > | ||
| <Typography sx={{ whiteSpace: "pre-wrap" }}>{generalReview}</Typography> | ||
| <ReactMarkdown>{generalReview}</ReactMarkdown> |
Copilot
AI
Jul 5, 2025
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.
By rendering arbitrary Markdown, untrusted input could include unsafe HTML. Consider enabling ReactMarkdown’s built-in security plugins or stripping HTML nodes to prevent XSS vulnerabilities.
cercil0605
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.
動作確認できたのでOK
Hikaribamboo
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.
LGTM
No description provided.