Skip to content

refactor: remove generation of types for translations [WPB-22420]#20568

Closed
markbrockhoff wants to merge 1 commit intodevfrom
mb/remove-i18n-types-generation
Closed

refactor: remove generation of types for translations [WPB-22420]#20568
markbrockhoff wants to merge 1 commit intodevfrom
mb/remove-i18n-types-generation

Conversation

@markbrockhoff
Copy link
Collaborator

@markbrockhoff markbrockhoff commented Mar 4, 2026

TaskWPB-22420 [Web] General maintenance ticket for PR merges

Pull Request

Summary

Generating the types out of a json file is redundant since resolveJsonModule is available in typescript and enabled for this repository. Type checking continues to work as safely as before with no need for generating the types or checking whether they were modified or not in CI.


Security Checklist (required)

  • External inputs are validated & sanitized on client and/or server where applicable.
  • API responses are validated; unexpected shapes are handled safely (fallbacks or errors).
  • No unsafe HTML is rendered; if unavoidable, sanitization is applied and documented where it happens.
  • Injection risks (XSS/SQL/command) are prevented via safe APIs and/or escaping.

Accessibility (required)

Standards Acknowledgement (required)

@markbrockhoff markbrockhoff changed the title refactor: remove generation of types for translations refactor: remove generation of types for translations [WPB-22420] Mar 4, 2026
Generating the types out of a json file is redundant since resolveJsonModule is available in typescript and enabled for this repository. Type checking continues to work as safely as before with no need for generating the types or checking whether they were modified or not in CI.
@markbrockhoff markbrockhoff force-pushed the mb/remove-i18n-types-generation branch from 62976ef to 5da1775 Compare March 4, 2026 13:59
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

🔗 Download Full Report Artifact

🧪 Playwright Test Summary

  • Passed: 10
  • Failed: 0
  • Skipped: 3
  • 🔁 Flaky: 1
  • 📊 Total: 14
  • Total Runtime: 85.0s (~ 1 min 25 sec)
specs/CriticalFlow/accountManagement-TC-8639.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ Account Management (tags: TC-8639, crit-flow-web)

@markbrockhoff markbrockhoff deleted the mb/remove-i18n-types-generation branch March 4, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants