- Open Chrome browser, paste in this url
chrome://extensions/
- Select "Load unpacked" and select this folder.
- Toggle button should be dragged to the right so extension is enabled (blue).
- Should see extension in toolbar, it will be the letter "F".
- Select it to see the search form.
- If you have new updates, on the extensions page, click the refresh icon to the left of the blue toggle button.
- Select the extension icon in the toolbar and fill out the search form.
- Select the "Search" button when ready.
- When the results are ready, you will be taken to a new tab where the flight results will stream in.
- Click on a row of flight information to select it.
- Once you make all selections for your itinerary, you will be taken to the corresponding provider site. Your selection will be outlined in red. You will need to select them on the provider site to finish booking your itinerary.
- npm ci
- mkdir local/packaging
- Run
npm run build:dev:chrome
. - Test in local browser
- Make changes.
- Run
npm run build:dev:chrome
. - Test in local browser
- Ensure versions match in webpack and manifest
- Ensure all commits are pushed, that you're in the main branch, etc.
- Run make_extension_folder_for_publishing.sh with the version number to be built
- Follow Add the extension to Google Chrome or Update the extension in Google Chrome.
- Run
npm install --save-dev react-devtools
- Add
"react-devtools": "react-devtools"
to package.json scripts - Add
http://localhost:8097/
to CSP in manifest.json (script-src) - Add to index.html:
<script src="http://localhost:8097"></script>
- Switch ReactDom import in index.js to use ReactDom/profiling
- Run
npm run react-devtools
- Load page
- Turn on profiling in react-devtools popup
- Profile away!
- Remove all this stuff...