-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Mcq UI #19
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
feat: Mcq UI #19
Conversation
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
1. Fix `yarn compile` to `yarn run build` 2. Add dev instructions to configure the extension
- Integrate new message type: MCQQuestion - Add UI component for the MCQ Panel - Add Markdown rendering
The original approach I had in mind requires minimal code but compared to yours, will have no choice but to maximise and shrink the Webview panel tab, which can be jarring to the user UI-wise. I think your approach would be better. |
heyzec
reviewed
Jun 17, 2025
heyzec
reviewed
Jun 17, 2025
heyzec
reviewed
Jun 17, 2025
NOTE: Choices may contain hints (not implemented) |
heyzec
reviewed
Jun 24, 2025
heyzec
reviewed
Jun 24, 2025
heyzec
reviewed
Jun 24, 2025
heyzec
reviewed
Jun 24, 2025
heyzec
reviewed
Jun 24, 2025
7 tasks
Closed
The MCQ UI looks good. Thanks! |
heyzec
approved these changes
Jun 27, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #12
MCQ Panel Implementation
getMcqHtml
function insrc/commands/showPanel.tsx
to generate the HTML content for the MCQ panel, including React-based components for rendering questions and options.McqPanel
React component insrc/webview/components/McqPanel.tsx
to display MCQ questions and handle user interactions.handleMessage
function insrc/commands/showPanel.tsx
to handleMessageTypeNames.MCQQuestion
and create a webview panel for displaying MCQs.Messaging System Updates
MCQQuestion
message type to theMessages
utility insrc/utils/messages.ts
, allowing the extension to send and receive MCQ-related data.Editor Class Enhancements
Editor
class insrc/utils/editor.ts
to include a newassessmentType
property, which can store additional context about the type of assessment. [1] [2]The PR is dependent on frontend/vscode/next.
TODO:
commands/showPanel.tsx
Current state:
