-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Early return in sse events, if current client did the request, add folder created event handler * Prevent double fetch resources * add file touched event * Fix text file thumbnails are hidden on purpose (too short) in table view but shown in tiles view
- Loading branch information
1 parent
08754db
commit e76186d
Showing
14 changed files
with
305 additions
and
61 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
changelog/unreleased/enhancement-add-sse-event-for-file-creation
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Enhancement: Implement Server-Sent Events (SSE) for File Creation | ||
|
||
We've implemented Server-Sent Events (SSE) to notify users in real-time when a file is uploaded, | ||
a new folder is created, or a file is created (e.g., a text file). | ||
With this enhancement, users will see new files automatically appear in another browser tab if they have one open or | ||
when collaborating with others in the same space. | ||
|
||
https://github.com/owncloud/web/pull/10709 | ||
https://github.com/owncloud/web/issues/9782 |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { defineStore } from 'pinia' | ||
import { ref } from 'vue' | ||
|
||
export const useClientStore = defineStore('client', () => { | ||
const clientInitiatorId = ref<string>() | ||
const setClientInitiatorId = (id: string) => { | ||
clientInitiatorId.value = id | ||
} | ||
|
||
return { | ||
clientInitiatorId, | ||
setClientInitiatorId | ||
} | ||
}) | ||
|
||
export type ClientStore = ReturnType<typeof useClientStore> |
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
Oops, something went wrong.