diff --git a/ka-note/VERSION b/ka-note/VERSION index 83fa8bf..ccd7ac1 100644 --- a/ka-note/VERSION +++ b/ka-note/VERSION @@ -1 +1 @@ -1.1.105 \ No newline at end of file +1.1.106 \ No newline at end of file diff --git a/ka-note/client/src/lib/components/ContextPage.svelte b/ka-note/client/src/lib/components/ContextPage.svelte index fe2f988..293215f 100644 --- a/ka-note/client/src/lib/components/ContextPage.svelte +++ b/ka-note/client/src/lib/components/ContextPage.svelte @@ -14,6 +14,7 @@ import CompanyPersonsView from './CompanyPersonsView.svelte'; import RatingModal from './RatingModal.svelte'; import RatingsView from './RatingsView.svelte'; + import PersonMeetingsView from './PersonMeetingsView.svelte'; interface Props { contextId: string; @@ -118,6 +119,8 @@ {:else if activeView === 'ratings'} + {:else if activeView === 'person-meetings'} + {/if} {:else}
Context not found.
diff --git a/ka-note/client/src/lib/components/PersonMeetingsView.svelte b/ka-note/client/src/lib/components/PersonMeetingsView.svelte new file mode 100644 index 0000000..e4d8242 --- /dev/null +++ b/ka-note/client/src/lib/components/PersonMeetingsView.svelte @@ -0,0 +1,142 @@ + + +
+ {#each RANGES as r, i} + + {/each} +
+ +{#each filtered() as item (item.contextId + item.date + (item.time ?? ''))} + +{:else} +
Keine Aktivität im gewählten Zeitraum.
+{/each} diff --git a/ka-note/client/src/lib/components/ViewTabs.svelte b/ka-note/client/src/lib/components/ViewTabs.svelte index b7b5763..8cfbc1b 100644 --- a/ka-note/client/src/lib/components/ViewTabs.svelte +++ b/ka-note/client/src/lib/components/ViewTabs.svelte @@ -54,6 +54,9 @@ ...(isEmployee ? [{ id: "ratings", label: "Bewertungen" }] : []), + ...(isPerson + ? [{ id: "person-meetings", label: "Meetings" }] + : []), ], ); diff --git a/ka-note/server/ka-note.db-shm b/ka-note/server/ka-note.db-shm index 67d8ac5..c41327b 100644 Binary files a/ka-note/server/ka-note.db-shm and b/ka-note/server/ka-note.db-shm differ diff --git a/ka-note/server/ka-note.db-wal b/ka-note/server/ka-note.db-wal index 03611e6..7ad21e5 100644 Binary files a/ka-note/server/ka-note.db-wal and b/ka-note/server/ka-note.db-wal differ