Skip to content

Commit d8ed0a5

Browse files
committed
Merge branch 'dev' into main
2 parents fc861b8 + 067b441 commit d8ed0a5

File tree

29 files changed

+476
-30
lines changed

29 files changed

+476
-30
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Website: [https://deepnotes.app](https://deepnotes.app)
44

5-
DeepNotes is an open source, end-to-end encrypted visual note-taking app with deep page navigation and live collaboration.
5+
DeepNotes is an open source, end-to-end encrypted infinite canvas note-taking app with deep page navigation and live collaboration.
66

77
## Why DeepNotes?
88

9-
- **Visual note-taking:** Free yourself from the big wall of text.
9+
- **Infinite canvas note-taking:** Free yourself from the big wall of text.
1010
- **Deep page navigation:** Explore concepts in all their complexity.
1111
- **End-to-end encryption:** Keep your notes well protected.
1212
- **Live collaboration:** Create groups to collaborate with your team.

apps/client/components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module '@vue/runtime-core' {
1919
DisplayBtn: typeof import('./src/components/DisplayBtn.vue')['default']
2020
EvaluatedPasswordField: typeof import('./src/components/EvaluatedPasswordField.vue')['default']
2121
Gap: typeof import('./src/components/Gap.vue')['default']
22+
InlineGap: typeof import('./src/components/InlineGap.vue')['default']
2223
LinkURL: typeof import('./src/components/LinkURL.vue')['default']
2324
LoadingOverlay: typeof import('./src/components/LoadingOverlay.vue')['default']
2425
MiniSidebarBtn: typeof import('./src/components/MiniSidebarBtn.vue')['default']

apps/client/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<!-- Primary Meta Tags -->
1919
<meta
2020
name="description"
21-
content="DeepNotes is an open source, end-to-end encrypted visual note-taking app with bidirectional page navigation and live collaboration."
21+
content="DeepNotes is an open source, end-to-end encrypted infinite canvas note-taking app with bidirectional page navigation and live collaboration."
2222
/>
2323
<meta
2424
name="keywords"
@@ -54,7 +54,7 @@
5454
/>
5555
<meta
5656
property="og:description"
57-
content="DeepNotes is an open source, end-to-end encrypted visual note-taking app with bidirectional page navigation and live collaboration."
57+
content="DeepNotes is an open source, end-to-end encrypted infinite canvas note-taking app with bidirectional page navigation and live collaboration."
5858
/>
5959
<meta
6060
property="og:image"
@@ -76,7 +76,7 @@
7676
/>
7777
<meta
7878
property="twitter:description"
79-
content="DeepNotes is an open source, end-to-end encrypted visual note-taking app with bidirectional page navigation and live collaboration."
79+
content="DeepNotes is an open source, end-to-end encrypted infinite canvas note-taking app with bidirectional page navigation and live collaboration."
8080
/>
8181
<meta
8282
property="twitter:image"
10.1 KB
Loading
16.5 KB
Loading
28 KB
Loading
20.9 KB
Loading
15.1 KB
Loading

apps/client/src-capacitor/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,14 @@
348348
CODE_SIGN_IDENTITY = "Apple Development";
349349
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
350350
CODE_SIGN_STYLE = Manual;
351-
CURRENT_PROJECT_VERSION = 3;
351+
CURRENT_PROJECT_VERSION = 4;
352352
DEVELOPMENT_TEAM = "";
353353
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = NK86B84G2A;
354354
INFOPLIST_FILE = App/Info.plist;
355355
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
356356
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
357357
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
358-
MARKETING_VERSION = 1.0;
358+
MARKETING_VERSION = 1.0.2;
359359
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
360360
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
361361
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -375,14 +375,14 @@
375375
CODE_SIGN_IDENTITY = "Apple Development";
376376
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
377377
CODE_SIGN_STYLE = Manual;
378-
CURRENT_PROJECT_VERSION = 3;
378+
CURRENT_PROJECT_VERSION = 4;
379379
DEVELOPMENT_TEAM = "";
380380
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = NK86B84G2A;
381381
INFOPLIST_FILE = App/Info.plist;
382382
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
383383
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
384384
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
385-
MARKETING_VERSION = 1.0;
385+
MARKETING_VERSION = 1.0.2;
386386
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
387387
PRODUCT_NAME = "$(TARGET_NAME)";
388388
PROVISIONING_PROFILE_SPECIFIER = "";

apps/client/src/code/pages/composables/use-page-navigation-interception.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { splitStr } from '@stdlib/misc';
21
import { useEventListener } from '@vueuse/core';
32
import { imageResizing } from 'src/code/tiptap/image-resize/NodeView.vue';
43
import { youtubeResizing } from 'src/code/tiptap/youtube-video/NodeView.vue';
@@ -42,8 +41,8 @@ export function usePageNavigationInterception() {
4241
!(
4342
href.startsWith('/pages/') ||
4443
href.startsWith('/groups/') ||
45-
href.startsWith(`${window.location.origin}/pages/`) ||
46-
href.startsWith(`${window.location.origin}/groups/`)
44+
href.startsWith('https://deepnotes.app/pages/') ||
45+
href.startsWith('https://deepnotes.app/groups/')
4746
)
4847
) {
4948
mainLogger
@@ -58,9 +57,14 @@ export function usePageNavigationInterception() {
5857
'Link points to a DeepNotes page: prevent default action.',
5958
);
6059

61-
event.preventDefault(); // Prevent default action
60+
event.preventDefault(); // Prevent default
6261

63-
const id = splitStr(href, '/').at(-1) ?? '';
62+
const matches =
63+
href.match(/\/(?:pages|groups)\/([\w-]{21})(?:\?note=([\w-]{21}))?/) ??
64+
[];
65+
66+
const id = matches[1];
67+
const noteId = matches[2];
6468

6569
if (href.includes('/groups/')) {
6670
await internals.pages.goToGroup(id, {
@@ -71,6 +75,7 @@ export function usePageNavigationInterception() {
7175
await internals.pages.goToPage(id, {
7276
fromParent: true,
7377
openInNewTab: isCtrlDown(event),
78+
noteId,
7479
});
7580
}
7681
} catch (error) {

0 commit comments

Comments
 (0)