The discussion revolves around whether Discourse offers a centralized UI testing environment similar to Storybook for developers to test interface changes. king_laurel asks about a playground to test components like buttons across various use cases, referencing a past PR that attempted a similar layout. Moin suggests the Styleguide plugin as a potential solution, noting it’s part of core but not always up to date. merefield proposes using a custom theme for testing. king_laurel confirms the Styleguide has known issues, such as missing components like btn-flat and outdated sections, and creates a post to document these bugs. Moin adds that the Styleguide is updated sporadically and welcomes PRs, referencing a designers’ webinar that discussed its limitations. The conversation highlights the need for a more robust, maintainable UI testing tool within Discourse.
Does discourse offer a boilerplate playground like storybook to test ui changes in one place? Currently, when I update a theme I am having to search across the platform for all use cases such as the new topic btn, create category btn, double btn, etc.
I would love to see all the btns, for example, in one place.
Do you know if the styleguide has known bugs? It appears that the btn-flat, for example, is missing from the styleguide despite having a header. Inspect also show’s that section as missing any elements.
I noticed some broken sections too, like the category badges, which were removed in core about 1 year ago. I also had problems with the topic map.
I think in the designers webinar they also talked about styleguide and that it is only updated when there is time, and pull requests are always welcome