Commit Graph

1768 Commits

Author SHA1 Message Date
Mo
294d681a96 chore: fix copy 2022-02-02 09:47:26 -06:00
Aman Harwara
1dc1b1ea1f feat: add check since ICONS wont have all IconType (#843) 2022-02-02 18:06:43 +05:30
Aman Harwara
84cef22fbf fix: options button text color (#841) 2022-02-02 17:32:25 +05:30
Johnny A
528bafde96 fix: spellcheck control for 3rd-party editors (#839)
* fix: spellcheck control for 3rd-party editors

* refactor: spellcheckControllable

* refactor: spellcheckControllable

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-02-01 16:27:28 -04:00
Mo
70f4dd6353 feat: enable folders by default and remove from experimental features 2022-02-01 12:31:37 -06:00
Mo
b1022cd3c3 fix: duplicate element id 2022-02-01 09:56:52 -06:00
Mo
a47728188f fix: prevent component viewer double reload 2022-02-01 09:41:32 -06:00
Aman Harwara
1f5d235cd4 fix: notes list options menu not toggling correctly (#840) 2022-02-01 20:12:57 +05:30
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
Mo
ed729ab4ef fix: app column layout 2022-01-31 12:16:18 -06:00
Mo
ebd8848b5a fix: insert template note before opening editor menu (#838) 2022-01-31 11:30:11 -06:00
Aman Harwara
7c41cfc3dc feat: make whole menu switch be clickable (#837) 2022-01-31 22:19:27 +05:30
Mo
cf1720ba20 fix: function binding 2022-01-31 09:48:27 -06:00
Aman Harwara
c1f1aa4c8d feat: remove vertical padding from change editor menu (#836) 2022-01-31 20:42:45 +05:30
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
Aman Harwara
0e00901f15 fix: note icons getting pushed by extra-long words (#835) 2022-01-31 19:20:48 +05:30
Mo
46ee84ce24 fix: render root element on dom load 2022-01-30 20:01:13 -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
0ecbde6bac feat: improve change editor menu keyboard navigation (#831) 2022-01-30 20:28:35 +05:30
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
36584b07bd fix: Notes list options menu getting hidden (#827) 2022-01-27 18:37:29 +05:30
Laurent Senta
7726b1249c feat: display folders even without the premium (#826) 2022-01-26 09:21:24 +01:00
Laurent Senta
86b38e1041 fix: tag placeholder align (#819)
* fix: padding in navigation no-tag-placeholder

* fix: lint-staged was disabled

* fix: make findArray typesafe
2022-01-24 15:50:41 +01:00
Aman Harwara
829a240f63 fix: tags state mobx warning (#821) 2022-01-21 21:32:03 +05:30
Aman Harwara
701b703466 fix: panel_resizer mobx action warnings (#820) 2022-01-21 20:30:57 +05:30
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
c232a5e3c6 fix: dev account server 2022-01-17 10:53:23 -06:00
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
Laurent Senta
b0544dc2ef fix: typo on parent check (#811) 2022-01-17 13:59:31 +01:00
Mo
5b99e5f90d fix: move dev account in useEffect 2022-01-15 12:07:59 -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
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
a2b2d3f0bb fix: issue when creating new note in new tag doesnt re-render immediately 2022-01-12 11:42:36 -06:00
Mo
8f4f188733 fix: base keyboard modifier state on latest event 2022-01-12 11:27:10 -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
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
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
660f74c8ba fix: spellcheck toggle note about plain editor only 2022-01-10 09:31:02 -06:00
Vardan Hakobyan
f2d013b5e1 fix: update selected notes count when deleting multiple notes permanently (#808) 2022-01-10 18:30:38 +04:00
Mo
4c8d59336b fix: display offline hosted only for third party features 2022-01-07 12:08:27 -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
561ebcadcf feat(dev): preload dev account from .env (#803) 2022-01-07 11:21:03 -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
Laurent Senta
285fe31dd8 fix: reload note counts (#797)
* fix: reload note counts

* fix: select smart tags on load
2022-01-06 09:00:36 +01:00
Karol Sójko
e725fb11c3 Revert "Revert "fix: system smart tags on empty account (#796)""
This reverts commit 513ba86538.
2022-01-05 16:12:56 +01:00
Karol Sójko
9ecfad92bb Revert "Revert "feat: allows duplicate names in tags folder & smart tags (#792)""
This reverts commit 122f8fc266.
2022-01-05 16:12:36 +01:00