Open dahaca opened 8 months ago
We will keep it mobile only for now, it works very well for us now and I don't see point in migrating right now. It may change in future, but for now it's just easier for us to keep things as they are.
I would suggest only moving it to suite-native
domain once you will complete migration to your new solution.
The problem
The design system is using Phosphor icons, however the web and desktop Suite is still using the old locally stored icons. Suite mobile is using Phosphor icons however they are storing them locally as well.
I believe the best solution for Suite moving forward is to transition to the official Phosphor React library, which also allows to add custom icons, which we have as well.
The solution
Proposed flow, feel free to come up with something else:
[ ] Add the library
Icon
component from the components package.Icon.web.tsx
for streamlined examples of usage, as it was supposed to be theIcon
component for web and desktop (with a similar interface as the mobile one) before I realized manually including icon files is clunky and unsustainable.[ ] Replace old icons
Icon
in thecomponents
package and other related filesIcon.web.tsx
should be removed, unless somehow re-purposed? It's used just in a couple places, but those should all use Phosphor too.[ ] Decide the future of the icons package