Replies: 5 comments 8 replies
-
I'm for it. Our design and technical language should be aligned as much as possible to avoid confusion With respect to navigation, I think any of these are acceptable, as long as they reflect the design language <rh-navigation-primary>
<rh-navigation-secondary>
OR
<rh-nav-primary>
<rh-nav-secondary>
OR
<rh-navigation>
<rh-navigation-secondary>
OR
<rh-nav>
<rh-nav-secondary> We use a similar convention in our design tokens, moving left-to-right from the general to the specific., so Regarding footer, we can always re-register they old tag name and log a deprecation warning in the constructor @customElement('rh-global-footer')
class RhGlobalFooter extends RhFooterUniversal {
constructor() {
super();
this.#logger.warn('rh-global-footer is deprecated. Use rh-footer-universal instead. https://red.ht/global-footer-deprec');
}
} |
Beta Was this translation helpful? Give feedback.
-
Oh I like that, didn't even occur to me to do that. |
Beta Was this translation helpful? Give feedback.
-
@bennypowers @zeroedin Was there a consensus reached about how names should change and where? |
Beta Was this translation helpful? Give feedback.
-
@zeroedin So there wouldn't be I wonder if |
Beta Was this translation helpful? Give feedback.
-
I’m okay with tertiary. I had just mentioned sometimes naming gets tough
when you create a new pattern with higher priority or if someone is unsure
if they can use a tertiary nav on its own.
On Tue, Jan 31, 2023 at 3:10 PM Benny Powers ***@***.***> wrote:
I prefer tertiary to sub, but I think @dcaryll
<https://github.com/dcaryll> has reasons not to go that way
—
Reply to this email directly, view it on GitHub
<#695 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJRDU4R3UKAHF6QZZF53K3WVFWTDANCNFSM6AAAAAATV3VFCU>
.
You are receiving this because you were mentioned.Message ID:
<RedHat-UX/red-hat-design-system/repo-discussions/695/comments/4833665@
github.com>
--
*Dan Caryll*
Senior Manager, UX Design and Development
Red Hat - NC
100 E Davie Street
***@***.***
M: 304-281-4098
<https://www.redhat.com/>
|
Beta Was this translation helpful? Give feedback.
-
Recently there was a conversation about formalizing the section names of the footer component:
site-specific-footer
anduniversal-footer
.This brought up a conversation that was had offhand about how we speak about
rh-navigation
andrh-secondary-nav
.In terms of https://ux.redhat.com these are named
navigation-primary
andnavigation-secondary
however the tag name forrh-secondary-nav
does not currently follow that standard.https://ux.redhat.com/components/navigation-primary/
https://ux.redhat.com/components/navigation-secondary/
This also has an effect on how we generate links for the components demo page which does not currently match the component name on
ux.
.https://ux.redhat.com/components/secondary-nav/demo/ -vs- https://ux.redhat.com/components/navigation-secondary/demo/
The proposal would be to rename the
rh-secondary-nav
component torh-navigation-secondary
, then as we move forward and rebuildrh-navigation
at some point these two would follow a similar naming convention.Also, I wonder should
rh-footer
also follow such a convention:rh-{{tag-name}}-{{tag-sub-component}}
So shouldrh-global-footer
actually berh-footer-global
? Or vice versa shouldrh-navigation-secondary
berh-secondary-navigation
to match the proposal from @heyMP in the screenshot above?/cc @markcaron @coreyvickery @alypilkons-RH @bennypowers @heyMP
Beta Was this translation helpful? Give feedback.
All reactions