Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
282 stars 76 forks source link

New Component: AccountTile (& TopNav) #1952

Closed arjanvanzutphen closed 1 year ago

arjanvanzutphen commented 3 years ago

Description

Please provide some components in the Calcite Components like TopNav (https://calcite-react.netlify.app/top-nav) and the AccountTile (https://calcite-react.netlify.app/account-tile).

Several UI Frameworks like Material UI, Fluent UI, etc. provide comparable components. In the transition from Calcite-React to Calcite components, these components that we use but are missing at the moment.

User Stories

As an user, I want to be able to see with which account I am signed in, to know (for example) if I have the necessary resources available.

Acceptance Criteria

The Account Tile should be supporting a user and portal parameter provided by the arcgis js rest package. An optional collapsible menu should be providing options for the user to sign out

Out of Scope

The TopBar might be a component that can easily be reproduced in React, but an existing component would be nice in the future

macandcheese commented 1 year ago

As part of the upcoming Navigation work, there will be an added sub-component that can be used to display "user area things" - name, organization, avatar / thumbnail. However at this time these components will not handle the authentication as in the referenced links. Closing as out of scope for now, feel free to reach out with any questions @arjanvanzutphen