Skip to content

Conversation

@aviralgarg05
Copy link
Contributor

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
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.

Migrate to in-app logging console

1 participant