Commit Graph

1922 Commits

Author SHA1 Message Date
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
Mo
6e1e5abaea fix: remove background color from scrollable class 2022-01-12 09:03:26 -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
Karol Sójko
80bf7baf16 Revert "Revert "feat: native smart tags (#782)""
This reverts commit b57350c899.
2022-01-05 16:12:22 +01: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
Karol Sójko
b57350c899 Revert "feat: native smart tags (#782)"
This reverts commit c3772e06b4.
2022-01-05 16:11:17 +01:00
Karol Sójko
122f8fc266 Revert "feat: allows duplicate names in tags folder & smart tags (#792)"
This reverts commit a165fa9b4e.
2022-01-05 16:11:00 +01:00
Karol Sójko
513ba86538 Revert "fix: system smart tags on empty account (#796)"
This reverts commit f543bbe507.
2022-01-05 16:10:41 +01:00
Laurent Senta
f543bbe507 fix: system smart tags on empty account (#796) 2022-01-05 06:53:28 +01:00
Laurent Senta
a165fa9b4e feat: allows duplicate names in tags folder & smart tags (#792)
* feat: tag rendering & validation uses hierarchy

* feat: add prefix to autocomplete
2022-01-04 14:13:29 +01:00
Laurent Senta
c3772e06b4 feat: native smart tags (#782)
* feat: introduce native smart tags

* feat: introduce react navigation

* feat: render smart tag special cases

* feat: add create tag & all count

* feat: move components to react + mobx

* fix: workaround issue with snjs

* feat: nice smart tag icons in experimental

* feat: add back components

* fix: typo on all tags

* feat: add panel resizer + simplif code

* fix: panel resize size & refresh

* fix: auto select all notes

* style: remove legacy tag view

* style: remove legacy directives

* fix: select tag from note view

* feat: WIP smart tag rename

* fix: template checks

* fix: user can create new notes

* panel: init width

* fix: panel resizer ref

* fix: update with new component viewer

* fix: use fixed isTemplateItem & fixed findItems

* refactor: rename tags panel into navigation

* style: remove TODOs that are ok

* feat: smart tag premium check with premium service

* refactor: multi-select variables for debuggability

* fix: clean deinit code

* fix: prevent trigger tag changes event for the same uuid

* fix: typings

* fix: use minimal state

* style: remove dead code

* style: long variable names

* refactor: move magic string to module

* fix: use smart filter feature

* refactor: add task id in todo
2022-01-04 14:02:58 +01:00
Aman Harwara
7dd4a60595 feat: New notes list design (#780) 2022-01-04 17:29:10 +05:30
Mo
954f39992d fix: display correct app version for desktop 2022-01-03 15:28:04 -06:00
Mo
4153c81638 fix: cloudlink url 2022-01-03 10:47:33 -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
0eeb9b7da1 refactor: rename note controller to note view controller 2021-12-27 22:56:21 -06:00
Mo
15aea42d4f chore: rename editor model to note controller 2021-12-27 18:46:56 -06:00
Mo
54e5fc9184 fix: associate new note with default editor 2021-12-27 18:23:53 -06:00
Mo
06fae3acda fix: debounce editor reloading to handle fast fire 2021-12-27 16:29:18 -06:00