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

[YUNIKORN-2448] Implemented licenses modal #175

Closed
wants to merge 3 commits into from

Conversation

dcoric
Copy link
Contributor

@dcoric dcoric commented Mar 4, 2024

What is this PR for?

This PR adds a menu option to display licenses used by the project. Clicking that menu option opens a modal dialog where all licenses are listed.

A list of licenses is generated on build time. For dev preview, a short example file is used.

What type of PR is it?

  • - Bug Fix
  • - Improvement
  • - Feature
  • - Documentation
  • - Hot Fix
  • - Refactoring

What is the Jira issue?

YUNIKORN-2448

Questions?

  • Should we append at the beginning of the licenses preview dialog information that the project is licensed under the Apache License 2.0?

Screenshots (if appropriate)

Screenshot 2024-03-04 at 22 39 34 Screenshot 2024-03-04 at 22 39 52

Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.07%. Comparing base (db71be7) to head (712eb66).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #175   +/-   ##
=======================================
  Coverage   73.07%   73.07%           
=======================================
  Files           1        1           
  Lines          26       26           
=======================================
  Hits           19       19           
  Misses          4        4           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- Update angular.json to set LICENSE as asset
- update licenses-modal.component.ts to get LICENSE file for modal
- removed example-licenses.txt
@chia7712 chia7712 closed this in 1b147a4 Mar 14, 2024
@chia7712
Copy link
Contributor

@dcoric thanks for this contribution!

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.

3 participants