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

Add custom names for the requests #136

Closed
miguelms95 opened this issue Apr 21, 2022 · 3 comments
Closed

Add custom names for the requests #136

miguelms95 opened this issue Apr 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@miguelms95
Copy link

Hi, first of all thanks for the development of the extension, it's awesome!

It would be great to have an option to add a name/tag to the requests and display in the table, because in some requests with a long url (with encrypted params, etc...) the last part of the url is hidden.

Maybe a new column:

  • Type
  • Method
  • Tag <- this one empty by default, with option to write an string
  • Url
  • Response
  • Actions

Sample: in this case we cannot differentiate the requests (same starting string, but endpoint difference is after the encoded string), and with the column would be easier to identify each one.
image (2)

@scaljeri
Copy link
Owner

Hi Miguel, yes this is indeed an issue. I was thinking about doing the ellipsis in the middle, so you will always see the beginning and the end. I guess that this will solve your issue, right?

But there is already one way you can handle this, you can use the name field for this:

image

If you provide this field, it will show up in the list:

image

Will this help in your case?

@scaljeri scaljeri added the enhancement New feature or request label Apr 21, 2022
@miguelms95
Copy link
Author

Hi @scaljeri, thanks for the quick reply! The ellipsis in the middle would solve my issue.

The label helps in my case, that was actually what I was looking for, thanks!

@scaljeri
Copy link
Owner

nice, good luck and I'll try to add the ellipsis in the next release!

scaljeri added a commit that referenced this issue Jun 7, 2022
* feat: inject javascript by file

* fix :test setup

* fix: experimenting

* fix: mock xhr responses

* fix: patch xhr the new way

* fix: binary parsing

* fix: image in popup

* fix: cleanup

* fix: xhr complete

* fix: xhr complete

* fix: handle early responses (WIP)

* fix: fetch serving and persisting responses

* fix: mock and cache responses

* fix: duplicate storage of XHR response

* fix: testing early load injected script

* fix: inject early response script (without CSP fix)

* fix: double patching

* fix: early fetch

* fix: xhr persist new response

* fix: working paatching and mocking

* fix: response double saved

* fix: prepare external api by messaging

* feat: first steps for a public api (insert)

* feat: handle external data injection

* fix: crx creation

* feat(API):  create UPSERT endpoint #128

* fix: hash script

* feat: context param for upsert #128

* fix: store json not as string

* fix: linting

* feat: add mock to data send to the local server

* fix(API): refactor api settings type #128

* fix: early requests

* fix: cleanup

* fix: missing stats folder

* feat: setup cypress

* fix: filter search input issue

* fix: increase buffer size websockets

* fix: linting errors

* fix: show inactive label if inactive

* feat: deactivate all option

* fix: slow responses

* fix: linting

* chore: added a basic test

* fix: make sdk file path optional

* fix: catch error in background handlers

* fix: try catch in bg + styling logging

* fix: small bugs

* fix: new mock data

* fix: add responseTYpe to demo page

* feat: improved demo site

* fix: website

* fix: urls

* fix: urls

* fix: typo

* fix: to uppercase method name

* fix: set deps for yarn

* fix: Xhr patch not sending ArrayBuffer

* fix: handle Extension context invalidated error

* fix(lib): interface alignment

* fix: ci

* fix: setup cypress

* fix: patching, no more unpatching, just on-and-off by state

* feat: added dropdown status code input field

* feat: buy me a coffee

* fix: app-toggle btn position in header

* fix: tests

* fix: new buy me a coffee image

* fix: test new image

* fix: test image

* fix: Only listen for CSP issue when active #134

* fix(bg): Also clear the ReportOnly CSP header #134

* feat: improve hover buy-me-a-coffee btn

* fix(content): Stop CSP listener after injected is executed #134

* chore: v3.3.10

* fix: new state not added to the store during import

* fix(popup): Ellipse url in the middle in data-list view #136

* feat: deep search

* fix: data-list row highlighting

* fix: cleanup

* feat: smart deep search

* fix: disable search spinner for now

* fix: improve load performance

* feat: advanced filtering

* fix: show results if no filter

* fix: wait for reset

* chore: created changelog

* fix: filter issues

* fix: timing issues with filtering

* fix: filter updates

* fix: filter bugs

* fix: setup sandboxing eval

* fix: change CSP removal ( content <-> bg)

* fix: handle popu unreachable

* fix: implemented ping-pong in order to be able to determine a connection problem

* fix: immidiate deactivation of ohmymock by content script

* fix: filter issues on domain switch

* fix: cleanup manifest permissions

* fix: flikkering request list on state update (request hits)

* fix: tabId for e2e testing

* e2e: add fixtures

* fix: unit tests

* fix: cleanup

* fix: linting

* fix: missing status code fetch

* fix: XHR readystates

* fix: external updates not shown with filtering

* chore: release v3.3.14

* fix: dates

* fix: Improved on-off toggle

* fix: e2e tests

* fix: disable unit tests, added e2e tests

* fix: add build to cicd

* fix: try to enable display for e2e

* fix: e2e with trace

* fix: disable webserver

* fix: tests

* fix: package issue with lib

* fix: test

* fix: test

* fix: macos image

* fix tes with windows

* fix: add libs to ubunti

* fix: use ubuntu

* fix: sudo

* hmmm

* fix: disolay

* fix: uses playwright

* fix: basic test without extension

* fix: headless

* test 123

* fix: add chrome

* test

* fix: container

* fix it

* help

* fix: revert

* fix: headless

* xyz

* qwerty

* fix: maxos11

* aaa

* last one

* fix: install only chrome

* test it again

* fix: added test

* fix: trace on

* restructure

* fix: rewrite yml

* allow only

* fix: add wait

* await wait(2000);

* hmmm

* fix: test

* fix: logging

* fixc asdf

* bla

* asd

* other test

* asd

* qqq

* i

* fix: reset

* fix:pwd

* asd

* list

* build

* xx

* fiix: yml

* refactor

* fix oit

* fix: basic setup

* test pixeldiff

* test

* fix it

* fix: add ratio

* fix: asd

* fix: image threshold set

* fix: added debug e2e

* fix:cleanup

* fix: first e2e test ohMyMock

* fix: pixel ratio

* fix: install chromium

* qwe

* fix: screenshots

* fix: yml

* test

* asd

* mm

* fix: screenshots

* fix: make viewport smaller

* fix: test

* tests

* bla

* fix ad

* fix: it

* wtf

* werwerwer

* multi screenshots

* other image test

* double screenshot test

* make all async

* fix: cleanup

* test

* asd

* r

* fix: use full page

* full page again

* many screenshot tests

* full page again

* long timeout

* asd

* cas

* cleanup

* cleanup

* title

* fix: restructure tests

* fix: run all tests

* fix: commit all
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