mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
42128d41f0
* Register alarms and listen to them * Wire up alarms and actions Register actions(commands) which can be executed by an alarm Create methods in alarm-state to persists actions and execution times Flesh out AlarmListener to iterate over registered commands and check if they need to execute Simplify clearClipboard action as it only handles the action instead of also worrying if it should fire. Enable previously disabled clear-clipboard tests (#3532) Adjust clear-clipboard tests to new simpler execution Co-authored-by: Matt Gibson <mgibson@bitwarden.com> * Make linter happy * Revert accidentally commited with merging master * Add jsdoc per PR comment * Fixed types to simplify adding new alarm actions Create a new alarm action (i.e `clear-clipboard.ts`) Export a name for the alarm action (`clearClipboardAlarmName`) `alarm-state.ts` Import alarm action name Extend `alarmKeys` and `alarmState` `on-alarm-listener` Import alarm action method and alarm action name Add it to the switch case * Add comment to clearClipboard action Add comment to replace clearClipboard impl once clipboardApi's are accessible by service-workers https://bugs.chromium.org/p/chromium/issues/detail?id=1160302 Co-authored-by: Matt Gibson <mgibson@bitwarden.com> |
||
---|---|---|
.. | ||
.vscode | ||
config | ||
src | ||
store | ||
.gitignore | ||
crowdin.yml | ||
gulpfile.js | ||
jest.config.js | ||
package.json | ||
README.md | ||
test.setup.ts | ||
tsconfig.json | ||
tsconfig.spec.json | ||
webpack.config.js |
Bitwarden Browser Extension
The Bitwarden browser extension is written using the Web Extension API and Angular.
Documentation
Please refer to the Browser section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.