Commit Graph
202 Commits
Author SHA1 Message Date
Laurent Senta 7996f4e5a2 feat: nicer smart filters & folders theme (#795)
* fix: color add button and drop

* fix: color scrollbars

* fix: remove infinite scroll and fix scrollbars

* fix: plus icon center

* fix: navigation padding, structure simplif and naming

* fix: simplify scrollbars

* fix: scroll bar simplif + scheme in macos

* fix: magic variables to const

* refactor: extract panel ref state

* refactor: remove dead code, simple macos theme
2022-01-12 13:45:41 +01:00
Mo ebdae31965 feat: component viewer (#781)
* wip: component viewer

* feat: get component status from component viewer

* fix: remove unused property

* chore(deps): snjs 2.29.0

* fix: import location
2021-12-24 10:41:02 -06:00
Aman Harwara 270fcbc3bc refactor: Move notes_view to React (#761) 2021-12-21 20:31:11 +05:30
Mo Bitar 82ee0974c1 feat: snjs upgrade and fixes 2021-12-05 11:04:46 -06:00
Gorjan Petrovskiandvardanhakobyan 31222e1236 feat(preferences): extension modals into extension panes (#683)
* feat(preferences): show inline extensions in extensions pane

* wip

* wip

* refactor: convert ComponentView to React component

* refactor: convert ComponentView to React component

* chore: fix merge conflicts

* feat: don't show features whose `area` is "room", update modal items' icons in Preferences menu

* chore: fix TS error

* feat: don't show 2FA Manager in modal-based component

* feat: remove `ExtendedDataReloadComplete` event, since Extensions Manger is being removed from the app

* chore: avoid hardcoded values in svg image, optimize `if` condition

* chore: remove remnant comment

* fix: fix typescript errors

Co-authored-by: vardanhakobyan <[email protected]>
2021-10-25 12:45:36 +04:00
Antonella Sgarlatta 72edbfafca fix: replace setContent with unsafe_setCustomContent 2021-10-12 15:48:43 -03:00
f1122f292e feat: New account menu and text input with icon & toggle (#665)
* feat: Add new icons

* Revert "feat: Add new icons"

This reverts commit 0acb403fe8.

* feat: Add new icons for account menu

* feat: Add new Icons

* feat: Add "currentPane" state to prefs view

* feat: Update account menu to new design

* feat: Add input component with icon & toggle

* fix: sync icon & function

* fix: Fix eye icon

* feat: Create re-usable checkbox

feat: Add "merge local" option

* feat: Allow using className on IconButton

* feat: Add disabled state on input

feat: Make toggle circle

* refactor: Move checkbox to components

* feat: Handle invalid email/password error

* feat: Implement new design for Create Account

* feat: Implement new account menu design

* feat: Add disabled option to IconButton

* feat: Set account menu pane from other component

* feat: Add 2fa account menu pane

feat: Add lock icon

* feat: Remove unnecessary 2FA menu pane

feat: Reset current menu pane on clickOutside

* feat: Change "Log in" to "Sign in"

* feat: Remove sync from footer

* feat: Change "Login" to "Sign in"

feat: Add spinner to "Syncing..."

refactor: Use then-catch-finally for sync

* feat: Use common enableCustomServer state

* feat: Animate account menu closing

* fix: Reset menu pane only after it's closed

* feat: Add keyDown handler to InputWithIcon

* feat: Handle Enter press in inputs

* Update app/assets/javascripts/components/InputWithIcon.tsx

Co-authored-by: Antonella Sgarlatta <[email protected]>

* Update app/assets/javascripts/components/InputWithIcon.tsx

Co-authored-by: Antonella Sgarlatta <[email protected]>

* refactor: Use server state from AccountMenuState

* Update app/assets/javascripts/components/AccountMenu/CreateAccount.tsx

Co-authored-by: Antonella Sgarlatta <[email protected]>

* Update app/assets/javascripts/components/AccountMenu/ConfirmPassword.tsx

Co-authored-by: Antonella Sgarlatta <[email protected]>

* feat: Use common AdvancedOptions

* feat: Add "eye-off" icon and toggle state

* feat: Allow undefined values

* refactor: Remove enableCustomServer state

* feat: Persist server option state

* feat: Add bottom-100 and cursor-auto util classes

refactor: Use bottom-100 and cursor-auto classes

* refactor: Invert ternary operator

* refactor: Remove unused imports

* refactor: Use toggled as prop instead of state

* refactor: Change "Log in/out" to "Sign in/out"

* refactor: Change "Login" to "Sign in"

* refactor: Remove hardcoded width/height

* refactor: Use success class

* feat: Remove hardcoded width & height from svg

* fix: Fix chevron-down icon

Co-authored-by: Antonella Sgarlatta <[email protected]>
Co-authored-by: Antonella Sgarlatta <[email protected]>
2021-10-08 11:18:31 -05:00
Aman Harwara f6c019b63c feat: Remove references of default editor 2021-10-01 20:38:58 +05:30
Aman Harwara 1a92fffcd4 feat: Remove Set Default & Undefault buttons 2021-10-01 11:46:56 +05:30
Gorjan PetrovskiandMo Bitar b7d10810a5 chore: update snjs, sncrypto-web and fix tsc complaints (#624)
Co-authored-by: Mo Bitar <[email protected]>

Co-authored-by: Mo Bitar <[email protected]>
2021-09-02 15:59:43 +02:00
Mo Bitar 41e1dd9731 fix: race condition where previous note actions may be displayed for current note (#613) 2021-08-13 16:16:39 -05:00
Antonella Sgarlatta 86fd93ab0e fix: prevent restoring version if note is locked 2021-07-12 19:30:57 -03:00
Antonella Sgarlatta f84d789b16 Merge branch 'develop' into feature/account-menu-react 2021-07-12 12:26:51 -03:00
Johnny AandJohnny Almonte b3347b75ba feat: show deprecation notice (#587)
* feat: show deprecation notice

* feat: show deprecation message

* chore(deps): update snjs

Co-authored-by: Johnny Almonte <[email protected]>
2021-07-02 11:18:06 -04:00
Antonella Sgarlatta 1d4eae5d00 fix: set minimum passcode length 2021-07-01 16:44:10 -03:00
Antonella Sgarlatta 6d71389409 Merge branch 'develop' into feature/account-menu-react 2021-06-23 17:51:59 -03:00
Antonella Sgarlatta 8951264757 feat: show date on revision preview 2021-06-23 17:51:43 -03:00
Antonella Sgarlatta 3d24d89ce5 Merge branch 'develop' into feature/account-menu-react 2021-06-22 15:30:18 -03:00
Antonella Sgarlatta 5e83493633 fix: remove log 2021-06-19 14:58:13 -03:00
Antonella Sgarlatta ebe38eae57 fix: fix panels that can't be expanded after collapse 2021-06-19 13:49:32 -03:00
Antonella Sgarlatta 650109f63f chore(version-snjs): 2.7.2 2021-06-17 13:18:48 -03:00
Antonella Sgarlatta 1af72abe23 fix: set next version host on host input change 2021-06-15 17:15:48 -03:00
VardanHakobyan 1e7dbb9b14 Merge remote-tracking branch 'upstream/develop' into account-menu-react 2021-06-09 11:06:42 +04:00
VardanHakobyan 7f11e25e63 refactor: migrate account-menu to react - implement functionality
- remove all Angular code related to `account-menu`
- rename React component to AccountMenu so that many parts of old code remain unchanged
- code cleanup
2021-06-07 20:30:49 +04:00
Antonella Sgarlatta 4faebe4ffd fix: onWidthEvent error 2021-06-02 20:05:34 -03:00
Antonella Sgarlatta 595b44dfee fix: reload layout when double clicking on panel resizer 2021-06-02 18:38:54 -03:00
Antonella Sgarlatta 6fb68d2255 refactor: extract shared logic to active note state 2021-06-02 17:57:37 -03:00
Antonella Sgarlatta b7c2fa0b60 feat: use panel width event instead of ResizeObserver 2021-05-31 12:59:35 -03:00
Antonella Sgarlatta 278bec8d56 feat: close context menu on extension click 2021-05-24 11:46:43 -03:00
Antonella Sgarlatta 0a262de3db fix: handle components keydown and keyup actions 2021-05-19 14:53:52 -03:00
Antonella Sgarlatta 02249ebaca fix: add delete permanently option, restore icon and show alerts for locked notes 2021-05-07 15:56:35 -03:00
Antonella Sgarlatta a1d56abd2e Merge branch 'develop' into feature/multiple-selection 2021-04-28 14:53:15 -03:00
Baptiste Grob 729a1a8dfd feat: focus back on passcode input after failure 2021-04-16 12:20:24 +02:00
Baptiste Grob ebf6e69ef7 fix: prevent editor column overflow 2021-04-15 12:57:30 +02:00
Baptiste Grob 6a52721ea7 feat: delete local backups when signing out 2021-04-14 15:05:33 +02:00
Baptiste Grob abfc588368 feat: multiple selected notes panel 2021-04-13 14:43:48 +02:00
Baptiste Grob 622963d04e fix: display session & remote history entries 2021-04-12 11:58:12 +02:00
Baptiste Grob 4242021dca fix: support refactored SNJS history 2021-04-08 12:19:21 +02:00
Baptiste Grob 5cd3a7cb09 fix: restore permissions modal 2021-03-26 12:24:36 +01:00
Baptiste Grob 52e8e8220b chore(deps): update SNJS 2021-03-23 18:52:57 +01: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 9541886a2c fix: download backup later in the change password process 2021-03-03 14:30:52 +01:00
Baptiste Grob 4d30d019ee feat: enable sessions management for every build 2021-02-19 12:19:31 +01:00
Baptiste Grob 1852b5e045 feat: implement SNApplication.hasProtectionSources 2021-02-18 09:48:39 +01:00
Baptiste Grob aa34bfc0c6 fix: hide protections paragraph when no account or passcode exist 2021-02-15 16:28:36 +01:00
Baptiste Grob badff1568d feat: clear protection session 2021-02-15 15:36:36 +01:00
Baptiste Grob fab9ca2ad2 fix: hide account warning after login + improve key storage wording 2021-02-03 11:53:52 +01:00
Baptiste Grob c084268f51 feat: display warning banner when using the app with no account 2021-02-02 15:40:20 +01:00
Baptiste Grob d4f02a124d feat: implement SNJS backup file password retrieval 2021-01-28 15:28:55 +01:00
Baptiste Grob 0bd3143481 feat: add random identifier to bugsnag reports 2021-01-22 15:31:56 +01:00