-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: load generator file #44
Conversation
This reverts commit e82b4bb.
generatorFileData.allowlist.includes(request.request.host) | ||
) | ||
// TODO: is this really required to be set ? | ||
generatorState.setFilteredRequests(filteredRequests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not update the UI, so the allowedlist is not updated and no request is shown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be a problem with the latest main
generatorFileData.allowlist.includes(request.request.host) | ||
) | ||
// TODO: is this really required to be set ? | ||
generatorState.setFilteredRequests(filteredRequests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be a problem with the latest main
Set the state from the loaded generator file.
Then
har:open
event now accepts an optional file path to specify which file to open or show a dialog if no file is specified.