Commit Graph

6 Commits

Author SHA1 Message Date
Gorjan Petrovski
091842555f fix: use theme-modifiable colors (#658) 2021-09-29 18:08:43 +02:00
Aman Harwara
e72d737220 feat: Add Listed pane in preferences (#651)
* feat: Add Listed pane in preferences

* feat: Add list of blogs in Listed preferences

feat: Allow custom classnames in LinkButton

feat: Add mt-0 class

* fix: Don't show non-Listed Action Extensions

* fix: Use streamItems()

* fix: Re-render UI when item is deleted

* feat: Remove hardcoded margin-top for LinkButton

* fix: Fix ESLint exhaustive-deps error

* fix: Use useCallback hook

feat: Disconnect shows state "Disconnecting..." when deleting item

* fix: Remove unused imports

* fix: Simplify disconnect function

fix: Use key in the correct place

* feat: Add confirmation dialog when deleting a blog

feat: Show Blog/Blogs in the title depending on the
number of items

* style: Revert file to original formatting

* refactor: Use preact instead of react

refactor: Use FunctionalComponent type

* feat: Show alert when disconnecting errors out

fix: Set state to false even if errors

refactor: Use ternary operator for Getting
Started section

* feat: Load Listed blog actions asynchronously

* feat: Only fetch actions if not already available

* refactor: Use async/await for disconnecting

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-29 11:02:30 -05:00
Gorjan Petrovski
b312df41a6 feat(preferences): not logged in segment (#649)
* feat(preferences): not logged in segment

* Update app/assets/javascripts/preferences/panes/account/Authentication.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/preferences/panes/account/Authentication.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-27 18:01:12 +02:00
Gorjan Petrovski
1294b94117 feat: integrate two factor authentication (#626)
* feat: integrate SNJS MFA with web

* fix: create rudimentary typings file for qrcode.react

* chore: lint fixes

* fix: address PR feedback

* fix: address PR feedback

* fix: address PR feedback 2

* fix: replace spread props on TwoFactorAuthWrapper component

* chore: change null check to undefined check
2021-09-06 17:15:34 +02:00
Gorjan Petrovski
84bb17ba1d feat(preferences): 2FA activation dialog with mocked state (#605) 2021-07-27 11:32:07 +02:00
Gorjan Petrovski
d9c5fd5129 feat: two factor authentication segment in preferences with mocked state (#600) 2021-07-21 12:17:50 +02:00