-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add ability to name gist #2184
Comments
make sense, I will add a text field to allow you to edit the name before publishing. The default is our naming. You can freely edit it Please note that the Gist name is strict, some characters are not allow, such as |
@darinkrauss let's try to use this beta build: https://download.proxyman.io/beta/Proxyman_5.10.0_allow_editing_Gist_name.dmg Please note that it's a prefixed name, because
|
@NghiaTranUIT Looking good! I see how you prefixed all of the file names with the user-entered name. I see all of the files added to the gist are, by default (without the user-entered name), prefixed with the request number. For example, "[1]". Therefore, would it be possible to do the following?
OTOH, playing around with the gist a bit, I now see how I can edit the gist and manually add an empty file using the above prefix scheme and it changes the title of the gist. It does bump the version of the gist, of course. The only thing it apparently cannot do is prefix with a space (as that appears to be stripped when I save the gist again). Thoughts? |
[1], [2] means the ID of the request. I only support prefixed names because if the user allows changing the name, it's impossible to know what request/response if we share a bunch of requests, for example, 10-20 requests. I tried and it's hard to determine what Request/Response is -> Bad UX If it's a prefix name, it's much easier to know what Request and Response is |
Sorry, I didn't explain myself clearly above. I think the names of the individual request and response files are fine as-is. My suggestion was to simply add a new file whose first ASCII character comes before '[' so it is chosen by GitHub to be the "title" file. (According to GitHub, the name of the gist is the name of the first file in asciibetical order.) Here is an example gist I hand-made, https://gist.github.com/darinkrauss/01930857ef39b873a7243806c756e0b9. |
Description
Please add the ability to name a gist. If Proxyman queries the user for a name before creating the gist, then Proxyman can add an empty file in the gist with the filename using the queried name plus a single space prefix (e.g. " My Title"). The resulting gist should use this for its title. Admittedly a bit of hack, but until GitHub adds a better option, this is what we have.
Why this feature/change is important?
A gist name of "/[1] Request: GET - my.server.com - \v1\test" isn't particularly useful for me. I'd like the name to be short description of the requests/responses captured so I can keep track of them and also share it publicly.
The text was updated successfully, but these errors were encountered: