Commit Graph

637 Commits

Author SHA1 Message Date
Johnny A
cb013dbce9 chore: bundle components (#872)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-02-15 20:04:57 -04:00
Vardan Hakobyan
00d57aa69d feat: import svg files from stylekit (#844)
* chore: install stylekit with its new name

* feat: import svg files from stylekit

* feat: import the remaining svgs from stylekit

* fix: import 'warning' icon from stylekit

* chore: import warning icon from stylekit

* chore: bump stylekit version

* chore: update sn dependencies
2022-02-15 12:12:34 +04:00
Mo
65b0e254c9 chore(deps): snjs; fixes third party themes activation on load issue 2022-02-12 09:04:09 -06:00
Mo
d58c2e8892 chore(deps): snjs; deprecated feature handling 2022-02-11 07:52:16 -06:00
Mo
e060807cb1 chore(deps): snjs 2022-02-10 10:54:35 -06:00
Mo
78ec092bf0 fix: use full path when searching autocomplete tags 2022-02-09 11:09:11 -06:00
Mo
0c3d1fce0c feat: persist tags expanded state 2022-02-08 22:27:00 -06:00
Mo
e43c8a6f07 fix: improve deinit logic and flow 2022-02-08 21:35:31 -06:00
Mo
1dd70364e7 chore(deps): snjs 2022-02-08 14:25:53 -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
Aman Harwara
5605baeb57 feat: add warning to note options menu if note size is >0.5mb (#851) 2022-02-07 20:38:19 +05:30
Mo
cddd5cbdc2 chore(deps): snjs 2022-02-04 12:27:59 -06:00
Mo
b549cc38bf fix: unmount application view when ephemeral identifier changes 2022-02-04 12:00:03 -06:00
Mo
6970a375b7 feat: native listed integration (#846)
* feat(wip): native listed integration

* feat(wip): wip

* feat: simplified actions menu structure

* feat: open settings alert upon succesful creation

* fix: handle remove menu row api

* chore(deps): snjs
2022-02-03 18:14:28 -06:00
Vardan Hakobyan
616b77a5f7 fix: don't get backups settings if there is no logged-in user (#842)
* fix: don't get backups settings if there is no logged-in user

* chore: bump snjs version
2022-02-02 23:58:58 +04:00
Mo
d17edfc5cf fix: folders migration issue 2022-02-02 10:05:40 -06:00
Aman Harwara
1dc1b1ea1f feat: add check since ICONS wont have all IconType (#843) 2022-02-02 18:06:43 +05:30
Mo
e104a1768d chore: upgrade deps 2022-02-01 12:44:56 -06:00
Aman Harwara
6150f58c73 feat: show alert when changing to non-interchangeable editor (#834) 2022-02-01 13:32:02 +05:30
Laurent Senta
3c0bc79768 feat: add migration pref pane (#825)
* feat: add migration pane

* style: clean imports

* removeme: beta version

* fix: do no show dropzone when tag has no parent

* fix: hide the Folders toggle

* fix: hide migrations option when user has no folders

* fix: add delimiter on Folders mark

* removeme: bump beta

* fix: remove component viewer for tag folders

* removeme: bump beta

* chore(deps): snjs
2022-01-31 19:18:14 -06:00
Vardan Hakobyan
bf382ce0f8 feat: get editor icons and their colors from snjs (#828)
* feat: get editor icons and their colors from snjs

* feat: get icons and their tints from snjs

* fix: use IconType from snjs
2022-01-31 18:58:36 +04:00
Mo
e890e22630 chore(deps): snjs 2022-01-31 08:19:20 -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
Johnny A
6aa926c2b0 chore(deps): upgrade components and features (#829)
* chore(deps): upgrade components and features

* chore: bundle

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-01-28 09:54:28 -04:00
Mo
62cb70728e feat: bump editors with concern alert 2022-01-19 13:42:17 -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
5e0769745c feat: use snjs tag notes index for note counts (#810)
* feat: use snjs tag notes index for note counts

* style: clean up style

* fix: typo on parent check (#811)

* feat: use snjs tag notes index for note counts

* chore: bump deps
2022-01-17 07:47:25 -06:00
Mo
bd6b53f590 chore: bump deps 2022-01-15 12:43:04 -06:00
Mo
5df8a74294 feat: bold editor, markdown pro spellcheck bump 2022-01-14 16:56:48 -06:00
Mo
063c3b2fee feat: per-note spellcheck (#815)
* feat: per-note spellcheck control

* fix: remove fill from svg

* feat: move spellcheck pref into defaults preferences section

* fix: use faded css class instead of opacity

* feat: plus editor 1.6.0
2022-01-14 14:32:16 -06:00
Karol Sójko
53f7aa4f4c fix: updated @standardnotes/components to latest version 2022-01-14 12:13:03 +01:00
Mo
350815fc58 fix: handle folders activation from callback 2022-01-13 09:45:57 -06:00
Mo
bbc4404038 chore: bump snjs 2022-01-12 13:18:37 -06:00
Mo
3e68e3b4af chore: bump @standardnotes/components 2022-01-12 12:05:56 -06:00
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
Mo
c1b7f60e35 feat: move save method into snjs controller (#809)
* feat: move editor save method to snjs note controller
2022-01-10 22:04:57 -06:00
Mo
4c8d59336b fix: display offline hosted only for third party features 2022-01-07 12:08:27 -06:00
Mo
d5e58cf816 fix: show offline repo section if repo present 2022-01-06 11:53:40 -06:00
Mo
987f5aebf4 chore: migrate note controllers to snjs 2022-01-06 11:03:45 -06:00
Aman Harwara
875f5417be feat: Add option to toggle editor icon in new notes list design (#799) 2022-01-06 20:30:10 +05:30
Mo
e7a8bbbab8 Merge branch 'hotfix/10.6.1' into develop 2022-01-05 11:22:57 -06:00
Mo
f55247ccce fix: filesafe index path 2022-01-05 11:22:39 -06:00
Karol Sójko
c42eeea383 Revert "Revert "feat: New notes list design (#780)""
This reverts commit d76c636e54.
2022-01-05 16:12:12 +01:00
Karol Sójko
d76c636e54 Revert "feat: New notes list design (#780)"
This reverts commit 7dd4a60595.
2022-01-05 16:11:34 +01:00
Aman Harwara
7dd4a60595 feat: New notes list design (#780) 2022-01-04 17:29:10 +05:30
Mo
b0b7ce487a chore(deps): snjs-based deps 2022-01-03 11:48:49 -06:00
Mo
4153c81638 fix: cloudlink url 2022-01-03 10:47:33 -06:00
Mo
f405333898 fix: use absolute component paths 2022-01-02 10:35:45 -06:00
Mo
dce97077b4 fix: set desktop installed payload source 2022-01-02 09:30:33 -06:00