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

Update application header #211

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Update application header #211

merged 2 commits into from
Dec 10, 2024

Conversation

kyle1morel
Copy link
Collaborator

@kyle1morel kyle1morel commented Dec 4, 2024

Description

New styling. Popup menu.

https://apps.nrs.gov.bc.ca/int/jira/browse/PADS-361

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

New styling. Popup menu.
Copy link

github-actions bot commented Dec 4, 2024

Coverage Report (Frontend)

Totals Coverage
Statements: 24.55% ( 1639 / 6677 )
Methods: 19.91% ( 227 / 1140 )
Lines: 29.02% ( 954 / 3287 )
Branches: 20.36% ( 458 / 2250 )

Copy link

github-actions bot commented Dec 4, 2024

Coverage Report (Application)

Totals Coverage
Statements: 36.25% ( 1047 / 2888 )
Methods: 24.6% ( 123 / 500 )
Lines: 47.55% ( 698 / 1468 )
Branches: 24.57% ( 226 / 920 )

@Subin1Doo
Copy link

can we add that thin grey line between the bc gov logo and our PCNS title? The line is 36px tall,: 1px solid #D8D8D8.
so it would be [bc gov logo]- 16px gap - [grey line] - 16px gap [permit connect navigator service].
Thanks!

Copy link
Member

@jujaga jujaga left a comment

Choose a reason for hiding this comment

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

Looks nice! A few specific questions on precise representation of the header though.

</script>

<template>
<header>
<nav id="header-branding">
<div class="flex flex-row flex-wrap align-items-center p-2 lg:pl-6">
<div class="flex flex-row flex-wrap align-items-center p-2 pb-0 lg:pl-6">
Copy link
Member

Choose a reason for hiding this comment

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

It looks like the header height is noticeably larger than the GCPE style bars we see on the official site and Design Guide. Best I can find after some scanning is a min-height: 65px implicitly from their documentation example, but wasn't able to derive or find a canonical height measurement for the header element.
Ref: https://designsystem.gov.bc.ca/react-components/?path=/docs/components-header-header--docs#controls

I am wondering if the p-2 and pb-0 classes are causing unintended side effects on the bar height. That being said, as there doesn't seem to be a formal prescription on what a header height should precisely be, @Subin1Doo would you be able to make a determination on what the PCNS' header height should be?

Choose a reason for hiding this comment

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

it's set to 54px in the Figma's design guide document

Copy link
Collaborator Author

@kyle1morel kyle1morel Dec 5, 2024

Choose a reason for hiding this comment

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

There doesn't seem to be a set standard. https://www2.gov.bc.ca/gov/content/home uses 60px for the logo so I'm going to conform to that.

@wilwong89 wilwong89 merged commit 78e145a into master Dec 10, 2024
18 of 19 checks passed
@wilwong89 wilwong89 deleted the feature/header branch December 10, 2024 17:37
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.

4 participants