Skip to content

Write validation: toast_result in the webapp, drop the webapp read filter check - #291

Merged
mschwoer merged 2 commits into
refactor_validation_IIIfrom
refactor_validation_IV
Nov 19, 2026
Merged

mschwoer merged 2 commits into
refactor_validation_IIIfrom
refactor_validation_IV

Conversation

@mschwoer

Copy link
Copy Markdown
Contributor

Stacked on #290.

  • toast_result(success_msg) replaces 13 try/except/show_error_toast blocks and wraps the one unguarded write
  • _validate_input is deleted: it only checked the first character, and the backend matches the values literally

The tests of toast_result (webapp/tests/service/test_utils.py) are in the PR of refactor_validation_VI.

🤖 Generated with Claude Code

@claude

claude Bot commented Nov 12, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mschwoer
mschwoer force-pushed the refactor_validation_IV branch from a900e59 to d5abd38 Compare November 12, 2026 20:57
@mschwoer
mschwoer force-pushed the refactor_validation_III branch from 8549660 to b5b6818 Compare November 12, 2026 20:57
@claude

claude Bot commented Nov 12, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mschwoer
mschwoer merged commit e097841 into refactor_validation_III Nov 19, 2026
8 checks passed
@mschwoer
mschwoer deleted the refactor_validation_IV branch November 19, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant