Skip to content

Feature/nav bar#26

Open
nk-radikant wants to merge 9 commits intomasterfrom
feature/nav-bar
Open

Feature/nav bar#26
nk-radikant wants to merge 9 commits intomasterfrom
feature/nav-bar

Conversation

@nk-radikant
Copy link
Copy Markdown
Contributor

@nk-radikant nk-radikant commented Sep 19, 2022

The main changes done in this PR are:

what: added header tag for nav-bars
why: to have more semantically correct nav-bars

what: fixed the ocean borders position for desktop (Extended Level 2, Extended Level 3) and mobile (Default, Extended, Extended Level 2, Extended Level 3)
why: so that it looks like the designers intended in Figma

what: divided desktop nav-bar menus into smaller reusable template parts and changed those template names
why: for a better overview and maintainability

Other than that I fixed font-weight for dropdown hover behaviour, replaced some fixed values in scss with our tokens, and deleted the data-text attribute in the nav-bar links because it got redundant.

📦 Published PR as canary version: 1.3.0--canary.26.f5eb94067647508cd35c5b96e2e19aaa70d87014.0

✨ Test out this PR locally via:

npm install @infineon/design-system-bootstrap@1.3.0--canary.26.f5eb94067647508cd35c5b96e2e19aaa70d87014.0
# or 
yarn add @infineon/design-system-bootstrap@1.3.0--canary.26.f5eb94067647508cd35c5b96e2e19aaa70d87014.0

Copy link
Copy Markdown
Contributor

@tishoyanchev tishoyanchev left a comment

Choose a reason for hiding this comment

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

@nk-radikant Please resolve merge conflicts, and then add a short description of the changes you have made.

@kaiwerther
Copy link
Copy Markdown
Contributor

I merged master into this release to get GitHub Actions working - will forward the resulting URL to the designers for feedback

@kaiwerther kaiwerther added minor Increment the minor version when merged release This PR creates a new release when it is merged labels Sep 21, 2022
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 21, 2022

PR Preview Action v1.1.1
🚀 Deployed preview to https://Infineon.github.io/Infineon-Design-System-Bootstrap/pr-preview/pr-26/
on branch gh-pages at 2022-10-07 13:01 UTC

@kaiwerther
Copy link
Copy Markdown
Contributor

Please label PRs directly as release + one of major/minor/patch

@kaiwerther
Copy link
Copy Markdown
Contributor

kaiwerther commented Sep 21, 2022

DDS-13 + DDS-14 seems to be fixed, I close them.

@nk-radikant Can you please describe what the issue was and how you fixed it? It isn't clear at all from the source code changes.

@nk-radikant
Copy link
Copy Markdown
Contributor Author

nk-radikant commented Sep 21, 2022

The main changes done in this PR are:

what: added header tag for nav-bars
why: to have more semantically correct nav-bars

what: fixed the ocean borders position for desktop (Extended Level 2, Extended Level 3) and mobile (Default, Extended, Extended Level 2, Extended Level 3)
why: so that it looks like the designers intended in Figma

what: divided desktop nav-bar menus into smaller reusable template parts and changed those template names
why: for a better overview and maintainability

Other than that I fixed font-weight for dropdown hover behaviour, replaced some fixed values in scss with our tokens, and deleted the data-text attribute in the nav-bar links because it got redundant.

@benedikt-ifx
Copy link
Copy Markdown
Contributor

Visual changes are fine and approved.

Copy link
Copy Markdown
Contributor

@tishoyanchev tishoyanchev left a comment

Choose a reason for hiding this comment

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

Navbar overflows on Extended versions.
Please remove the 110px from margin-left on .ifx__nav-link-wrapper.ifx__desktop-show class.
Double check before submitting another PR.

@kaiwerther
Copy link
Copy Markdown
Contributor

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged release This PR creates a new release when it is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants