sharkio-dev / sharkio

Sharkio is an API proxy for your development environments. It records all the requests that are sent to your API. It allows you to replay the requests easily. Generate types, documentation, test suites, And interact with your API using AI.
https://sharkio.dev/
MIT License
5 stars 1 forks source link

fix:UI break if url too long #351

Closed Manmit124 closed 10 months ago

Manmit124 commented 10 months ago

Description

Please provide a brief description of the changes made in this pull request. This pull request addresses the issue where the UI breaks when the URL is too long. To mitigate this, the URL in the SnifferNode component is now truncated to improve the overall UI layout.

Related Issues or Pull Requests

This pull request is related to issue #330

Proposed Changes

How to Test

To test the changes, follow these steps:

  1. Open a page with the SnifferNode component.
  2. Verify that the URL is properly truncated and doesn't break the UI.
  3. Test with URLs of varying lengths to ensure the layout remains consistent.

Additional Notes

Checklist

Please make sure you've done the following before submitting this pull request: