* feat(webui): unify the Apps catalog * fix(webui): serve all channel branding locally * fix(webui): refine Apps navigation and sidebar
25 lines
932 B
TypeScript
25 lines
932 B
TypeScript
import type { ChannelUiContribution } from "@/channel-plugins/types";
|
|
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
|
|
|
|
export default {
|
|
presentation: {
|
|
logoUrl: "/brand/channels/matrix.svg",
|
|
displayName: "Matrix",
|
|
initials: "MX",
|
|
color: "#0DBD8B",
|
|
setup: {
|
|
mode: "credentials",
|
|
docsUrl: chatAppGuideUrl("matrix"),
|
|
fields: [
|
|
{ key: "channels.matrix.homeserver", section: "connection" },
|
|
{ key: "channels.matrix.useProxy", section: "connection", control: "switch" },
|
|
{ key: "channels.matrix.userId", section: "account" },
|
|
{ key: "channels.matrix.password", section: "credentials" },
|
|
{ key: "channels.matrix.accessToken", section: "credentials" },
|
|
{ key: "channels.matrix.deviceId", section: "credentials" },
|
|
{ key: "channels.matrix.groupPolicy", section: "behavior" },
|
|
],
|
|
},
|
|
},
|
|
} satisfies ChannelUiContribution;
|