Commit Graph

27 Commits

Author SHA1 Message Date
Oscar Hinton 3aa52a5537
Add eslint (#1369) 2022-02-24 20:50:19 +01:00
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Addison Beck 0b306ca1a7
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079)
* [refactor] Remove references to deprecated services

* [feature] Implement account switching

* [bug] Fix state handling for authentication dependent system menu items

* [bug] Enable the account switcher to fucntion properly when switching to a locked accounts

* [feature] Enable locking any account from the menu

* [bug] Ensure the avatar instance used in the account switcher updates on account change

* [style] Fix lint complaints

* [bug] Ensure the logout command callback can handle any user in state

* [style] Fix lint complaints

* rollup

* [style] Fix lint complaints

* [bug] Don't clean up state until everything else is done on logout

* [bug] Navigate to vault on a succesful account switch

* [bug] Init the state service on start

* [feature] Limit account switching to 5 account maximum

* [bug] Resolve app lock state with 5 logged out accounts

* [chore] Update account refrences to match recent jslib restructuring

* [bug] Add missing awaits

* [bug] Update app menu on logout

* [bug] Hide the switcher if there are no authed accounts

* [bug] Move authenticationStatus display information out of jslib

* [bug] Remove unused active style from scss

* [refactor] Rewrite the menu bar

* [style] Fix lint complaints

* [bug] Clean state of loggout out user after redirect

* [bug] Redirect on logout if not explicity provided a userId that isn't active

* [bug] Relocated several settings items to persistant storage

* [bug] Correct account switcher styles on all themes

* [chore] Include state migration service in services

* [bug] Swap to next account on logout

* [bug] Correct DI service

* [bug] fix loginGuard deps in services.module

* [chore] update jslib

* [bug] Remove badly merged scss

* [chore] update jslib

* [review] Code review cleanup

* [review] Code review cleanup

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 17:32:00 -05:00
Thomas Rittson 816249a48a
Use cdk-virtual-scroll for long cipher lists (#1001)
* Use cdk-virtual-scroll for cipher lists

* add trackBy, reorder dom

* Undo merge conflict error

* Fix layout, increase scrolling buffer

* fix linting

* Remove unused infinite-scroll directives for Send

* Add back refresh method

* Update jslib

* Fix itemSize and min/maxBufferPx directives

* Move refresh() into base class

* Use cipherListVirtualScroll strategy

* fix linting

* Update to use latest virtual-scroll strategy

* Update jslib
2021-08-11 13:00:04 +10:00
Oscar Hinton 296340a5be
Add jslib as a "real" dependency (#941)
* Add jslib as a "real" dependency

* Move more packages to jslib

* Remove some unesessary dev dependencies.

* Add back missing preinstall

* Revert jslib bump

* Fix jslib containing wrong types/node.

* Bump jslib

* Remove unessesary alias

* Remove dummy module
2021-06-07 19:26:36 +02:00
Kyle Spearrin f02debb03b page ciphers list for better performance 2019-03-19 11:34:56 -04:00
Kyle Spearrin a9067f5618 implement search service 2018-08-13 09:43:46 -04:00
Kyle Spearrin e27b2a7a53 convert to ngtools/webpack for aot compilation 2018-04-06 12:25:22 -04:00
Kyle Spearrin 0f2860c716 move groupings, ciphers, and search pipe to jslib 2018-04-05 11:11:32 -04:00
Kyle Spearrin 34b3890647 context menu options for cipher listing 2018-02-16 13:59:46 -05:00
Kyle Spearrin 3ee71a2b5b apply settings with state service. 2018-02-12 15:07:38 -05:00
Kyle Spearrin 58e39c0c81 lint fixes 2018-02-08 10:37:54 -05:00
Kyle Spearrin 1925f74cb5 loaded so that we dont see a flash of no items 2018-01-31 21:59:39 -05:00
Kyle Spearrin 59726ad818 refresh ciphers list on add/edit/delete 2018-01-31 17:20:27 -05:00
Kyle Spearrin 1995cee08d dynamic search placeholder text 2018-01-29 21:54:39 -05:00
Kyle Spearrin 6fbe640d15 search ciphers and cleanup ciphers header 2018-01-29 21:41:00 -05:00
Kyle Spearrin 7d2d4eafcb highlight active cipher and default folder for add 2018-01-29 17:57:58 -05:00
Kyle Spearrin b0e78be1f6 filter state in query params 2018-01-26 23:56:43 -05:00
Kyle Spearrin 375f2a1e02 group filtering 2018-01-26 23:32:03 -05:00
Kyle Spearrin 450ada64cb delete item 2018-01-26 15:44:02 -05:00
Kyle Spearrin eee5f6ff32 combine edit into add/edit component 2018-01-26 14:56:54 -05:00
Kyle Spearrin 18a45886d1 add/edit components setup 2018-01-24 17:41:57 -05:00
Kyle Spearrin 7e89a9ba3d add cipher view types 2018-01-24 12:20:01 -05:00
Kyle Spearrin f2923d9c81 lint fixes 2018-01-24 09:26:59 -05:00
Kyle Spearrin b16ae24d58 load item view cipher 2018-01-24 00:06:05 -05:00
Kyle Spearrin 5703782a0f directives 2018-01-23 23:38:56 -05:00
Kyle Spearrin d3fdaed4c2 split vault into components 2018-01-23 22:21:14 -05:00