Merged
Conversation
…and enhance Polls component
…cordion, and Sheet for enhanced UI functionality
…ly props for improved immutability
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.
This pull request includes several updates and additions to the frontend of the project, focusing on UI components, dependencies, and the overall user experience. The most important changes include updating the package dependencies, adding new UI components, and modifying existing components for better functionality and appearance.
Dependency Updates:
frontend/package.jsonandfrontend/package-lock.jsonincluding@radix-ui/react-accordion,@radix-ui/react-avatar,@radix-ui/react-dialog,@radix-ui/react-tooltip,next-themes, andsonner. [1] [2] [3] [4] [5] [6] [7] [8] [9]UI Components:
NavUsercomponent infrontend/src/components/NavUser.tsxto display user information and options in a dropdown menu.PollsandPollCardcomponent infrontend/src/components/Polls.tsxto display a list of polls with detailed information.Accordioncomponent infrontend/src/components/ui/accordion.tsxusing@radix-ui/react-accordionfor collapsible content sections.Component Modifications:
Navbarcomponent infrontend/src/components/Navbar.tsxto use the newNavUsercomponent and removed old user authentication logic.Appcomponent infrontend/src/App.tsxto change the position of theToastercomponent and import it from a different path. [1] [2]Miscellaneous:
frontend/index.htmlfrom "Vite + React + TS" to "Poll".