mitmproxy/web
Matteo Luppi 9740477e8b
Feature/local applications selector (#7141)
* add refresh icon

* first draft drop down

* create logic to store and display current applications + fix old tests

* [autofix.ci] apply automated fixes

* filter applications based on the input

* add classname prop to popover

* add icon classname to popover

* change design local dropdown and applications list

* adjust focus popover and dropdown

* fetch all current processes

* [autofix.ci] apply automated fixes

* add icon while fetching

* adjust icon rendering

* remove icon from interface

* add possibility to remove application

* remove checkmarks popover

* fix icon application

* [autofix.ci] apply automated fixes

* move popover to the bottom

* fix clasname test

* loading lazy img

* move processes to a redux state

* change naming variables

* [autofix.ci] apply automated fixes

* leftover

* adjust naming style

* update snapshot

* move the current processes in a dedicated redux state

* not use display_name anymore for spec

* [autofix.ci] apply automated fixes

* add comments

* add tests local dropdown

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-09 13:38:35 +02:00
..
gen Feature/socks and transparent modes (#7100) 2024-08-15 11:18:23 +02:00
src Feature/local applications selector (#7141) 2024-09-09 13:38:35 +02:00
.editorconfig
.prettierignore
eslint.config.mjs Adopt ESLint (#7008) 2024-07-09 11:06:05 +02:00
gulpfile.js Update Web Dependencies (#7011) 2024-07-13 01:20:15 +02:00
jest.config.js
package-lock.json Update Web Dependencies (#7011) 2024-07-13 01:20:15 +02:00
package.json Update Web Dependencies (#7011) 2024-07-13 01:20:15 +02:00
README.md
tsconfig.json web: Upgrade Redux (#6926) 2024-06-14 00:27:33 +02:00

Quick Start

  • Install mitmproxy as described in ../CONTRIBUTING.md
  • Run node --version to make sure that you have at least Node.js 18 or above. If you are on Ubuntu <= 22.04, you need to upgrade.
  • Run cd mitmproxy/web to change to the directory with package.json
  • Run npm install to install dependencies
  • Run npm start to start live-compilation
  • Run mitmweb after activating your Python virtualenv (see ../CONTRIBUTING.md).

Testing

  • Run npm test to run the test suite.

Code formatting

Architecture

There are two components:

Contributing

We very much appreciate any (small) improvements to mitmweb. Please do not include the compiled assets in mitmproxy/tools/web/static in your pull request. Refreshing them on every commit would massively increase repository size. We will update these files before every release.

Developer Tools