Print a warning if the site is not using either Claro or Gin

Created on 17 March 2023, about 2 years ago

Problem/Motivation

If the front end theme is also used as the admin theme, the pages for bpmn_io are just not usable. The danger is that users will be turned away from ECA too quickly without knowing it.

Proposed resolution

Print a warning and explain how the situation could be improved.

πŸ“Œ Task
Status

Active

Version

1.1

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jurgenhaas
  • Assigned to jurgenhaas
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    I'm working on a minimalist theme that works as an admin theme. It's a bit of a hobby project, but I would like the ability to disable the notice, if added.

    More preferable, I'd like an easy way to implement a working display in my theme. I currently have a few hacks in place so I can use it, but it's still buggy.

    I'm not sure if it's possible to code a compatible widget without considering the theme it will be rendered in, but I'm thinking along the lines of an SDC with self contained styles via css scoping.

    Just thinking out loud, not to hold up progress on this issue.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    The warning message is now implemented.

    @mortona2k thanks for your suggestion. I've therefore also implemented an alter hook so that you can add your theme name to the list of supported themes, which will then prevent that warning from being displayed. Of course, any support requests or bug reports related to non-officially supported themes will be diverted to maintainers of such themes ;-)

Production build 0.71.5 2024