Esri / calcite-app-components

A collection of calcite components for building single page applications
https://esri.github.io/calcite-app-components/
Other
39 stars 10 forks source link

Tip Component - Stencil.js #7

Closed driskull closed 5 years ago

driskull commented 5 years ago

Description

A dismissible window that displays information for an end-user.

User Stories

Jake

Jake is a developer who uses Calcite-components to build apps.

  1. As a developer using the Calcite-tip component, I'd like the ability to control when a tip is hidden or shown programatically so I can utilize my own business logic to determine when a tip is appropriate to show or hide.
  2. As a developer using the Calcite-tip component, I'd like the ability to set the tip as hidden at authoring time so I can satisfy my business reason to delay showing the tip and so the tip does not flash for a moment on page load.

    Tom

    Tom is an end user who is using an App that Jake built.

  3. As a user who has finished reading the Tip, I'd like to be able to dismiss it so that it no longer takes up space on my screen.
  4. As a user who has dismissed a Tip, I'd like the tip to stay hidden if I refresh the page so I don't have to dismiss it every time the page refreshes.

Requirements

driskull commented 5 years ago

@pr3tori4n you want to take this one?

driskull commented 5 years ago

https://devtopia.esri.com/WebGIS/ui-components-js/blob/master/src/Tip/index.tsx https://devtopia.esri.com/WebGIS/ui-components-js/blob/master/src/TipManager/index.tsx

image

tipmanager

pr3tori4n commented 5 years ago

@driskull sure. Is there any more information on what the requirements are?

driskull commented 5 years ago

Yes, see the following:

https://devtopia.esri.com/WebGIS/ui-components-js/issues/4 https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/16173

pr3tori4n commented 5 years ago

PR opened for the Tip: #33

pr3tori4n commented 5 years ago

Splitting off the work for TipManager into a new issue #34. Going forward we'll use this issue just to track the Tip Component.