Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(logging): migrate request validation to in-app console #913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

@aviralgarg05
Copy link
Contributor

@aviralgarg05 aviralgarg05 commented Oct 23, 2025

PR Description

  • Add validation checks before sending requests
  • Log empty URL errors with 'empty-url' tag
  • Log GET requests with body as warnings with 'get-with-body' tag
  • Validate JSON payloads and log status with 'valid-json'/'invalid-json' tags
  • Log validation completion summary with 'completed' tag
  • All validation logs use category: 'validation' and TerminalSource.system

This migrates validation messages from transient UI notifications to the persistent in-app terminal console, improving user experience and debugging capabilities.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

foss42#587, foss42#178)
- Add validation checks before sending requests
- Log empty URL errors with 'empty-url' tag
- Log GET requests with body as warnings with 'get-with-body' tag
- Validate JSON payloads and log status with 'valid-json'/'invalid-json' tags
- Log validation completion summary with 'completed' tag
- All validation logs use category: 'validation' and TerminalSource.system
This migrates validation messages from transient UI notifications to the
persistent in-app terminal console, improving user experience and debugging
capabilities.
Fixes foss42#906
Fixes foss42#587
Fixes foss42#178 
Copy link
Member

Duplicate of #910

@animator animator marked this as a duplicate of #910 Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Migrate to in-app logging console

AltStyle によって変換されたページ (->オリジナル) /