Enhance quiz app UI with new components and layouts#51
Merged
Conversation
Added new Razor components and updated existing ones to improve the user interface and functionality of the quiz application. Introduced layout specifications for consistency, added `@page` directives for new routes, and enhanced UI elements with better padding and centering. Implemented query string parameters for dynamic data handling and updated CSS for improved button styling and responsiveness. Overall, these changes aim to create a more interactive and visually appealing user experience.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the quiz application’s UI by adding layout consistency, padding/centering utilities, responsive button styles, and new test pages with proper routing.
- Added CSS rules for button styling, responsive layouts, and truncated multi-choice answer text.
- Updated multiple Razor components (
*.razor) to includepx-3 text-centerfor better content centering and spacing. - Introduced new test pages with
@pagedirectives and shared layout references; removed an outdated test component.
Reviewed Changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| wwwroot/css/app.css | Added border removal, responsive media queries, and .multiple-choice-answer-text styling |
| Shared/Components/NavBar.razor | Adjusted margin classes on brand link and text |
| Shared/Client/WaitingForQuestions.razor | Added horizontal padding and text centering |
| Shared/Client/WaitingForAnswerCheck.razor | Added horizontal padding and text centering |
| Shared/Client/UserName.razor | Added horizontal padding and text centering |
| Shared/Client/TrueFalseQuestion.razor | Added padding class to title h1 |
| Shared/Client/SingleAnswerMultiSelectQuestion.razor | Inserted span wrapper with truncated answer text |
| Shared/Client/PlayerPosition.razor | Added padding and text-centering classes |
| Shared/Client/JoinQuiz.razor | Added padding and text-centering classes |
| Shared/Client/AnswerSummary.razor | Added padding and text-centering classes |
| Pages/Tests/SingleAnswerQuestionTest.razor | Removed outdated test file |
| Pages/Tests/Client/WaitingForQuestion.razor | Added new test page with route and shared layout |
| Pages/Tests/Client/WaitingForAnswerCheck.razor | Added new test page with route and shared layout |
| Pages/Tests/Client/UserName.razor | Added new test page with route and shared layout |
| Pages/Tests/Client/TrueFalseQuestion.razor | Added new test page with route and shared layout |
| Pages/Tests/Client/PlayerPosition.razor | Updated route and layout for player position test |
| Pages/Tests/Client/MultipleChoiceQuestion.razor | Added new test page (note spelling in route) |
| Pages/Tests/Client/JoinQuiz.razor | Added new test page with route and shared layout |
| Pages/Tests/Client/AnswerSummary.razor | Added new test page with route and shared layout |
QuizExperiment.Admin/Client/Pages/Tests/Client/MultipleChoiceQuestion.razor
Outdated
Show resolved
Hide resolved
…uestion.razor Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ub.com/fortunkam/QuizzR into feature/css_fixes_and_client_questions
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
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.
Added new Razor components and updated existing ones to improve the user interface and functionality of the quiz application. Introduced layout specifications for consistency, added
@pagedirectives for new routes, and enhanced UI elements with better padding and centering. Implemented query string parameters for dynamic data handling and updated CSS for improved button styling and responsiveness. Overall, these changes aim to create a more interactive and visually appealing user experience.#21