-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b9d00d
commit c39d2b4
Showing
13 changed files
with
80 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import {ManifestOptions} from "vite-plugin-pwa"; | ||
import { ManifestOptions } from 'vite-plugin-pwa'; | ||
|
||
const manifestConfig : Partial<ManifestOptions> = { | ||
name: 'NoteSpace', | ||
short_name: 'NoteSpace', | ||
description: 'A multiplatform note management and sharing app', | ||
theme_color: '#ffffff', | ||
icons: [ | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '192x192', | ||
type: 'image/png', | ||
}, | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
} | ||
const manifestConfig: Partial<ManifestOptions> = { | ||
name: 'NoteSpace', | ||
short_name: 'NoteSpace', | ||
description: 'A multiplatform note management and sharing app', | ||
theme_color: '#ffffff', | ||
icons: [ | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '192x192', | ||
type: 'image/png', | ||
}, | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
}; | ||
|
||
export default manifestConfig; | ||
export default manifestConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import {VitePWAOptions} from "vite-plugin-pwa"; | ||
import { VitePWAOptions } from 'vite-plugin-pwa'; | ||
//import manifestConfig from "./manifest-config"; | ||
|
||
const pwaConfig : Partial<VitePWAOptions> = { | ||
registerType: 'autoUpdate', | ||
//manifest: manifestConfig, | ||
//devOptions: { | ||
// enabled: true, | ||
//} | ||
} | ||
export default pwaConfig; | ||
const pwaConfig: Partial<VitePWAOptions> = { | ||
registerType: 'autoUpdate', | ||
//manifest: manifestConfig, | ||
//devOptions: { | ||
// enabled: true, | ||
//} | ||
}; | ||
export default pwaConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 22 additions & 4 deletions
26
code/client/src/ui/pages/document/components/collaborators/Collaborators.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ export type User = UserData & { | |
|
||
export type Collaborator = UserData & { | ||
color: string; | ||
socketId: string; | ||
}; |