mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(ui): upgrade audio DSP, seek, thumbnail, and voice session embeds
- Modernize %seek with track artwork thumbnail and visual progress bar - Enhance %filter with real-time DSP active status badges and card spacing - Add detailed frequency band indicators to %bassboost, %speed, and %pitch - Redesign %thumbnail with framed artwork and song metadata - Transform %leave into a structured voice session termination card - Polish %ping with categorized latency health metrics (REST, Gateway, Audio Node) - Leave %stats untouched as intended - Complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
This commit is contained in:
1 parent
8874ed1ec6
commit
4c3c04bd7d
14 files changed
+456
-119
No files matched your search
+14
-9
@@ -260,7 +260,7 @@ function buildPageEmbed(t, msg, page, activeKeys, current) {
|
||||
const lines = pageItems.map(f => {
|
||||
const isActive = activeSet.has(f.key);
|
||||
const active = isActive ? " " + t(msg, "responses.filter.activeLabel") : "";
|
||||
return `${f.emoji} **${f.label}**${active} — *${f.desc}*`;
|
||||
return `${f.emoji} **${f.label}**${active}\n *${f.desc}*`;
|
||||
});
|
||||
|
||||
const navHint = totalPages > 1
|
||||
@@ -273,21 +273,26 @@ function buildPageEmbed(t, msg, page, activeKeys, current) {
|
||||
const f = FILTERS.find(f => f.key === k);
|
||||
return f ? `${f.emoji} ${f.label}` : k;
|
||||
});
|
||||
activeSummary = `\n🔥 Active: ${activeLabels.join(" + ")}\n`;
|
||||
activeSummary = `\n🟢 **${t(msg, "responses.filter.activePrefix") || "Active:"}** ${activeLabels.join(" + ")}\n`;
|
||||
}
|
||||
|
||||
return new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: t(msg, "responses.filter.pickerTitle") })
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🎛️ ${t(msg, "responses.filter.pickerTitle")}` })
|
||||
.setDescription(
|
||||
`${trackLine}\n${activeSummary}\n` +
|
||||
lines.join("\n") +
|
||||
lines.join("\n\n") +
|
||||
navHint
|
||||
)
|
||||
.setFooter({
|
||||
text: t(msg, "responses.filter.footer", { page: page + 1, total: totalPages })
|
||||
})
|
||||
;
|
||||
text: `${t(msg, "responses.filter.footer", { page: page + 1, total: totalPages })} • ${t(msg, "responses.filter.realtimeDsp") || "Real-time DSP"}`
|
||||
});
|
||||
|
||||
if (current?.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
return embed;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user