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

[PM-8517] Create web specific layout #9209

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

[PM-8517] Create web specific layout #9209

wants to merge 2 commits into from

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented May 16, 2024

Type of change

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

Objective

We currently duplicate some logic between our layouts. In an effort to streamline our experience I'm exploring if we can create a web specific layout that handles some of this.

Before you submit

  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
  • Ensure that all UI additions follow WCAG AA requirements

@github-actions github-actions bot added the needs-qa Marks a PR as requiring QA approval label May 16, 2024
Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 65.00000% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 28.18%. Comparing base (4798cd0) to head (b6a3f74).

Files Patch % Lines
apps/web/src/app/layouts/web-layout.component.ts 75.00% 2 Missing and 1 partial ⚠️
...in-console/providers/providers-layout.component.ts 0.00% 2 Missing ⚠️
...eb/src/app/secrets-manager/layout/layout.module.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9209   +/-   ##
=======================================
  Coverage   28.18%   28.18%           
=======================================
  Files        2397     2398    +1     
  Lines       70642    70637    -5     
  Branches    13203    13201    -2     
=======================================
+ Hits        19910    19911    +1     
+ Misses      49172    49167    -5     
+ Partials     1560     1559    -1     

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

Copy link
Contributor

@willmartian willmartian left a comment

Choose a reason for hiding this comment

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

Nice. A lot less redundancy. One question:

import { ToggleWidthComponent } from "./toggle-width.component";

@Component({
selector: "app-layout",
Copy link
Contributor

Choose a reason for hiding this comment

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

Thoughts on selector: "web-layout"?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was debating back and forth, we generally use app but I agree web would be nicer ...

Copy link
Contributor

github-actions bot commented May 16, 2024

Logo
Checkmarx One – Scan Summary & Details347eb153-89c5-4066-979c-8163bd4ab339

No New Or Fixed Issues Found

@Hinton Hinton changed the title Create web specific layout [PM-8517] Create web specific layout May 31, 2024
@Hinton Hinton marked this pull request as ready for review May 31, 2024 13:46
@Hinton Hinton requested review from a team as code owners May 31, 2024 13:46
@Hinton Hinton requested a review from addisonbeck May 31, 2024 13:46
Copy link
Contributor

@Thomas-Avery Thomas-Avery left a comment

Choose a reason for hiding this comment

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

SM changes look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-qa Marks a PR as requiring QA approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants