Replies: 6 comments 7 replies
-
def. app level. we should remove all this stuff from ui components |
Beta Was this translation helpful? Give feedback.
-
@brianferry Here is our answer. |
Beta Was this translation helpful? Give feedback.
-
For normal design systems I would say app level. If we're thinking site-system then I would say it should be either a sane default that could be easily opted out of OR a progressive enhancement that can be added.
OR
The case for taking on this app level concern in our component is that sites have varying levels of developer resources. By not including history in our components we would just have to be ok with components that have inconsistent behavior across Red Hat. |
Beta Was this translation helpful? Give feedback.
-
Summary of consensus from 25-10-2022:
Why?
While at the same time manifesting the desire to provide maximum support without compromising those above values. |
Beta Was this translation helpful? Give feedback.
-
I believe there is a need for a discussion about if we make History API for components an app-level concern or if the components themselves control it.
I believe making it an app-level concern would be ok so as long as the API for the component is capable of facilitating the needs of the page.
If it is a component-level concern how should we approach that in a standardized way across all components?
For
rh-tabs
a super simplified example could be:Beta Was this translation helpful? Give feedback.
All reactions