New fullscreen chat WIP:

* Fullscreen chat: now uses a custom page (in other words: when opening the chat in a new tab, you will have the Peertube menu). WIP
* some code refactoring (getBaseRoute moved to util/uri, ...)
This commit is contained in:
John Livingston
2023-12-27 12:48:45 +01:00
parent 17bd8a0716
commit bd695bdb27
10 changed files with 151 additions and 37 deletions

View File

@ -21,6 +21,12 @@ interface InitConverseJSParams {
forceDefaultHideMucParticipants?: boolean
}
interface InitConverseJSParamsError {
isError: true
code: 404 | 403 | 500
message: string
}
interface ProsodyListRoomsResultError {
ok: false
error: string
@ -87,6 +93,7 @@ interface ChannelConfiguration {
export type {
ConverseJSTheme,
InitConverseJSParams,
InitConverseJSParamsError,
ProsodyListRoomsResult,
ProsodyListRoomsResultRoom,
ChannelInfos,