Open samuelstroschein opened 10 months ago
I converted this issue from a draft because of https://github.com/opral/monorepo/discussions/2025. Having this web component message/pattern editor before pluralization seems to be a hard requirement to avoid only some apps to support pluralization/matching, or every app to build their own solution (wasted time).
@samuelstroschein Another requirement could be inline highlighting for rules. This could look similar to spelling correction in other editors with underlining, hovering to show warning, and resolving/autofixing if available.
Given opral/inlang-message-ui-components#18, the structure of the rendered component in the DOM seems to go along the lines of:
<inlang-message>
<-- patterns -->
<inlang-message-pattern></inlang-message-pattern>
<inlang-message-pattern></inlang-message-pattern>
<inlang-message-pattern></inlang-message-pattern>
<inlang-message-pattern></inlang-message-pattern>
<inlang-message-pattern></inlang-message-pattern>
</inlang-message>
Must have
Maybe
Out of scope