Commit Graph

1679 Commits

Author SHA1 Message Date
Mo Bitar
9256193c66 fix: handle case in preferences where component name can be undefined, causing exception that makes preferences UI unresponsive 2021-12-07 10:49:06 -06:00
Mo Bitar
a9f8e1cba6 fix: handle component tag selection 2021-12-06 13:20:45 -06:00
Mo Bitar
dbc4de9a0e fix: don't show saving status if template note inserted to be interactable with advanced editor 2021-12-06 11:17:15 -06:00
Laurent Senta
c27dce1ab7 style: with prettier (#762)
* style: use pretty quick on staged files

* style: test edit utils

* style: try with lint-staged

* style: test lint application
2021-12-06 15:27:18 +01:00
Aman Harwara
31c48af01c feat: Add "Pin selected notes" button to editor title bar (#760) 2021-12-06 14:47:35 +05:30
Mo Bitar
82ee0974c1 feat: snjs upgrade and fixes 2021-12-05 11:04:46 -06:00
Mo Bitar
ac9c19d681 fix: copy improvement 2021-12-03 11:58:14 -06:00
Aman Harwara
d7c36da2b2 fix: Width transition on manually resizing sections (#759) 2021-12-03 19:41:13 +05:30
Mo Bitar
1a138ef83d fix: remove redundant check in template 2021-12-02 13:07:28 -06:00
Aman Harwara
9730006cba feat: Nativize "No distraction" theme as "Focus Mode" (#758)
Co-authored-by: Mo Bitar <me@bitar.io>
2021-12-02 22:34:57 +05:30
Mo Bitar
fbafc136e8 fix: better subscription state text 2021-12-01 11:28:03 -06:00
Vardan Hakobyan
a8f949e8c5 Chore/setup testing environment (#755)
* chore: setup environment for unit tests

* fix: remove extra character from json
2021-11-30 19:01:51 +04:00
Laurent Senta
4d8ba3320a refactor: move tags to react (#753)
* refactor: move Tags list to react

* refactor: extract TagsListItem and simplify hooks

* refactor: remove comment & dead code

* fix: mobx warnings & safari bug

* fix: text select on non-safari

* fix: remove unecessary comments

* style: apply prettier format

* style: apply formatting on tags_view

* refactor: remove the angular tags rendering

* feat: add back the "select previous tag" behavior

* style: simplify code and avoid important

* style: remove note on state
2021-11-29 17:33:00 +01:00
Mo Bitar
6f3a749e52 fix: default to feature status entitled to avoid temporarily flashing error 2021-11-26 18:29:00 -06:00
Aman Harwara
21433b5544 feat: Change bg color when focusing tag instead of border (#751) 2021-11-26 18:37:29 +05:30
Johnny A
ba3c58457a fix: add border to generated 2fa QR code (#749)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-24 20:35:51 -04:00
Mo
cf3664751f feat: display feature status (#745)
* feat: display feature status

* fix: hook dep

* fix: react hooks dep
2021-11-22 11:39:14 -06:00
Vardan Hakobyan
0193eea1f5 fix: show correct "Last modified date" for note (#742)
Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-11-16 18:19:53 +04:00
Vardan Hakobyan
b2877a5435 fix: break long extension url text when it exceeds container width (#741) 2021-11-16 18:12:11 +04:00
Aman Harwara
e16e817747 fix: Remove HTML tags before counting words for a note (#739) 2021-11-16 19:19:28 +05:30
Vardan Hakobyan
f8308348ed fix: hide horizontal separator if "offline subscriptions" section is hidden (#740) 2021-11-15 17:52:13 +04:00
Aman Harwara
60eeee385d feat: Add note ID for errored notes in note options (#737) 2021-11-15 19:04:18 +05:30
Mo Bitar
04136159dc feat: ability to uninstall any extension 2021-11-14 14:27:26 -06:00
Mo Bitar
dee60e0fae fix: extension url validation 2021-11-14 11:26:57 -06:00
Mo Bitar
76258f5462 fix: component expiration for custom extensions 2021-11-12 12:21:04 -06:00
Aman Harwara
f6ca7ef2b1 feat: Use new design for signed out pane in preferences (#734) 2021-11-12 22:51:29 +05:30
Aman Harwara
08cd020402 fix: Two-factor activation modal (#736) 2021-11-12 22:47:47 +05:30
Aman Harwara
3c3131adef feat: Pass period & plan params to purchase page (#733) 2021-11-12 20:32:35 +05:30
Mo Bitar
873aa1558e fix: offline repo handling 2021-11-11 13:51:54 -06:00
Aman Harwara
1e219699df feat: Make purchase flow modal mobile-friendly (#732) 2021-11-11 19:27:46 +05:30
Mo Bitar
0e209ee24f tmp: handle overflow on small screens 2021-11-10 15:09:30 -06:00
Mo Bitar
69beb698ef tmp: handle overflow on small screens 2021-11-10 15:07:36 -06:00
Mo Bitar
f28564e708 fix: success url should ignore params 2021-11-10 14:33:32 -06:00
Vardan Hakobyan
e833dbfbca Fix/email changed text (#728)
* fix: correct styling for "Email successfully changed" dialog texts

* fix: correct top styling for title
2021-11-10 20:06:31 +04:00
Mo Bitar
ba4fbd1c0a fix: unmount component on destroy 2021-11-10 08:30:38 -06:00
Mo
73b91e5964 fix: reload subscription state after event (#727)
* fix: reload subscription state after event

* chore: yarn.lock

* chore: lint

* fix: hook exhaustive deps
2021-11-09 19:33:10 -06:00
Mo Bitar
8c3271bcb3 fix: don't include full desktop path in deeplink redirect 2021-11-09 18:13:43 -06:00
Mo Bitar
0d5e348523 fix: make account settings pane first 2021-11-09 16:43:28 -06:00
Mo Bitar
4b21083229 fix: disable v4 feature checks 2021-11-09 16:41:12 -06:00
Aman Harwara
88cc50e8b6 fix: Fix icon colors to be more themeable (#724) 2021-11-06 19:29:03 +05:30
Johnny A
261bb65a85 fix: show alert when importing a zip file as a backup (#720)
* fix: show alert when importing a zip file as a backup

* Update app/assets/javascripts/strings.ts

Co-authored-by: Mo <mo@standardnotes.org>

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
Co-authored-by: Mo <mo@standardnotes.org>
2021-11-05 11:31:23 -04:00
Aman Harwara
2fdb748bab fix: Change bg-neutral to bg-border (#723) 2021-11-05 20:43:27 +05:30
Mo
e1e38c65db fix: add ability to subscribe without account (#722) 2021-11-05 10:09:46 -05:00
Aman Harwara
42b3cf5750 feat: Use border-main (#721) 2021-11-05 19:29:54 +05:30
Vardan Hakobyan
bbc81ea276 feat: move extensions from prefs menu's left pane to General->Advanced section (#718) 2021-11-03 22:45:50 +04:00
Vardan Hakobyan
04fab80adb feat: fetch features and store locally for offline users (#706)
* feat: fetch features and store locally for offline users

* feat: handle success and error cases

* refactor: move offline activation code reading/validation to snjs

* chore: update after renaming snjs function

* fix: correct condition for checking offline users

* feat: let users remove their previous offline keys (WIP)

* refactor: handle setOfflineFeatures function response accordingly

* feat: remove corresponding local data when removing offline key

* fix: use snjs' confirm dialog instead of custom one

* feat: show warning before installing extension from untrusted source

* refactor: move functions for validating external feature url and checking if custom server host was used to snjs

* chore: put correct snjs version

* chore: make `eslint-plugin-react-hooks` in yarn.lock to match the `develop` branch

* chore: deps update

* chore: deps update
2021-11-03 22:27:36 +04:00
Aman Harwara
bad87a4f2f feat: Replace border-gray-300 with border-neutral (#716) 2021-11-02 19:55:28 +05:30
Gorjan Petrovski
32ced95f72 fix: replace border-gray-300 with a themable colour (#664)
Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-11-01 20:46:14 +05:30
Aman Harwara
4f56c453cb feat: Update "Change Email" and "Change Password" modal designs (#714)
* feat: Add new utility classes

* feat: Update "Change Email" modal design

* feat: Use .sk-input.contrast className to mimic password wizard inputs

* feat: Add explicit labels to password wizard inputs

* feat: Make button sizing consistent

* refactor: Remove unused dependencies

* refactor: Remove unused component
2021-11-01 19:49:06 +05:30
Aman Harwara
5da51048bf feat: Use toggle switch for layerable themes in quick settings menu (#712)
* feat: Add px-0 utlility class
2021-10-30 21:22:46 +05:30