hashicorp / flight

Archived. The flight repo now lives in the design-system monorepo
https://github.com/hashicorp/design-system
11 stars 4 forks source link

Proposal: change folder structure/organization of the "app" for the Ember addon in Flight #217

Closed didoo closed 3 years ago

didoo commented 3 years ago

This is a proposal based on a general feeling that something is off in how we have organized and how we're using the /tests/dummy/app in the ember-flight-icons folder of the repository.

At the moment the "test/dummy" app is not dummy at all, and is not just for testing: it's the mini-website that we use to publish and document the Flight icons set. But now we use it also with Percy (#211). It's doing different things, with different goals.

My suggestion is to split responsibilities, and in doing so even improve our testing (expecially the visual regression testing).

in this way for example I probably could have spotted earlier some issues like #200.

Again, this is a proposal and we can discuss it and potentially postpone it for the post Flight 1.0 release, but please have a thought about it.

MelSumner commented 3 years ago

I agree with you that in the context of the whole design system it doesn't make sense to leave it there.

amyrlam commented 3 years ago

We've sorted the test portion here https://github.com/hashicorp/flight/issues/231 ... it seems very lightweight and no need to spin up a separate app just for that? Happy to iterate on testing as well.

As for the mini-website, eventually icons will need to be embedded in the whole design system. It isn't clear to me if we're moving forward with Storybook or other, but seems like could evaluate the icon website then?

didoo commented 3 years ago

OK, closing it for now.

@amyrlam re. the whole design system website, no decision has been taken yet. This will be a complex decision, with a lot of things to consider, and will require a proper analysis, discussion and evaluation. So, will be done much later (for the "scrappy" version we want to deliver next month or so, very likely we'll use Storybook, but only for the reasons that most of the existing product-specific styleguides are in Storybook too; but we'll talk about it in the planning session next week)