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

[AC 2413] migrate policies component #8692

Merged
merged 6 commits into from
May 21, 2024

Conversation

vinith-kovan
Copy link
Contributor

Type of change

- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [X] Other

Objective

Migrate the Policy component to use the component library.

policies.component.html - Updated the bootstrap css to use the equivalent components from the Component Library.

Screenshots

policies.-.Made.with.Clipchamp.mp4

@vinith-kovan vinith-kovan requested a review from a team as a code owner April 11, 2024 12:20
@github-actions github-actions bot added the needs-qa Marks a PR as requiring QA approval label Apr 11, 2024
Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.13%. Comparing base (5075d08) to head (866d82d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8692      +/-   ##
==========================================
+ Coverage   28.12%   28.13%   +0.01%     
==========================================
  Files        2362     2362              
  Lines       69880    69880              
  Branches    13141    13141              
==========================================
+ Hits        19654    19661       +7     
+ Misses      48668    48661       -7     
  Partials     1558     1558              

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

Copy link
Contributor

github-actions bot commented Apr 11, 2024

Logo
Checkmarx One – Scan Summary & Detailscf25a46f-b25c-4b01-9f3b-1414a8bdc72b

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Missing_HSTS_Header /libs/common/src/services/api.service.ts: 222 Attack Vector

@vincentsalucci vincentsalucci requested review from eliykat and removed request for vincentsalucci April 25, 2024 21:12
Copy link
Member

@eliykat eliykat left a comment

Choose a reason for hiding this comment

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

Looks great, I just spotted 1 more element we can migrate while we're here.

<bit-table *ngIf="!loading">
<ng-template body>
<tr bitRow *ngFor="let p of policies">
<td bitCell *ngIf="p.display(organization)">
<a href="#" appStopClick (click)="edit(p)">{{ p.name | i18n }}</a>
Copy link
Member

Choose a reason for hiding this comment

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

While you're here, can you please change this to use a CL button link:

Suggested change
<a href="#" appStopClick (click)="edit(p)">{{ p.name | i18n }}</a>
<button bitLink (click)="edit(p)">{{ p.name | i18n }}</button>

@eliykat eliykat removed the needs-qa Marks a PR as requiring QA approval label May 10, 2024
@vinith-kovan vinith-kovan merged commit 644fe9a into main May 21, 2024
34 checks passed
@vinith-kovan vinith-kovan deleted the AC-2413-Migrate-policies-component branch May 21, 2024 17:57
quexten pushed a commit that referenced this pull request May 22, 2024
* migrate policies component

* migrate policies component
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.

2 participants