Closed gushanson closed 4 years ago
I broke out the "truncation" part of this into its own Enterprise issue (infor-design/enterprise#4091). I made an attempt at working this feature into the PR that adds the Enterprise-side Breadcrumb API (infor-design/enterprise#4092), but I think we really need to flesh out the design of this more -- some of the details regarding exactly what to do with extraneous breadcrumbs are not very straightforward.
QA Passed with observation v4.30.0rc0 https://4300-rc0-enterprise.demo.design.infor.com/components/breadcrumb/example-add-remove.html Observation
ID
and Content
will make 2 items Active
Steps
ID
= test, set Content
= test, leave Currently Active
unchecked)Auto-generate IDs
, check Auto-generate Content
, leave Currently Active
unchecked)ID
= test, set Content
= test, leave Currently Active
unchecked)test
then click Make Current
buttonhttps://4300-rc0-enterprise.demo.design.infor.com/components/breadcrumb/example-from-settings.html https://4300-rc0-enterprise.demo.design.infor.com/components/breadcrumb/example-destroy-invoke.html https://4300-rc0-enterprise.demo.design.infor.com/components/breadcrumb/example-index.html https://4300-rc0-enterprise.demo.design.infor.com/patterns/navigation-breadcrumbs.html https://4300-rc0-enterprise.demo.design.infor.com/patterns/navigation-breadcrumbs-alternate.html
@jbrcna thanks for checking on that. In a normal implementation it wouldn't be possible to set multiple of the same ID, but our testbed page here does allow it. Something we could fix but not necessarily a deal breaker.
Re-opening this because the NG side is currently in the works in a separate PR.
This issue is now resolved.
Is your feature request related to a problem? Please describe. The breadcrumb UI pattern is widely used and effectively gives the user an overview of where she is in a given navigation path. It also provides a simple way to navigate to previous states or pages. Today there are css classes in IDS that can be used to create breadcrumbs, but there is no component with clear examples and the current breadcrumb implementation is lacking two important features.
Describe the solution you'd like An extension of what exists in \src\app\datagrid\datagrid-toolbar.demo.ts
<soho-breadcrumbs>
Describe alternatives you've considered Today we are using the existing classes to build breadcrumbs, like the example in \src\app\datagrid\datagrid-toolbar.demo.html
This implementation lacks what is stated above so each developer must create their own solution (including how breadcrumbs are being selected). Also the lack of an actual component makes it less probable that developers use the IDS solution, making the look inconsistent between apps.