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

feat: add navigation menu component #3111

Merged
merged 4 commits into from
May 13, 2020

Conversation

khamudom
Copy link
Contributor

Description

Created a navigation component to use for the navigation page menu. The template is a nav element with a slotted directive. Each navigation item also gets an attribute of role="listitem" added. Implemented the control on the page in the header and footer.

Motivation & context

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@EisenbergEffect
Copy link
Contributor

EisenbergEffect commented May 12, 2020

Approved but had a second thought. I think we should prefix all the components built specifically for the site with something other than fast-. We could get name conflicts that break things in the future if we use the same "namespace" and then add new components to the actual fast components. /cc @chrisdholt

@chrisdholt chrisdholt force-pushed the feature/fast-frame branch from 5c3eb72 to 8dc8c69 Compare May 12, 2020 17:36
@khamudom khamudom force-pushed the users/khamu/fast-frame-site-navigation branch from 09aa0d4 to 1eaf9c4 Compare May 12, 2020 19:17
@khamudom khamudom force-pushed the users/khamu/fast-frame-site-navigation branch from 6b62de6 to cde05a6 Compare May 12, 2020 20:48
@nicholasrice
Copy link
Contributor

I think this should be a feat - not a chore :)

@khamudom khamudom changed the title chore: add navigation menu component feat: add navigation menu component May 13, 2020
@eljefe223
Copy link
Contributor

I think we should add start and end slots for any supplemental content

@khamudom khamudom force-pushed the users/khamu/fast-frame-site-navigation branch from cde05a6 to b27d226 Compare May 13, 2020 18:02
@khamudom khamudom merged commit 6c6c8ff into feature/fast-frame May 13, 2020
@khamudom khamudom deleted the users/khamu/fast-frame-site-navigation branch May 13, 2020 18:28
chrisdholt pushed a commit that referenced this pull request May 13, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request May 15, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request May 18, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
radium-v pushed a commit that referenced this pull request May 18, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request May 18, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request Jun 4, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request Jun 11, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
chrisdholt pushed a commit that referenced this pull request Jun 16, 2020
* create initial files for navigation component

* add slotted for nav items

* use the prefix site for the components, addressed rtl, removed adding role attribute

* rebased. add start and end template, removed slotted directive and observable, add withBehavior to styles file
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.

7 participants