SkySend Version
v2.12.0
Instance Type
Self-hosted instance
Component
Web UI
Bug Description
ENABLED_SERVICES is documented as controlling which services are active ("Set to file for file sharing only, note for notes only, or file,note for both"). I expected this to also let me restrict which note sub-types (Text, Password, Code, SSH Key) are offered in the upload UI — specifically, I only want to offer "File" and "Text", without the Password/Code/SSH Key tabs.
In practice, with ENABLED_SERVICES=file,note the web UI still shows all four note sub-types (Text, Password, Code, SSH Key). Looking at the source code, this is by design: in apps/web/src/pages/Upload.tsx the available tabs are hard-coded:
const availableTabs: Tab[] = [
...(fileEnabled ? ["file" as const] : []),
...(noteEnabled ? (["text", "password", "code", "sshkey"] as const) : []),
];
Steps to Reproduce
- Self-host SkySend with
ENABLED_SERVICES=file,note
- Open the web UI
- In the upload section, besides "File", all four note tabs are visible: Text, Password, Code, SSH Key
- Expected a way to enable only specific note types (e.g. only Text)
Expected Behavior
Setting ENABLED_SERVICES (or a similar config option) should make the corresponding tabs disappear from the upload UI.
Logs / Error Output
Screenshots
Environment
SkySend Version
v2.12.0
Instance Type
Self-hosted instance
Component
Web UI
Bug Description
ENABLED_SERVICESis documented as controlling which services are active ("Set tofilefor file sharing only,notefor notes only, orfile,notefor both"). I expected this to also let me restrict which note sub-types (Text, Password, Code, SSH Key) are offered in the upload UI — specifically, I only want to offer "File" and "Text", without the Password/Code/SSH Key tabs.In practice, with
ENABLED_SERVICES=file,notethe web UI still shows all four note sub-types (Text, Password, Code, SSH Key). Looking at the source code, this is by design: inapps/web/src/pages/Upload.tsxthe available tabs are hard-coded:Steps to Reproduce
ENABLED_SERVICES=file,noteExpected Behavior
Setting
ENABLED_SERVICES(or a similar config option) should make the corresponding tabs disappear from the upload UI.Logs / Error Output
Screenshots
Environment