center-for-threat-informed-defense / attack-powered-suit

ATT&CK Powered Suit is a browser extension that puts the complete MITRE ATT&CK® knowledge base at your fingertips with text search, context menus, and ATT&CK Navigator integration.
https://ctid.io/attack-powered-suit
Apache License 2.0
73 stars 12 forks source link

Persist the color/score toggle in the bookmarks panel (fixes #36) #37

Closed mehaase closed 1 year ago

mehaase commented 1 year ago

When the user toggles between color or score, save that setting to the persistent storage.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 80.00% and project coverage change: +0.16 :tada:

Comparison is base (badd255) 63.25% compared to head (8a0757b) 63.41%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## ========================================== + Coverage 63.25% 63.41% +0.16% ========================================== Files 19 19 Lines 732 738 +6 Branches 108 107 -1 ========================================== + Hits 463 468 +5 - Misses 269 270 +1 ``` | [Impacted Files](https://codecov.io/gh/center-for-threat-informed-defense/attack-powered-suit/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense) | Coverage Δ | | |---|---|---| | [src/BookmarksPanel.svelte](https://codecov.io/gh/center-for-threat-informed-defense/attack-powered-suit/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-c3JjL0Jvb2ttYXJrc1BhbmVsLnN2ZWx0ZQ==) | `57.14% <60.00%> (+1.17%)` | :arrow_up: | | [src/SearchForm.svelte](https://codecov.io/gh/center-for-threat-informed-defense/attack-powered-suit/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-c3JjL1NlYXJjaEZvcm0uc3ZlbHRl) | `97.00% <100.00%> (ø)` | | | [src/bookmarks.js](https://codecov.io/gh/center-for-threat-informed-defense/attack-powered-suit/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-c3JjL2Jvb2ttYXJrcy5qcw==) | `91.66% <100.00%> (-5.90%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.