Commit Graph

19 Commits

Author SHA1 Message Date
Aman Harwara
8e467f9e6d refactor: format and lint codebase (#971) 2022-04-13 22:02:34 +05:30
Aman Harwara
c5eb84d7e8 feat: add toast notifications using stylekit (#905) 2022-03-02 23:33:46 +05:30
Vardan Hakobyan
a342a3a224 feat: add "Email Backups" to "Backups" section (#778)
* feat: add "Email Backups" to "Backups" section

* chore: remove comment

* chore: better wording

* chore: put working snjs version

* chore: better wording

* style: reuse existing css classes and add the missing one

* feat: add "No email backup" option

* refactor: move the function outside of the useEffect, remove unused utility function

* feat (WIP): move CloudLink to backups section

* chore: versions bump, type fixes

* fix: handle the case when the setting update fails

* style: remove dashed border from the confirmation code, UI improvements

* feat: implement removing integration, improve interaction on different events

* feat: implement non-interactive textarea for showing and copying the code

* fix: fix TS errors

* feat: implement "Perform backup" logic
- remove the code for copying the confirmation code for backup integration
- also remove unnecessary parameters passed to Provider

* feat: don't show "CloudLink" in preferences pane

* chore: show error in console on exception

* refactor: better naming, add `coverage` folder to gitignore

* fix: return correct setting name

* refactor: use async/await for the sake of consistency

* chore: remove duplicate line

* feat: get urls for cloud backup from snjs

* chore: update dependencies

* refactor: set both `token` and `frequency` settings when enabling cloud integration; get only `frequency` when checking the integration status

* refactor: once the setting is successfully saved, don't get its value from backend; instead, use its value that's still in frontend

* feat: move "Receive a notification email if a cloud backup fails." into cloud backups section

* fix: text correction

* fix: get correct cloud integration url from snjs based on prod/dev environment
2022-01-12 18:48:46 +04:00
Vardan Hakobyan
bbc81ea276 feat: move extensions from prefs menu's left pane to General->Advanced section (#718) 2021-11-03 22:45:50 +04:00
Vardan Hakobyan
5b18fc7146 feat: add "sync" pane to preferences -> account tab (#621)
* feat: add "sync" pane to preferences -> account tab

* chore: configure eslint to add new line at the end of file and remove trailing spaces

* chore: add newline at the end of file
2021-08-26 22:57:27 +04:00
VardanHakobyan
abb0b6595e style: split AccountMenu to smaller components
- change link to button for "Advanced Options"
- show cursor as pointer on checkbox and its label
2021-06-11 15:01:56 +04:00
Antonella Sgarlatta
a1d636a578 styles: update ui file spacing relative to new base font size 2021-05-10 17:58:26 -03:00
Baptiste Grob
abfc588368 feat: multiple selected notes panel 2021-04-13 14:43:48 +02:00
Baptiste Grob
ed69680295 feat: search options (#540)
* feat: search options

* feat: sanitize folder names

* fix: add cursor: pointer to switch

* fix: explicitly make the search bar a text input

* refactor: remove magic number

* refactor: extract Switch component to its own file

* refactor: split AppState into multiple files

* refactor: review comments
2021-04-06 16:48:25 +02:00
Baptiste Grob
cc474da0c3 feat: warning for protected note without protection
- Use `.sn-button` everywhere
- Delete permissions modal
- Capitalize "Clear session data"
2021-03-22 16:52:04 +01:00
Baptiste Grob
c6c8d842da feat: animate search options entrance 2021-03-10 17:26:21 +01:00
Baptiste Grob
99e26c8270 fix: improve search options top margin 2021-03-10 16:47:20 +01:00
Baptiste Grob
56665b2315 feat: search protected notes text 2021-03-10 14:38:24 +01:00
Baptiste Grob
734505c133 fix: button casing 2021-02-15 17:20:13 +01:00
Baptiste Grob
523feff6c8 fix: use correct close icon size 2021-02-15 16:08:10 +01:00
Baptiste Grob
5cb3bbf435 feat: use stylekit fonts for the editor 2021-02-10 10:42:45 +01:00
Baptiste Grob
1b34331e93 fix: properly color svg button 2021-02-02 16:12:02 +01:00
Baptiste Grob
c084268f51 feat: display warning banner when using the app with no account 2021-02-02 15:40:20 +01:00
Mo Bitar
3c8c43ac7e Refactors most controllers and directives into classes for more organized and maintainable code 2020-01-30 13:37:16 -06:00