Commit Graph

174 Commits

Author SHA1 Message Date
Mo
3a2ff2f440 refactor: new snjs support (#967) 2022-04-11 12:48:19 -05:00
Mo
90fcac61e0 chore: upgrade snjs deps 2022-03-31 14:07:21 -05:00
Mo
492357777c fix: don't apply system color scheme anytime any preference changes 2022-03-25 07:49:08 -05:00
Aman Harwara
12e3bb0959 feat: add file preview modal (#945) 2022-03-24 00:13:44 +05:30
Mo
9f032f13c2 chore: upgrade deps 2022-03-21 14:31:42 -05:00
Mo
cd243f39c6 chore: upgrade deps 2022-03-21 12:13:10 -05:00
Mo
bcfb22fef6 feat: remove bugsnag (#931) 2022-03-15 13:53:29 -05:00
Aman Harwara
66c9b26962 feat: use new zip.js module for backup (#929) 2022-03-15 18:56:04 +05:30
Aman Harwara
a2a4b6b180 feat: export as zip if multiple notes are selected (#926) 2022-03-15 15:38:22 +05:30
Mo
d8caa31dc9 chore: upgrade deps (#906)
* chore: upgrade deps

* fix: MenuArrowRight import

* fix: type naming
2022-03-03 13:31:51 -06:00
Mo
c3d849d204 chore: ugprade snjs deps (#898) 2022-02-24 12:57:32 -06:00
Mo
3d6c10b70e fix: apply active themes after features updated 2022-02-22 14:03:28 -06:00
Mo
0369d03542 fix: theme entitlement logic 2022-02-18 08:20:39 -06:00
Mo
b8e242cbee fix: activate cached themes without entitlement check 2022-02-18 07:53:39 -06:00
Aman Harwara
ca3112dcaf fix: check if user is entitled to theme before activating it (#867) 2022-02-17 01:13:05 +05:30
Mo
7f341c797a chore(deps): snjs with synchronous crypto 2022-02-16 11:34:53 -06:00
Aman Harwara
cc2bc1e21c feat: replace accordion in change editor menu with regular menu (#871) 2022-02-16 17:57:06 +05:30
Mo
d920bf663f fix: deactivate themes when switching accounts 2022-02-08 21:51:06 -06:00
Mo
e07f3732c5 chore: lint autolock service 2022-02-08 10:32:28 -06:00
Aman Harwara
7f5f0d9d17 feat: update line height and width of note size warning text (#852) 2022-02-07 22:12:08 +05:30
Mo
f9c47a10ca fix: do not deactivate all themes on theme service deinit; themes should remain activated on application lock 2022-02-07 09:54:51 -06:00
Mo
fc3d575fe0 fix: export location of ElectronDesktopCallbacks 2022-02-03 09:55:11 -06:00
Mo
0f01d296e4 feat: desktop compatibility, beta 1 2022-02-03 09:02:09 -06:00
Mo
333d4c4808 fix: sanitize alert string 2022-02-02 17:37:23 -06:00
Mo
50c92619ce refactor: migrate remaining angular components to react (#833)
* refactor: menuRow directive to MenuRow component

* refactor: migrate footer to react

* refactor: migrate actions menu to react

* refactor: migrate history menu to react

* fix: click outside handler use capture to trigger event before re-render occurs which would otherwise cause node.contains to return incorrect result (specifically for the account menu)

* refactor: migrate revision preview modal to react

* refactor: migrate permissions modal to react

* refactor: migrate password wizard to react

* refactor: remove unused input modal directive

* refactor: remove unused delay hide component

* refactor: remove unused filechange directive

* refactor: remove unused elemReady directive

* refactor: remove unused sn-enter directive

* refactor: remove unused lowercase directive

* refactor: remove unused autofocus directive

* refactor(wip): note view to react

* refactor: use mutation observer to deinit textarea listeners

* refactor: migrate challenge modal to react

* refactor: migrate note group view to react

* refactor(wip): migrate remaining classes

* fix: navigation parent ref

* refactor: fully remove angular assets

* fix: account switcher

* fix: application view state

* refactor: remove unused password wizard type

* fix: revision preview and permissions modal

* fix: remove angular comment

* refactor: react panel resizers for editor

* feat: simple panel resizer

* fix: use simple panel resizer everywhere

* fix: simplify panel resizer state

* chore: rename simple panel resizer to panel resizer

* refactor: simplify column layout

* fix: editor mount safety check

* fix: use inline onLoad callback for iframe, as setting onload after it loads will never call it

* chore: fix note view test

* chore(deps): upgrade snjs
2022-01-30 19:01:30 -06:00
Aman Harwara
b932e2a45e feat: Add new "Change Editor" option to note context menu (#823)
* feat: add editor icon

* refactor: remove 'any' type and format

* refactor: move NotesOptions and add ChangeEditorOption

* refactor: fix type for using regular RefObject<T>

* feat: add hide-if-last-child util class

* feat: add Change Editor option

* feat: make radio btn gray if not checked

* fix: accordion menu header and item sizing/spacing

* feat: add Escape key to KeyboardKey enum

* refactor: Remove Editor Menu

* feat: add editor select functionality

* refactor: move plain editor name to constant

* feat: add premium editors with modal if no subscription

refactor: simplify menu group creation

* feat: show alert when switching to non-interchangeable editor

* fix: change editor menu going out of bounds

* feat: increase group header & editor item size

* fix: change editor menu close on blur

* refactor: Use KeyboardKey enum & remove else statement

* feat: add keyboard navigation to change editor menu

* fix: editor menu separators

* feat: improve change editor menu sizing & spacing

* feat: show alert only if editor is not interchangeable

* feat: don't show alert when switching to/from plain editor

* chore: bump snjs version

* feat: temporarily remove change editor alert

* feat: dynamically get footer height

* refactor: move magic number to const

* refactor: move constants to constants file

* feat: use const instead of magic number
2022-01-28 14:23:39 -06:00
Aman Harwara
da1d4f75c8 feat: Add "Appearance" pane to preferences (#816)
Co-authored-by: Mo <mo@standardnotes.com>
2022-01-19 19:41:04 +05:30
Mo
8f4f188733 fix: base keyboard modifier state on latest event 2022-01-12 11:27:10 -06:00
Mo
713be826e9 fix: issue with deactivate all themes on signout (#804)
* fix: issue with deactivate all themes on signout

* fix: remove redundant caching
2022-01-07 11:48:30 -06:00
Mo
954f39992d fix: display correct app version for desktop 2022-01-03 15:28:04 -06:00
Mo
dce97077b4 fix: set desktop installed payload source 2022-01-02 09:30:33 -06:00
Mo
66d8efd090 feat: native components (#789)
* wip: component viewer

* feat: get component status from component viewer

* feat: native components

* fix: remove unused property

* fix: remove unused func

* chore(deps): snjs 2.29.0

* fix: import location

* feat: native components

* fix: remove unused func

* 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

* chore: use cp instead of webpack copy

* fix: types

* chore: misc
2021-12-30 14:25:40 -06: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
Mo
8d9b192b81 feat: remove extensions manager (#696)
* feat: remove extensions manager

* fix: remove unused code

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-10-21 13:06:49 -05:00
Mo
e79811afda feat: add purchase url (#695)
* feat: add purchase url

* chore: bump snjs

* fix: reuse existing function
2021-10-21 12:41:58 -05:00
Mo Bitar
e6e01d0f2c fix: remove code already handled by snjs (#633) 2021-09-17 11:16:16 -05:00
Vardan Hakobyan
b0ed19d6a3 feat: implement credentials information on Prefs -> Account pane (#632)
* feat: implement prefs -> credentials section UI (w/o backend integration)

* feat: implement credentials information on Prefs -> Account pane

- implement email changing UI (w/o backend integration)
- implement password changing UI and reuse existing change password logic
- replace 2FA dialog with shared one
- implement React hook for preventing window refresh

* fix: provide correct types

* refactor: reuse styles from stylekit, rename components and create enum for input types

* refactor: update default exports to named ones, correct texts

* chore: remove unnecessary depenedency

* chore: yarn.lock without unnecessary packages

* Revert "chore: yarn.lock without unnecessary packages"

This reverts commit 64aa75e8408b06884d6e7383180292a4a9a3e8ad.
2021-09-09 19:23:21 +04:00
Vardan Hakobyan
041d437bd4 feat: pass web app version to snjs application (#623)
* feat: store web version in local storage

* feat: pass web app version to snjs application when creating WebApplication

* refactor: pass version in application constructor, remove unnecessary method

* refactor: move global variables declarations to separate files to avoid declaring them in all places where they are used

* refactor: better way to use global variables

* chore: add comment

* chore: make global constants pascal case

* chore: version bump for snjs

* chore: yarn.lock with correct snjs version

* chore: bump snjs version
2021-09-06 10:36:57 +04:00
Antonella Sgarlatta
1be87cbef8 fix: disable delete note shortcut for inputs 2021-07-05 14:43:09 -03:00
Antonella Sgarlatta
184ce19ad7 fix: autolock polling for desktop 2021-06-16 19:40:33 -03:00
Antonella Sgarlatta
ce383a516e chore: remove batchMgrUrl getter 2021-06-15 13:16:30 -03:00
Antonella Sgarlatta
d2e7c01821 Merge branch 'develop' into feature/remove-batch-manager 2021-06-14 15:53:06 -03:00
Antonella Sgarlatta
c09a2f02c2 fix: update poll interval 2021-06-09 12:52:07 -03:00
Antonella Sgarlatta
98c6078a0d fix: don't wait until regaining focus to lock app 2021-06-07 19:07:31 -03:00
Antonella Sgarlatta
e24734e3cd feat: remove batch manager 2021-06-07 16:32:28 -03:00
Antonella Sgarlatta
0a262de3db fix: handle components keydown and keyup actions 2021-05-19 14:53:52 -03:00
Antonella Sgarlatta
c6e4c2fcf5 fix: note flickering and multiple selection staying enabled after browser shortcut 2021-05-17 16:45:00 -03:00
Antonella Sgarlatta
a1d56abd2e Merge branch 'develop' into feature/multiple-selection 2021-04-28 14:53:15 -03:00