Commit Graph

276 Commits

Author SHA1 Message Date
Aman Harwara
85c90e07fc feat: add settings to fully switch between native/webview (#1587) 2022-09-17 02:52:38 +05:30
Aman Harwara
7807fa34f3 fix: long titles on non-mobile view (#1575) 2022-09-16 18:35:43 +05:30
Aman Harwara
3a15142940 fix: biometrics input on mobile webview challenge modal (#1572) 2022-09-15 23:41:03 +05:30
Karol Sójko
2d0ee10226 feat: sharing subscriptions UI (#1567)
* feat(web): add ui for subscription sharing

* fix(web): add missing triggers

* fix(snjs): setting authorization token on http service

* fix(web): add alert upon invite failure

* fix(web): display invitations list

* fix(web): canceling subscription invitations

* fix(web): fonts

* fix(web): linter issues

* fix: click event handler

* fix: styles

* feat: update styles

* feat: don't show bottom separator if all invites used

* fix(web): references to alert service

* fix(web): remove usebeforeunload

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2022-09-15 12:00:29 +02:00
Aman Harwara
110c5ff47f fix: move mobile nav button next to note/file title (#1568) 2022-09-14 20:14:21 +05:30
Vardan Hakobyan
b4bdbfe96a fix: display QR codes with correctly colored border so that scanner apps successfully recognize them (#1566) 2022-09-14 16:48:45 +04:00
Vardan Hakobyan
d7aca2c13a feat: mobile security prefs (#1496)
* feat: move mobile-specific security items to Web when rendered in WebView

* feat: better UI for biometrics section

* feat: move Multitasking Privacy section to WebView (mostly UI)

* feat: move Multitasking Privacy section to WebView (going to understand why in WebView multitasking privacy value is auto-changed after reopening the WebView)

* feat: store MultitaskingPrivacy value as "NonWrapped" so that it's the same both on mobile and WebView

* feat: open WebView correctly when "Storage Encryption" is disabled on mobile

* fix: remove unnecessary changes and comments

* chore: revert ios-related unneeded changes

* fix: let Android to correctly recognize the NativeMobileWeb environment when opening WebView on Android

* fix: correct styles for the selected state of Biometrics/Passcode options

* chore: code cleanup

* fix: store Multitasking/Screenshot Privacy in the `Default` storage value mode

* chore: remove comment

* fix: use application's method instead of directly updating Screenshot Privacy preference

* fix: remove unused variable

* fix: use methods from Application and MobileDeviceInterface in all places, remove duplicate code

* fix: hide Multitasking Privacy and Biometrics Lock in WebView

Co-authored-by: Aman Harwara
2022-09-14 13:07:10 +04:00
Aman Harwara
896bb22f64 chore: update dependencies (#1543) 2022-09-14 02:42:25 +05:30
Aman Harwara
39d0ee9181 feat: update mobile design (#1526) 2022-09-12 21:48:47 +05:30
Aman Harwara
91d5980a7e fix(web): autolock option style when selected (#1501) 2022-09-08 21:29:50 +05:30
Aman Harwara
9267e580b5 fix: note panel resizing (#1497) 2022-09-08 18:26:47 +05:30
Aman Harwara
ecd870cdaa fix: file preview & selected items panel size on mobile (#1492) 2022-09-07 18:02:37 +05:30
Aman Harwara
4617afe14e fix: footer and prefs dropdown cutoff by screen on some phones (#1491) 2022-09-07 17:36:49 +05:30
Aman Harwara
876c0e83ca fix: tag autocomplete result not clickable on iOS (#1455) 2022-08-29 20:00:42 +05:30
Aman Harwara
520b3add0f fix: editor content being hidden under keyboard on mobile (#1410) 2022-08-25 15:01:44 +05:30
Aman Harwara
779596b9ae fix: hidden file input being clickable (#1414) 2022-08-18 12:30:30 +05:30
Aman Harwara
818c3066cc fix: context menu on longpress on ios safari (#1405) 2022-08-17 20:20:18 +05:30
Aman Harwara
3d1dc8f38a feat: move search bar back to notes column (#1408) 2022-08-17 19:12:40 +05:30
Vardan Hakobyan
a25923f084 fix: remove tablet specific responsive UI (#1411)
* fix: revert tablet responsiveness UI

* fix: don't let the "Saving..." text container hide the note title on tablets

* chore: better visibility of css classes list

* fix: fixed width of notes container column on Tablets
2022-08-17 15:39:56 +04:00
Aman Harwara
2ea9f862fe fix: note tag delete button not showing on iOS (#1403) 2022-08-16 14:40:03 +05:30
Aman Harwara
54ae4365a3 fix: selecting from "Photo Library" on iOS doesn't upload (#1401) 2022-08-15 18:13:29 +05:30
Aman Harwara
77cbb6b06e fix: tags being dimmed on safari (#1389) 2022-08-10 18:34:05 +05:30
Aman Harwara
82a8bcc440 fix: tag context menu button opening notes list veiw (#1390) 2022-08-10 18:13:29 +05:30
Vardan Hakobyan
f555fbcaaa feat: tablet responsiveness (#1369)
* feat: "Notes" column responsiveness for tablets

* feat: ability to expand/collapse the navigation column, move some styles to tailwind

* feat: ability to expand/collapse the navigation column, move some styles to tailwind

* feat: icon for collapsing/expanding navigation column, style improvements

* fix: restore vertical panels resizability on large screens

* feat: tags/folders section for collapsed state

* feat: notes subsection styling in navigation section

* feat: hide rename & delete links of smart views when in collapsed mode

* fix: show notes count in bold when in collapsed mode

* fix: better padding for folders in collapsed state

* fix: smaller left padding for collapsed case

* fix: better view of expand/collapse control

* fix: hide search bar when collapsed

* fix: adjust position of "expand" control when in collapsed state

* chore: remove comments

* refactor: use `classNames` util when applying conditional css classes

* chore: shorter class names syntax

* chore: shorter syntax for conditional classes

* fix: better way of setting background color with opacity

* fix: use variable colors according to SN themes

* chore: move "colors" from "extend" section and thus override Tailwind's colors (so only SN colors will exist)

* fix: correct hover style in collapsed mode

* fix: correct upper boundary for extra small screens
2022-08-08 11:07:15 +04:00
Karol Sójko
3ce621e24c fix(mobile): imports only from snjs 2022-08-05 13:22:21 +02:00
Karol Sójko
7e251262d7 feat(web): extract ui-services package 2022-08-04 15:13:30 +02:00
Aman Harwara
58e751f986 fix: popover behaviour when clicking outside of popover (#1355) 2022-07-27 20:52:08 +05:30
Aman Harwara
9bc7533010 fix: preview modal keyboard handling (#1345) 2022-07-26 15:54:15 +05:30
Aman Harwara
7b6b2bc5b1 fix: make modals mobile-friendly (#1337) 2022-07-25 20:18:24 +05:30
Aman Harwara
2573407851 feat: responsive popovers & menus (#1323) 2022-07-21 02:20:14 +05:30
Mo
a827274ac6 refactor(web): use asterisk icon for upgrade indicator (#1318) 2022-07-14 10:06:31 -05:00
Vardan Hakobyan
0a2c90f2c1 fix(web): responsive autocomplete tag dropdown (#1250) 2022-07-12 11:32:54 +04:00
Aman Harwara
9d230d4b81 fix: focus mode & dynamic panels on small screens (#1246) 2022-07-11 19:21:03 +05:30
Aman Harwara
5393eb71fe feat: release Files view (#1236) 2022-07-09 16:07:20 +05:30
Aman Harwara
c6932ba733 fix(desktop): don't shift sections on macOS if window is small (#1235) 2022-07-09 02:07:42 +05:30
Aman Harwara
66f97f0612 feat(web): mobile-friendly (responsive) preferences UI (#1234) 2022-07-09 00:38:44 +05:30
Aman Harwara
f349744fdb fix: subtag duplication (#1227) 2022-07-08 19:47:18 +05:30
Aman Harwara
50c024e643 feat: add selected file size in context menu (#1224) 2022-07-07 15:51:16 +05:30
Aman Harwara
34719c4935 fix(web): scrollbar styles (#1219) 2022-07-07 01:17:54 +05:30
Aman Harwara
6fa6374cf2 fix(web): update modal styles (#1220) 2022-07-07 01:02:59 +05:30
Aman Harwara
2ee791259d fix: select next item when trashing or deleting item (#1218) 2022-07-06 20:32:18 +05:30
Mo
ad92392b4d chore: fix web types 2022-07-06 07:50:56 -05:00
Karol Sójko
d38071168a fix: deps on weba and mobile 2022-07-06 14:18:36 +02:00
Aman Harwara
37d765ab21 fix(web): content & navigation list scroll on mobile (#1207) 2022-07-05 20:14:01 +05:30
Karol Sójko
e5771fcbde feat: add @standardnotes/encryption package (#1199)
* feat: add @standardnotes/encryption package

* fix: mobile dependency on encryption package

* fix: order of build & lint in pr workflows

* fix: web dependency on encryption package

* fix: remove encryption package composite configuration

* fix: import order
2022-07-05 10:06:03 +02:00
Aman Harwara
21ea2ec7a1 feat: initial implementation of responsive app panes (#1198) 2022-07-04 21:20:28 +05:30
Aman Harwara
dd23135d6d fix: permissions modal width (#1195) 2022-07-02 20:20:40 +05:30
Aman Harwara
f3a6aaaf2e feat: remove attached files button from files view (#1193) 2022-07-02 17:21:51 +05:30
Aman Harwara
febca55f25 feat(web): file view auto-rename on title change(#1192) 2022-07-02 01:48:30 +05:30
Aman Harwara
7c3c59dd92 fix(web): file protected overlay not toggling off correctly (#1190) 2022-07-01 19:20:15 +05:30