Skip to content
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

Add History page. #220

Merged
merged 12 commits into from
Oct 4, 2023
Merged

Add History page. #220

merged 12 commits into from
Oct 4, 2023

Conversation

kyudori
Copy link
Contributor

@kyudori kyudori commented Sep 23, 2023

Description

LPVS Front-End History Page.
History Page provides a history of generated PRs.

  • My Pull Request - History of PR I created
  • My Repo PR - History of PR created in My Repository
  • My Org PR - History of PR created in my organization

Result, Dashboard pages will be uploaded.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code cleanup/refactoring
  • Documentation update
  • This change requires a documentation update
  • CI system update
  • Test Coverage update

How Has This Been Tested?

  1. Update environment variables of docker-compose.yml file.
  2. Build the lpvs container : docker compose build
  3. Run containers: docker compose up -d
  4. See the lpvs home page with any browser: http://localhost:7896

For using social login with Naver, Kakao, and Google, fill the necessary information:

  • Update the application.properties located in src/main/resources:
    Enter client-id and client-secret. (Kakao doesn't require a client-secret.)
  • Update the .env file located in frontend:
    Enter your REST_API_KEY.

The values required to implement the login function can be obtained from the link below.
Naver: https://developers.naver.com/products/login/api/api.md
Kakao: https://developers.kakao.com/docs/latest/ko/kakaologin/common
Google: https://cloud.google.com/identity-platform/docs/web/google

history
history_repo

Test Configuration:

  • Java: v11
  • LPVS Release: v1.1.0

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

kyudori and others added 5 commits September 21, 2023 09:47
Signed-off-by: June Saehwan <[email protected]>
Co-authored-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
Signed-off-by: jongmin Lee <[email protected]>
Co-authored-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
Signed-off-by: jongmin Lee <[email protected]>
Co-authored-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Signed-off-by: jongmin Lee <[email protected]>
Co-authored-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
@kyudori

This comment has been minimized.

@o-kopysov o-kopysov requested a review from m-rudyk September 23, 2023 07:34
@kyudori kyudori marked this pull request as draft September 23, 2023 07:45
Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
@kyudori kyudori marked this pull request as ready for review September 23, 2023 14:14
@tiokim tiokim closed this Sep 24, 2023
@tiokim tiokim reopened this Sep 24, 2023
@tiokim
Copy link
Member

tiokim commented Sep 24, 2023

[License Pre-Validation Service] No license issue detected

Detected licenses:

File: src/test/java/com/lpvs/util/WebHookUtilTest.java
License(s): MIT (permitted)
Component: LPVS (test/java/com/lpvs/util/WebHookUtilTest.java)
Matched Lines: 25-120
Snippet Match: 79%

Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
@tiokim
Copy link
Member

tiokim commented Sep 24, 2023

[License Pre-Validation Service] No license issue detected

Detected licenses:

File: src/test/java/com/lpvs/util/WebHookUtilTest.java
License(s): MIT (permitted)
Component: LPVS (test/java/com/lpvs/util/WebHookUtilTest.java)
Matched Lines: 25-120
Snippet Match: 79%

Copy link
Member

@tiokim tiokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Please take a look at my review comments

frontend/src/pages/Home.jsx Outdated Show resolved Hide resolved
src/main/java/com/lpvs/util/LPVSWebhookUtil.java Outdated Show resolved Hide resolved
Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
Copy link
Collaborator

@m-rudyk m-rudyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Small remarks

Basaeng and others added 2 commits October 1, 2023 22:57
Signed-off-by: jongmin Lee <[email protected]>
Co-authored-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
@o-kopysov
Copy link
Collaborator

@Basaeng Please check build errors and fix them.

Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
@kyudori
Copy link
Contributor Author

kyudori commented Oct 3, 2023

@Basaeng Please check build errors and fix them.

@o-kopysov
With the addition of pull_request_base and pull_request_head to the pull_requests table, errors occurred in the test code.
Now resolved these errors by modifying the test code.

Signed-off-by: Han Kyuhyun <[email protected]>
Co-authored-by: ByunJeongHeum <[email protected]>
Co-authored-by: June Saehwan <[email protected]>
Co-authored-by: jongmin Lee <[email protected]>
Copy link
Member

@tiokim tiokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@o-kopysov o-kopysov merged commit c7ee6e8 into Samsung:main Oct 4, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants