Commit Graph

963 Commits

Author SHA1 Message Date
Mo
fb848fa6d0 feat: tag breadcrumbs in nav bar (#540)
* feat: with tag breadcrumbs in the tag list

* fix: nested padding and subtitle conditional

* fix: types
2022-02-01 13:52:58 -06:00
Vardan Hakobyan
3b89c655bd feat: new UI for note cell (#537)
* chore: add support of svg files

* chore: replace original `no-shadow` rule to stop receiving false positive warnings

* feat: show editor icons and note status icons (pinned, deleted, etc.)

* refactor: store new colors in themes

* fix: handle missing icons case for note cell

* fix: get icon color and tint from snjs, remove duplicate color (`#086DD6`) from themes

* feat: let users to hide the editor icons

* chore: snjs version bump
2022-01-31 19:01:57 +04:00
Laurent Senta
34054cc98d feat: tag folders basics (#526)
* feat: add nested tags rendering

* style: refactor & clean code

* build: ios-related build changes

* fix: remove tags bottom spacing for Android

* fix: add bottom padding on Android to last note only

* chore: revert unnecessary changes
2022-01-20 18:43:15 +04:00
Mo
bbee96b47c fix: dont update previews if changing note title 2022-01-10 10:02:08 -06:00
Mo
2adbfcefb5 fix: insert template note when creating with default editor 2022-01-10 09:57:24 -06:00
Mo
9ed6c6b0f1 feat: incorporate note controllers from snjs; fixes #525 2022-01-06 10:51:47 -06:00
Mo
3767ff1c19 fix: android webview no should load request, third party editor downloads 2021-12-31 12:45:48 -06:00
Mo
e200df214c fix: remove reachability service 2021-12-30 18:46:20 -06:00
Mo
21a012318d fix: show loading status when downloading editor 2021-12-30 18:36:17 -06:00
Mo
ce5e89ac1d feat/offline-editors (#517)
* feat: offline editors (#392)

* feat: add react-native-zip-archive dependency

* feat: download and extract offline editors

* feat: use offline editor path as webview source

* fix: change function name

* fix: move deactivate editor to compose unmount

* fix: add origin whitelist

* fix: add read access url

* fix: increase load end timeout to remove theme load flicker

* fix: set online url on getOfflineEditor error

* fix: set editor width and scale

* fix: add timeout to remove download message flicker

* fix: deactivate component when switching editors

* fix: use online url if process is terminated

* fix: check if component mounted before state update

* fix: decrease loading editor message timeout

* feat: remove editor loading message on ThemesActivated action (#415)

* chore(version-snjs): 2.0.76

* feat: remove loading editor message on ActivateThemes action

* fix: offline editors issues (#416)

* fix: read main from package.json

* fix: reload editor when switching after editor load failure

* fix: check offlineOnly before setting online url

* fix: prevent editor download if another download is in progress

* fix: live item deinit called more than once (#423)

* feat: check for and download editor updates

* fix: access denied webview errors on Android 10

* feat: serve offline editors from local static server (#472)

* feat: serve offline editors from local static server

* fix: use document directory for both OS

* fix: download error handling

* refactor: use forked repo for react-native-static-server

* chore: add logs and temporarily enable them for dev

* feat(wip): integrity verification

* refactor: component manager handling downloads

* feat(wip): functional component viewer

* feat: handle local themes

* chore: disable logging

* improve: use existing function

* fix: root url first load

* fix: types

* chore: cleanup
2021-12-30 15:25:39 -06:00
Mo Bitar
88404609cc fix: use first party endpoint for network reachability 2021-12-22 12:09:23 -06:00
Mo Bitar
3b29a1522c fix: editor reference leak when switching editors repeatedly 2021-12-10 10:26:01 -06:00
Johnny A
7153a7654f fix: display message if using advanced editors on iOS < 11 (#512)
* fix: display message if using advanced editors on iOS < 11

* Update src/screens/Compose/ComponentView.tsx

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

* fix: rename from checkIfSupportsAdvancedEditors to warnIfUnsupportedEditors

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
Co-authored-by: Mo <mo@standardnotes.org>
2021-12-06 10:46:39 -04:00
Mo Bitar
6012c7f9f3 chore: merge master 2021-12-05 10:08:37 -06:00
Mo Bitar
9359f55f55 fix: filter out deleted themes before attempting to display 2021-12-05 10:07:14 -06:00
Mo Bitar
d483769306 fix: react native URL polyfill 2021-11-15 15:51:36 -06:00
Mo Bitar
0937348514 chore: lint 2021-11-14 14:38:01 -06:00
Mo Bitar
66367f4b01 fix: const declaration location 2021-11-09 08:29:59 -06:00
Mo Bitar
eb589daee7 fix: enable v4 features 2021-11-09 08:25:03 -06:00
Mo Bitar
ae505ca613 fix: function call 2021-11-08 12:14:12 -06:00
Johnny A
cafe222fbb fix: export backup to file on Android (#506)
* fix: set requestLegacyExternalStorage to true

* fix: refactor permission request for storage

* refactor: backups service

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-04 12:33:02 -04:00
Johnny A
568accd5da fix: note/tag count not updated properly when deleting all notes (#507)
* fix: use optional chaining on editorGroup

* fix: note/tag count not updated properly when deleting all notes

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-04 12:31:06 -04:00
Johnny A
49e265d331 fix: use Base64.encode for URL safe stringified data (#505)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-11-04 12:21:22 -04:00
Antonella Sgarlatta
0bf103db81 fix: ts errors (#490) 2021-09-15 17:11:53 -03:00
Antonella Sgarlatta
503d239560 chore(version-snjs): 2.14.4 2021-09-15 15:42:43 -03:00
Johnny A
8ea1936cd3 fix: show editor name when editor fails to load (#483)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-09-09 10:34:11 -04:00
Johnny A
d26f1cf82e fix: remove trailing slash on defaultHost url (#482)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-09-08 10:06:29 -04:00
Johnny A
4a3975d32a fix: no highlight when scrolling through note list (#479)
* fix: no highlight when scrolling through note list

* chore: increment version

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-09-07 21:04:32 -04:00
Vardan Hakobyan
f18b1f1949 Feat/provide app version to snapplication (#476)
* feat: provide version when creating application

* chore: provide old snjs version until the snjs pr is merged

* chore: put correct snjs version

* chore: put latest snjs and sncrypto-common versions

* fix: add dummy implementations to required methods
2021-09-06 10:38:56 +04:00
Antonella Sgarlatta
ff129de5e5 fix: improve TextView padding and apply only to iOS 2021-07-28 15:57:55 -03:00
Antonella Sgarlatta
7a4986b45d fix: fixes #470 2021-07-28 15:19:15 -03:00
Antonella Sgarlatta
0c824f1475 fix: use console.error to log backup errors 2021-07-28 14:16:09 -03:00
Antonella Sgarlatta
23676d5e51 fix: add active tag to new note when not using plain editor 2021-07-19 13:06:10 -03:00
Antonella Sgarlatta
fed95918ac chore(version-snjs): 2.7.20 2021-07-15 14:05:59 -03:00
Antonella Sgarlatta
e8d6164482 chore(version-snjs): 2.7.19 - permissions handling 2021-07-14 19:01:17 -03:00
Antonella Sgarlatta
f18ef349c7 feat: change restore locked note message 2021-07-14 12:38:35 -03:00
Antonella Sgarlatta
595f458b10 chore(version-snjs): 2.7.18 2021-07-13 19:19:16 -03:00
Antonella Sgarlatta
81564aef80 fix: prevent restoring version if note is locked 2021-07-12 19:33:35 -03:00
Antonella Sgarlatta
0247fa2280 fix: remove loading message on sync after registering 2021-07-06 17:32:30 -03:00
Antonella Sgarlatta
b3ae6ac665 fix: save backup to external storage if write permission is denied 2021-07-01 19:28:25 -03:00
Johnny A
c1c7ca8103 feat: show deprecation notice (#459)
* feat: show deprecation notice

* chore(deps): update snjs

* fix: show deprecation message from extension

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-07-01 15:42:44 -04:00
Antonella Sgarlatta
69403d88f7 fix: fix type 2021-06-28 16:08:51 -03:00
Antonella Sgarlatta
430717e35e chore: update links to .com 2021-06-28 15:31:06 -03:00
Johnny A
3c94913571 fix: import file on iOS (#449)
* fix: decode selected file uri on iOS

* fix: remove exception from alert

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-06-21 14:37:30 -04:00
Antonella Sgarlatta
7ee3f07636 Merge branch 'master' into develop 2021-06-17 12:01:42 -03:00
Antonella Sgarlatta
0ce2418da5 chore(version-snjs): 2.7.2 2021-06-17 12:00:36 -03:00
Antonella Sgarlatta
567c76bdbd fix: save backups to downloads directory 2021-06-16 17:44:41 -03:00
Antonella Sgarlatta
ce7a59f473 fix: change backup destination to document directory 2021-06-15 15:44:01 -03:00
Antonella Sgarlatta
7a74c5662a fix: change lock mentions to prevent editing (#424)
* fix: change lock mentions to prevent editing

* fix: live item deinit called more than once

* fix: match uppercase to v4 design

* fix: remove unwanted change
2021-06-09 11:53:34 -03:00
Antonella Sgarlatta
2590a02a85 feat: revert offline editors (#443)
* Revert "fix: access denied webview errors on Android 10"

This reverts commit f171308aa6.

* Revert "feat: check for and download editor updates"

This reverts commit bce7218a4b.

* Revert "fix: live item deinit called more than once (#423)"

This reverts commit fb58bfc3ca.

* Revert "fix: offline editors issues (#416)"

This reverts commit 08930bdf73.

* Revert "feat: remove editor loading message on ThemesActivated action (#415)"

This reverts commit 19d535330d.

* Revert "fix: decrease loading editor message timeout"

This reverts commit d57361745b.

* Revert "fix: check if component mounted before state update"

This reverts commit 439df5f14c.

* Revert "feat: offline editors (#392)"

This reverts commit d2fe25d3ab.
2021-06-08 17:38:27 -03:00