Skip to content
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

Feature: HTML Content Viewer Tab for Response Pane #478

Closed
chetanr25 opened this issue Oct 11, 2024 · 2 comments
Closed

Feature: HTML Content Viewer Tab for Response Pane #478

chetanr25 opened this issue Oct 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@chetanr25
Copy link

Feature: HTML Content Viewer Tab for Response Pane

Description

Currently, the response pane does not support viewing HTML content in a formatted way. A dedicated tab for rendering and previewing HTML responses would improve the user experience, especially when handling API responses that return HTML or sometimes error statuscodes with descriptions.

Why It's Needed

  • Improved Usability: For API responses containing HTML, it can be difficult to read the raw response. A formatted HTML viewer helps users understand and debug HTML content more effectively.
  • Consistent Experience: Users who expect to view structured content (like JSON or headers) should have the same level of readability for HTML.

Solution Implemented

  • Added an HTML Preview Tab to the response pane, allowing users to view HTML responses in a formatted, rendered manner.
  • Utilized the flutter_html package to render HTML content in a new tab.
  • Added the tab next to "Response Body" and "Headers" for seamless navigation.

Screenshots

Below are screenshots showing the new HTML Preview tab:

@chetanr25 chetanr25 added the enhancement New feature or request label Oct 11, 2024
@chetanr25
Copy link
Author

Would love to hear any suggestions for improving this feature! Could I work on this issue if it aligns with the project’s direction?

@ashitaprasad
Copy link
Member

Duplicate of #155
Please discuss on that thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants