-
Notifications
You must be signed in to change notification settings - Fork 42
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
Implement Base Structure and GitHub OAuth Login #97
Merged
Conversation
This file contains 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
* Adding a basic mantine theme file. It will be updated as the code base develops. Any colors or gaps will not be hardcoded. They should first be defined in the theme and then should be used in the code. * updating .gitignore
…ure. (#12) setting up tests in the future will be easier.
* Working version of routing * Implemented routing, however tests for the login page needs to figured out.
* clean up * A simple but beautiful login page * Github Oauth setup
* Fixed testing setup and have all tests for OAuth. * Fixed remaining TODOs, added tests. * Adding a DEVELOPER.md and .env.example
asingamaneni
approved these changes
May 29, 2024
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
asingamaneni
added a commit
that referenced
this pull request
Jul 29, 2024
* Merge pull request #1 * Base setup for react ui * Merge pull request #2 * Zustand + React Query setup * Integrating Zustand, RQ and api.github with a basic implementation * Completed the mantine + dev tooling setup and implemented a layout (#3) * Local test, vite, linting and prettier setup. Switching to mantine instead of material ui * Updating readme.md with run scripts details * Adding basic app layout with mantine * Adding auth provider which shows a modal for users to enter their github token (#4) * GitHub Integration + Render Repos List And User Card (#5) * 1. Segregating header into a new component 2. Updating header with new styles * Implement a ReposList component with dropdown. Supports smooth scrolling and autocomplete search ReposList shows in Header component. * Implemented a UserButton Component. UserButton is in Header * Implemented use repos Integrated it with ReposList Implemented useUser Integrated it with UserButton * Update Readme.md * Reverting IDE changes * 1. Improved token handling 2. Improved api-client 3. Added a Loading component * Linting fixes * Failed attempt at wrapping Error and Loading using a HOC. Will investigate this later. * Updates to Header and UserMenu * Add a sample NavBar * updating tests * Implement Base Structure and GitHub OAuth Login (#97) * Initializing theme files (#11) * Adding a basic mantine theme file. It will be updated as the code base develops. Any colors or gaps will not be hardcoded. They should first be defined in the theme and then should be used in the code. * updating .gitignore * Includes a comprehensive test setup with mock data and support structure. (#12) setting up tests in the future will be easier. * 9 tech debt setup public private routing (#13) * Working version of routing * Implemented routing, however tests for the login page needs to figured out. * implemented notification from mantine (#14) * 8 feature implement login functionality using GitHub oauth (#15) * clean up * A simple but beautiful login page * Github Oauth setup * 16 tech debt complete todos (#17) * Fixed testing setup and have all tests for OAuth. * Fixed remaining TODOs, added tests. * Adding a DEVELOPER.md and .env.example * Initializing theme files (#11) * Adding a basic mantine theme file. It will be updated as the code base develops. Any colors or gaps will not be hardcoded. They should first be defined in the theme and then should be used in the code. * updating .gitignore * Includes a comprehensive test setup with mock data and support structure. (#12) setting up tests in the future will be easier. * 9 tech debt setup public private routing (#13) * Working version of routing * Implemented routing, however tests for the login page needs to figured out. * implemented notification from mantine (#14) * 8 feature implement login functionality using GitHub oauth (#15) * clean up * A simple but beautiful login page * Github Oauth setup * 16 tech debt complete todos (#17) * Fixed testing setup and have all tests for OAuth. * Fixed remaining TODOs, added tests. * Adding a DEVELOPER.md and .env.example * Restructuring + layout (#19) * adding yaml file * 20 load list of organizations on the left cell (#21) * WIP * fetch user name before rendering main page * implement api for user repos * show available repos on the left hand side * Rendering an un nested list of files * rendering yaml files in each project * implemented rules table * editing rules.yaml * Build a working version (#22) * working modal * working flow * Updated repos list * Refactored CommitsList.tsx and apis * minor fixes * clean up --------- Co-authored-by: Ashok Singamaneni <ashok.singamaneni@nike.com>
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.
Description
This pull request sets up the base structure for the project and implements the login functionality using GitHub OAuth. This includes necessary configurations and initial setup to enable user authentication via GitHub.
Motivation and Context
These changes are required to establish the foundational structure of the project and provide a seamless login experience using GitHub OAuth. It addresses the need for secure and straightforward user authentication.
How Has This Been Tested?
The changes have been tested in a local development environment. The following tests were conducted:
Verified GitHub OAuth login flow works as expected.
Checked that users are correctly authenticated and redirected post-login.
Ensured no conflicts or issues with the base structure setup.