Commit Graph

438 Commits

Author SHA1 Message Date
Aman Harwara
8e467f9e6d refactor: format and lint codebase (#971) 2022-04-13 22:02:34 +05:30
Aman Harwara
c16f23a75f feat: new lock screen and challenge modal design (#957) 2022-04-12 00:05:08 +05:30
Aman Harwara
3126d97dca feat: add file information panel to file preview modal (#965) 2022-04-11 19:33:34 +05:30
Aman Harwara
df54c3701c fix: progress bar color on firefox (#958) 2022-03-29 18:04:40 +05:30
Aman Harwara
aba1e35a1d refactor: button to allow html attributes & refactor class names (#956) 2022-03-28 17:41:54 +05:30
Aman Harwara
dc3dcfba2b refactor: DecoratedInput and add DecoratedPasswordInput (#953) 2022-03-26 15:26:36 +05:30
Aman Harwara
97f14e2a95 feat: show alert if file exceeds classic reader limit (#948) 2022-03-24 01:17:56 +05:30
Aman Harwara
12e3bb0959 feat: add file preview modal (#945) 2022-03-24 00:13:44 +05:30
Aman Harwara
7e67061097 fix: file drag-n-drop issue (#923) 2022-03-14 17:16:25 +05:30
Mo
ceedaade82 Revert "feat: wrap search option bubbles if not enough space (#918)"
This reverts commit be6a9fdb34.
2022-03-10 09:52:39 -06:00
Aman Harwara
be6a9fdb34 feat: wrap search option bubbles if not enough space (#918) 2022-03-10 20:57:59 +05:30
Aman Harwara
b31afee108 feat: add files popover in note toolbar (#913) 2022-03-10 13:51:28 +05:30
Myreli
5d49352f93 feat: redesign search filtering experience (#908)
* feat(search): redesign search filters as bubbles like mobile

* fix(search): decouble Bubble component styling

- animate the bubles on search
- decouple the Bubbles styling using utility classes
- improve styling of the new search options

* fix(Bubble): remove duplicated utility classes

* fix(bubble): use color neutral utility

* fix(bubble): increase gaps and justify center

* fix(Bubble): increase height and decrease gap

* fix(search): improve usability on search options

- increase animation timing to match mobile
- properly center cancel button
- only show cancel on text input
- prevent search options from disappearing when clicking with no text

* fix(search-options): improve spacing and auto size

* fix(search-options): improve animation and  decrease gap
2022-03-08 10:50:21 -06:00
Aman Harwara
c5eb84d7e8 feat: add toast notifications using stylekit (#905) 2022-03-02 23:33:46 +05:30
Mo
7abad65a51 fix: saving status while fully offline 2022-02-23 11:27:03 -06:00
Aman Harwara
209bd99fe5 feat: add "Listed actions" option in note context menu (#891) 2022-02-23 20:51:34 +05:30
Aman Harwara
22718d8a9f feat: add tag context menu (#890) 2022-02-22 13:05:01 +05:30
Aman Harwara
538e41d1cb fix: plain editor revision rendering (#889) 2022-02-19 19:35:44 +05:30
Mo
d12eebe883 fix: prevent save status overflow from changing width of editor pane 2022-02-18 11:46:54 -06:00
Aman Harwara
96bfd6efc2 fix: header button border (#887) 2022-02-18 20:48:04 +05:30
Aman Harwara
1887d5d01e fix: plain editor revision rendering and revision list sorting (#878) 2022-02-18 19:28:24 +05:30
Aman Harwara
3373a47da4 fix: use break-word for note list item title; closes #873 (#875) 2022-02-16 22:13:45 +05:30
Aman Harwara
71c7ee1bec feat: new revision history UI (#861) 2022-02-16 19:39:04 +05:30
Aman Harwara
cc2bc1e21c feat: replace accordion in change editor menu with regular menu (#871) 2022-02-16 17:57:06 +05:30
Aman Harwara
03ba4afd2e fix: note list item border (#862) 2022-02-11 19:46:00 +05:30
Mo
dcf07f70fd fix: slightly increase tag display density 2022-02-08 22:09:11 -06:00
Mo
d920bf663f fix: deactivate themes when switching accounts 2022-02-08 21:51:06 -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
Aman Harwara
9932c2a177 fix: notes list item layout when title is empty (#850) 2022-02-07 19:59:43 +05:30
Mo
cc283061c9 fix: increase tag menu item margin 2022-02-02 08:49:41 -06:00
Mo
70f4dd6353 feat: enable folders by default and remove from experimental features 2022-02-01 12:31:37 -06:00
Mo
a2d775235e fix: main app container overflow 2022-02-01 10:05:06 -06:00
Aman Harwara
1f5d235cd4 fix: notes list options menu not toggling correctly (#840) 2022-02-01 20:12:57 +05:30
Mo
ed729ab4ef fix: app column layout 2022-01-31 12:16:18 -06:00
Aman Harwara
7c41cfc3dc feat: make whole menu switch be clickable (#837) 2022-01-31 22:19:27 +05:30
Aman Harwara
0e00901f15 fix: note icons getting pushed by extra-long words (#835) 2022-01-31 19:20:48 +05:30
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
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
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
Aman Harwara
875f5417be feat: Add option to toggle editor icon in new notes list design (#799) 2022-01-06 20:30:10 +05:30
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