Skip to content

Wishlist of common components to add to lookup  #27

@arouinfar

Description

@arouinfar

In reviewing #25 I realized that there are many common UI components which are missing from the components-by-sim and sim-by-components lists in binder. Currently, it looks like the only components included are the ones which have associated .md files in the style guide.

image

I took a look around sun and scenery-phet and I've come up with a preliminary wishlist.

  • sun/Carousel
  • sun/Dialog
  • sun/NumberSpinner
  • sun/VSlider
  • sun/HSlider
  • remove sun/Slider
  • scenery-phet/ArrowNode
  • scenery-phet/BicyclePumpNode
  • scenery-phet/BracketNode
  • scenery-phet/ConductivityTesterNode
  • scenery-phet/Drawer
  • scenery-phet/ElectronChargeNode
  • scenery-phet/EraserButton
  • scenery-phet/EyeDropperNode
  • scenery-phet/EyeToggleButton
  • scenery-phet/FaceNode
  • scenery-phet/FaucetNode
  • scenery-phet/FineCoarseSpinner
  • scenery-phet/GaugeNode
  • scenery-phet/HandleNode
  • scenery-phet/HeaterCoolerNode
  • scenery-phet/InfoButton
  • scenery-phet/LaserPointerNode
  • scenery-phet/LeftRightSpinner
  • scenery-phet/LightBulbNode
  • scenery-phet/LineArrowNode
  • scenery-phet/MeasuringTapeNode
  • scenery-phet/MoveToTrashButton
  • scenery-phet/NumberControl
  • scenery-phet/NumberKeypad
  • scenery-phet/NumberPicker
  • scenery-phet/ParametricSpringNode
  • scenery-phet/PlayPauseButton
  • scenery-phet/ProbeNode
  • scenery-phet/RecordStopButton
  • scenery-phet/RefreshButton
  • scenery-phet/ResetButton
  • scenery-phet/RewindButton
  • scenery-phet/RulerNode
  • scenery-phet/ScientificNotationNode
  • scenery-phet/SegmentedBarGraphNode
  • scenery-phet/SoundToggleButton
  • scenery-phet/SpectrumSlider
  • scenery-phet/StepButton
  • scenery-phet/ThermometerNode
  • scenery-phet/TimerNode
  • scenery-phet/UpDownSpinner
  • scenery-phet/ZoomButton

A few caveats:

  • We have SO MANY BUTTONS, and I don't think it would be useful to have an entry for every possible kind of button in sun. That said, buttons in scenery-phet tend to have specific purposes (e.g. PlayPauseButton) and I think it would be useful to be able to look up these sorts of buttons.
  • Inheritance is tricky, so there may be some redundancies in the list, though I've tried to avoid this as much as possible.
  • I'm very open to developer suggestions/pushback on this list, so please don't take it as the gospel @zepumph.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions