mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8c1b9bc34da43640b8413225e8e41805adcf85a1
The test was incorrectly flagging inner classes that follow our naming convention (e.g. "s_floating_blocks_wrapper" for "s_floating_blocks" snippet). This made maintaining the whitelist tedious and error prone. The change enables proper enforcement of our conventions while simplifying whitelist maintenance: a snippet subclass starting with "s_" should be prefixed by the main snippet class name (e.g. "s_super_snippet_item" might be added on an inner element of "s_super_snippet"). The test just checks any element class is prefixed by any class of any parent (or itself) (for "s_" classes). Related to task-4373543 closes odoo/design-themes#1054 Related: odoo/odoo#189299 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Description
No description provided
Languages
SCSS
49.6%
Python
25.4%
JavaScript
24.4%
Rich Text Format
0.5%