platform icon indicating copy to clipboard operation
platform copied to clipboard

Convenience APIs in Flow for defining icon collections

Open rolfsmeds opened this issue 2 years ago • 0 comments
trafficstars

Description

Convenience APIs in Flow for defining custom icon collections based on one of the supported formats:

Use cases

As a developer I want to define a custom icon collection in Flow So that I can easily create instances of icons in the collection without a lot of boilerplate or repetition

Acceptance criteria

API scaffolding (e.g. in the form of Java interfaces) for defining custom icon collections with...

  • [ ] Enums (or similar) for mapping application-specific icon names to the actual names of icons used in the font, sprite or iconset
  • [ ] API for creating icon instances similar to the one for VaadinIcons: IconCollection.ICON_NAME.create()
  • [ ] API for defining a default sizing and padding for the icons

General criteria

  • [ ] APIs reviewed
  • [ ] UX/DX tests in Alpha
  • [ ] Documentation: to be added to existing Icons page
  • [ ] How to test?
  • [ ] Limitations:

Security

  • [ ] Security implications have been taken into account (elaborate or link to product security requirement specification if there are implications)

rolfsmeds avatar Aug 11 '23 10:08 rolfsmeds