Skip to content

Commit

Permalink
Merge pull request #493 from buttercup/feat/login_save_prompt_improve…
Browse files Browse the repository at this point in the history
…ment

Login save prompt improvement
  • Loading branch information
perry-mitchell authored Apr 7, 2024
2 parents 7e6ec12 + 4c5c3f3 commit 94b25e5
Show file tree
Hide file tree
Showing 49 changed files with 518 additions and 107 deletions.
229 changes: 229 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dev": "npm run clean && npm run set-version && webpack --mode development -w --progress --config webpack.config.js",
"dev:chrome": "BROWSER=chrome npm run dev",
"dev:edge": "BROWSER=edge npm run dev",
"dev:firefox": "concurrently -k \"BROWSER=firefox npm run dev\" \"cd dist && web-ext run\" --restart-tries 20 --restart-after 5000",
"dev:firefox": "concurrently -k \"BROWSER=firefox npm run dev\" \"cd dist && web-ext run\" --restart-tries 20 --restart-after 5000 --devtools --keep-profile-changes",
"format": "prettier --write '{{source,test}/**/*.{ts,js},webpack.config.js}'",
"release": "run-s clean release:chrome release:firefox release:edge",
"release:chrome": "npm run build:chrome && mkdirp release/chrome && zip -r release/chrome/extension.zip ./dist",
Expand Down Expand Up @@ -91,6 +91,7 @@
"obstate": "^0.1.4",
"on-navigate": "^0.1.1",
"otpauth": "^9.1.5",
"parse-domain": "^8.0.2",
"prettier": "^3.1.0",
"pug-plugin": "^5.0.2",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion source/background/services/autoLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function getAutoLoginForTab(tabID: number): SearchResult | null {
const register = getRegister();
const key = `tab-${tabID}`;
if (register.has(key)) {
const item = register.get(key).entry;
const item = (register.get(key) as RegisteredItem).entry;
register.delete(key);
return item;
}
Expand Down
Loading

0 comments on commit 94b25e5

Please sign in to comment.