intershop-pwa
intershop-pwa copied to clipboard
feat: organization hierarchies functionality
The Organization Hierarchies (Company Structure) functionality for the Intershop PWA.
Some IAD remarks about the company switch in the header:
- [ ] Company switch can be removed from the sticky header. The sticky header displays important navigation links during product browsing, e.g. catalogs, search, my account. I think it it fine to select the department at the beginning in the header and then the user can start to purchase something. The switch is rather less needed in the middle of a page.
- [ ] We should define a maximum width for the switch (maybe 150px) and if the terms are longer, 3 dots are displayed.
- [ ] Why does the component look so different from the language switch? Couldn't this have been used as a template? Both the styling and the behavior would fit.
- [ ] Phone: Switch can be removed at the top of the header => it is enough if it is visible in the menu. Then there should be no problem with wrapping.
- [ ] Small desktop (768px and up): Maybe we have to remove the labels "Compare" and "For Private Customers" in the header and only show the icons. Otherwise it could get a bit cramped. This only affects the public demo server (where the link to switch to the B2C store is displayed).
Hi @skoch-intershop, the order history display is changed a little bit. Cdk tables are used where you can change the order of columns and turn them on and off as you like. If you merge it on this demo server as well, please add an extra column for the group instead of showing it below the order number so we can keep the new flexibility.
Here is the pull request for the cdk tables: https://github.com/intershop/intershop-pwa/pull/743
And the ticket with examples: https://github.com/intershop/intershop-pwa/issues/526
Waiting for a review, a rebase and an official release of the Organization Hierarchies for ICM.
sigh