mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-23 15:29:29 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Collapsed groupings have regressed to not maintaining their state through restarting clients. The state mangement refactor erroniously began saving this field to memory instead of disk, but there were some other issues that changing this brought on that are also fixed in this commit. Changes: 1. Save collapsedGroupings persistantly in StateService 2. Adjust the type of collapsedGroupings on the Account model from a Set<string> to a string[] * This is the way we were storing this value in previous releases, and saving the entire set object breaks. 3. Adjust the StateService getter/setter for collapsedGroupings to expect a string[] 4. Extract a string[] from the GroupingsComponent groupings that is a Set<string> before saving |
||
---|---|---|
.github | ||
.husky | ||
.vscode | ||
angular | ||
common | ||
electron | ||
node | ||
shared | ||
spec | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md | ||
SECURITY.md | ||
tsconfig.json | ||
tslint.json |
Bitwarden JavaScript Library
Common code referenced across Bitwarden JavaScript projects.
Requirements
- Node.js v16.13.1 or greater
- NPM v8
- Git
- node-gyp
Windows
- Microsoft Build Tools 2015 in Visual Studio Installer
- Windows 10 SDK 17134 either by downloading it seperately or through the Visual Studio Installer.
Prettier
We recently migrated to using Prettier as code formatter. All previous branches will need to updated to avoid large merge conflicts using the following steps:
- Check out your local Branch
- Run
git merge 8b2dfc6cdcb8ff5b604364c2ea6d343473aee7cd
- Resolve any merge conflicts, commit.
- Run
npm run prettier
- Commit
- Run
git merge -Xours 193434461dbd9c48fe5dcbad95693470aec422ac
- Push
Git blame
We also recommend that you configure git to ignore the prettier revision using:
git config blame.ignoreRevsFile .git-blame-ignore-revs