GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'dev' into main · DeepNotesApp/DeepNotes@42b9510

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps
    • app-server
      • tsconfig.json
    • client
      • package.json
      • quasar.config.js
      • src-capacitor/ios/App/App.xcodeproj
        • project.pbxproj
      • src
        • boot
          • ui.client.ts
        • code
          • stores.ts
        • components
          • MiniSidebarBtn.vue
        • layouts/PagesLayout
          • LeftSidebar
            • CurrentPath.vue
            • LeftSidebar.vue
            • RecentPages.vue
            • SelectedPages.vue
          • MainContent/DisplayUI
            • DisplayBottomRight.vue
          • MainToolbar/PagesSettingsDialog
            • GroupsTab.vue
            • InvitationsTab.vue
            • RequestsTab.vue
          • RightSidebar
            • NoteProperties
              • NoteContainerProperties.vue
              • NoteExport.vue
              • NoteMiniProperties.vue
              • NoteProperties.vue
            • PageProperties
              • GroupSettingsDialog
                • InvitationsTab
                  • InvitationsTab.vue
                • MembersTab
                  • ChangeRoleDialog.vue
                  • MembersTab.vue
                • PagesTab
                  • PagesTab.vue
                • RequestsTab
                  • RequestsTab.vue
              • PageProperties.vue
              • PageSelection.vue
              • VersionHistory.vue
            • RightSidebar.vue
        • pages/home/Help
          • Help.vue
          • Pages
            • Roadmap.vue
            • SubscriptionExpiration.vue
        • router
          • routes.ts
        • stores
          • page-selection.ts
          • ui.ts
    • collab-server
      • tsconfig.json
    • manager
      • tsconfig.json
    • realtime-server
      • tsconfig.json
    • scheduler
      • tsconfig.json
  • package.json
  • packages
    • @deeplib
      • data
        • tsconfig.json
      • db
        • tsconfig.json
      • mail
        • tsconfig.json
      • misc
        • tsconfig.json
      • tsconfig
        • base.json
        • package.json
    • @stdlib
      • base64
        • tsconfig.json
      • color
        • tsconfig.json
      • crypto
        • tsconfig.json
      • data
        • tsconfig.json
      • db
        • tsconfig.json
      • misc
        • src
          • string.ts
        • tsconfig.json
      • nestjs
        • tsconfig.json
      • redlock
        • tsconfig.json
      • testing
        • tsconfig.json
      • vue
        • tsconfig.json
  • pnpm-lock.yaml
  • tsconfig.packages.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/app-server/tsconfig.json‎

Copy file name to clipboardExpand all lines: apps/app-server/tsconfig.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33

4-
"extends": "tsconfig/base.json",
4+
"extends": "@deeplib/tsconfig/base.json",
55

66
// Necessary for ts-node-dev to work
77
"ts-node": {
Collapse file

‎apps/client/package.json‎

Copy file name to clipboardExpand all lines: apps/client/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@deepnotes/client",
33
"description": "DeepNotes",
44
"homepage": "https://deepnotes.app",
5-
"version": "1.0.20",
5+
"version": "1.0.21",
66
"author": "Gustavo Toyota <[email protected]>",
77
"dependencies": {
88
"@_ueberdosis/prosemirror-tables": "~1.1.3",
Collapse file

‎apps/client/quasar.config.js‎

Copy file name to clipboardExpand all lines: apps/client/quasar.config.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = configure(function (ctx) {
8484
// https://github.com/quasarframework/quasar/tree/dev/extras
8585
extras: [
8686
// 'ionicons-v4',
87-
'mdi-v5',
87+
'mdi-v7',
8888
// 'fontawesome-v6',
8989
// 'eva-icons',
9090
// 'themify',
Collapse file

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

Copy file name to clipboardExpand all lines: apps/client/src-capacitor/ios/App/App.xcodeproj/project.pbxproj
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
360360
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
361361
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
362-
MARKETING_VERSION = 1.0.20;
362+
MARKETING_VERSION = 1.0.21;
363363
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
364364
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
365365
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -386,7 +386,7 @@
386386
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
387387
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
388388
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
389-
MARKETING_VERSION = 1.0.20;
389+
MARKETING_VERSION = 1.0.21;
390390
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
391391
PRODUCT_NAME = "$(TARGET_NAME)";
392392
PROVISIONING_PROFILE_SPECIFIER = "";
Collapse file

‎apps/client/src/boot/ui.client.ts‎

Copy file name to clipboardExpand all lines: apps/client/src/boot/ui.client.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ export default boot(({ store }) => {
2525
internals.localStorage.getItem('currentPathExpanded') !== 'false';
2626
uiStore(store).recentPagesExpanded =
2727
internals.localStorage.getItem('recentPagesExpanded') !== 'false';
28+
uiStore(store).selectedPagesExpanded =
29+
internals.localStorage.getItem('selectedPagesExpanded') === 'true';
2830
});
Collapse file

‎apps/client/src/code/stores.ts‎

Copy file name to clipboardExpand all lines: apps/client/src/code/stores.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { useAuthStore } from 'src/stores/auth';
44
import { usePagesStore } from 'src/stores/pages';
55
import { useUIStore } from 'src/stores/ui';
66

7-
function makeStoreFunc<T extends (...args: any[]) => any>(storeDefinition: T) {
7+
export function makeStoreFunc<T extends (...args: any[]) => any>(
8+
storeDefinition: T,
9+
) {
810
let _store: ReturnType<T>;
911

1012
return (pinia?: Pinia): ReturnType<T> => {
Collapse file

‎apps/client/src/components/MiniSidebarBtn.vue‎

Copy file name to clipboardExpand all lines: apps/client/src/components/MiniSidebarBtn.vue
+55-4Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,24 @@
55
:active="active"
66
v-ripple
77
:disable="disable"
8+
v-bind="{
9+
...$attrs,
10+
11+
onClick: (...args) => onClick(args, $attrs),
12+
}"
813
>
914
<q-item-section avatar>
10-
<q-icon :name="icon" />
15+
<q-circular-progress
16+
v-if="loading"
17+
indeterminate
18+
size="20px"
19+
style="margin-left: 2px"
20+
/>
21+
22+
<q-icon
23+
v-else
24+
:name="icon"
25+
/>
1126
</q-item-section>
1227

1328
<q-tooltip
@@ -25,11 +40,47 @@
2540
</q-item>
2641
</template>
2742

28-
<script setup lang="ts">
29-
defineProps<{
43+
<script lang="ts">
44+
export default {
45+
inheritAttrs: false,
46+
};
47+
48+
export interface MiniSidebarBtnProps extends QItemProps {
49+
delay?: boolean;
3050
active?: boolean;
3151
icon: string;
3252
tooltip: string;
3353
disable?: boolean;
34-
}>();
54+
}
55+
</script>
56+
57+
<script setup lang="ts">
58+
import { sleep } from '@stdlib/misc';
59+
import type { QItemProps } from 'quasar';
60+
61+
const props = defineProps<MiniSidebarBtnProps>();
62+
63+
const loading = ref(false);
64+
65+
async function onClick(args: any[], attrs: any) {
66+
if (attrs.onClick == null) {
67+
return;
68+
}
69+
70+
args[0].preventDefault();
71+
72+
loading.value = true;
73+
74+
if (props.delay) {
75+
await sleep(500);
76+
}
77+
78+
try {
79+
await attrs.onClick(...args);
80+
} catch (error) {
81+
mainLogger.error(error);
82+
}
83+
84+
loading.value = false;
85+
}
3586
</script>
Collapse file

‎apps/client/src/layouts/PagesLayout/LeftSidebar/CurrentPath.vue‎

Copy file name to clipboardExpand all lines: apps/client/src/layouts/PagesLayout/LeftSidebar/CurrentPath.vue
+13-20Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
<template>
2-
<q-toolbar style="padding: 0; background-color: #141414; min-height: 50px">
2+
<q-toolbar
3+
style="
4+
padding: 0;
5+
background-color: #141414;
6+
min-height: 0;
7+
overflow: hidden;
8+
"
9+
>
310
<DeepBtn
411
flat
5-
style="width: 100%; height: 50px; border-radius: 0"
12+
style="width: 100%; height: 32px; min-height: 0; border-radius: 0"
613
no-caps
714
@click="negateProp(uiStore(), 'currentPathExpanded')"
815
>
9-
<div style="width: 100%; display: flex; align-items: center">
10-
<q-avatar style="margin-left: -8px">
16+
<div style="width: 100%; height: 0; display: flex; align-items: center">
17+
<q-avatar style="margin-top: -1px; margin-left: -8px">
1118
<q-icon
1219
name="mdi-map-marker-radius"
13-
size="26px"
20+
size="20px"
1421
/>
1522
</q-avatar>
1623

@@ -19,30 +26,16 @@
1926
margin-left: -2px;
2027
text-align: left;
2128
color: rgba(255, 255, 255, 0.85);
22-
font-size: 15.2px;
29+
font-size: 13.5px;
2330
"
2431
>
2532
Current path
2633
</q-toolbar-title>
2734
</div>
28-
29-
<q-tooltip
30-
v-if="!uiStore().leftSidebarExpanded"
31-
anchor="center right"
32-
self="center left"
33-
max-width="200px"
34-
transition-show="jump-right"
35-
transition-hide="jump-left"
36-
>
37-
<div style="font-weight: bold; font-size: 14px">Current path</div>
38-
</q-tooltip>
3935
</DeepBtn>
4036
</q-toolbar>
4137

4238
<q-list
43-
:class="{
44-
mini: !uiStore().leftSidebarExpanded,
45-
}"
4639
style="
4740
height: 0;
4841
overflow-x: hidden;
Collapse file

‎apps/client/src/layouts/PagesLayout/LeftSidebar/LeftSidebar.vue‎

Copy file name to clipboardExpand all lines: apps/client/src/layouts/PagesLayout/LeftSidebar/LeftSidebar.vue
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,21 @@
3131
/>
3232

3333
<RecentPages />
34+
35+
<q-separator
36+
style="background-color: rgba(255, 255, 255, 0.15) !important"
37+
/>
38+
39+
<SelectedPages />
3440
</q-drawer>
3541
</template>
3642

3743
<script setup lang="ts">
3844
import { listenPointerEvents } from '@stdlib/misc';
39-
import CurrentPath from 'src/layouts/PagesLayout/LeftSidebar/CurrentPath.vue';
4045
46+
import CurrentPath from './CurrentPath.vue';
4147
import RecentPages from './RecentPages.vue';
48+
import SelectedPages from './SelectedPages.vue';
4249
4350
function resizeLeftSidebar(event: PointerEvent) {
4451
listenPointerEvents(event, {
Collapse file

‎apps/client/src/layouts/PagesLayout/LeftSidebar/RecentPages.vue‎

Copy file name to clipboardExpand all lines: apps/client/src/layouts/PagesLayout/LeftSidebar/RecentPages.vue
+13-17Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
<template>
2-
<q-toolbar style="padding: 0; background-color: #141414">
2+
<q-toolbar
3+
style="
4+
padding: 0;
5+
background-color: #141414;
6+
min-height: 0;
7+
overflow: hidden;
8+
"
9+
>
310
<DeepBtn
411
flat
5-
style="width: 100%; height: 50px; border-radius: 0"
12+
style="width: 100%; height: 32px; min-height: 0; border-radius: 0"
613
no-caps
714
@click="negateProp(uiStore(), 'recentPagesExpanded')"
815
>
9-
<div style="width: 100%; display: flex; align-items: center">
10-
<q-avatar style="margin-left: -8px">
16+
<div style="width: 100%; height: 0; display: flex; align-items: center">
17+
<q-avatar style="margin-top: -1px; margin-left: -8px">
1118
<q-icon
1219
name="mdi-history"
13-
size="26px"
20+
size="20px"
1421
/>
1522
</q-avatar>
1623

@@ -19,23 +26,12 @@
1926
margin-left: -2px;
2027
text-align: left;
2128
color: rgba(255, 255, 255, 0.85);
22-
font-size: 15.2px;
29+
font-size: 13.5px;
2330
"
2431
>
2532
Recent pages
2633
</q-toolbar-title>
2734
</div>
28-
29-
<q-tooltip
30-
v-if="!uiStore().leftSidebarExpanded"
31-
anchor="center right"
32-
self="center left"
33-
max-width="200px"
34-
transition-show="jump-right"
35-
transition-hide="jump-left"
36-
>
37-
<div style="font-weight: bold; font-size: 14px">Recent pages</div>
38-
</q-tooltip>
3935
</DeepBtn>
4036
</q-toolbar>
4137

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.