mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 09:05:54 +03:00
[GH-ISSUE #1408] Sorting request paths tree by hierarchy #1401
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1401
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @neonfink on GitHub (Oct 21, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1408
Description
Hi there! 🙂
Coming from being a long time Charles user and trying to convert myself to Proxyman, I find it a bit hard to get accustomed to how Proxyman sorts incoming requests in the tree view once you expand below the Domains level.
Proxyman seems to only allow Alphabetical sorting option for Domains and Apps but no sorting options for tree structure inside the domain name itself at the moment.
From my understanding, incoming requests tree is always sorted by the time of first request for each individual network path? At least I was not able to find any way to rearrange this in some way 🤔
Also, if your REST API path can represent an actual endpoint and have more nested endpoints inside, for example:
https://<my_host>/api/<path_1>https://<my_host>/api/<path_1>/<path_2>These are always grouped as one single

> path_1node, which could be a bit confusing with more complex APIs when you deal with a lot of requests. Attached a screenshot to hopefully explain better what I try to say 😅For comparison, Charles arranges the tree structure in a (subjectively) more intuitive way:
This feels a bit more natural, similar to "sort by kind" in Finder, when your folders would come on top, before individual files. Likewise for Windows navigation style, I think.

Why this feature/change is important?
Having more options to sort incoming traffic in a more structured way could really help and speed up inspecting the mobile app traffic during testing / debugging in more complex scenarios.
@NghiaTranUIT commented on GitHub (Oct 21, 2022):
Thanks for the detailed suggestion @neonfink. I love it 👍
The difference between the Charles Proxy and Proxyman is:
If Proxyman follows the same design as Charles Proxy (Left Panel), the left panel can be flooded with a large number of requests -> Hard to find a particular request -> It's also a problem why I'm trying to solve on Proxyman, to make it easier.
Do you think that if we support Alphabetical Sorting on the sub-tree, does it make easier to navigate around the request?
@neonfink commented on GitHub (Oct 21, 2022):
@NghiaTranUIT
Ah, no, I definitely did not mean populating the left panel with every occurrence of every endpoint like Charles does, don't like that either😅 Domain-tree model of Proxyman actually makes more sense to me!
Perhaps this got lost in all the details that I wrote down but to summarise - I tried to illustrate just the sorting itself, so simply splitting same level nodes like this could make it easier to navigate I think:
Hope that's less confusing than my initial post :) Would you say something like this makes sense / is feasible?
@NghiaTranUIT commented on GitHub (Oct 23, 2022):
Thanks for the explanation. I would consider this option and implement it soon 👍
@neonfink commented on GitHub (Oct 24, 2022):
Sounds splendid, thank you for considering it!