refactor(v2): rename V2 interface to Fluent and simplify command names

- Rename "V2 interface" to "Fluent interface" in settings and notices
- Simplify command and ribbon names by removing redundant "Task Genius" prefix
- Fix icon alignment in navigation by adding center alignment
This commit is contained in:
Quorafind 2025-09-24 13:39:57 +08:00
parent 013f5d954d
commit c096c6c952
3 changed files with 6 additions and 5 deletions

View file

@ -70,9 +70,9 @@ export function renderBetaTestSettingsTab(
new Notice(
value
? t(
"V2 interface enabled. Use the command 'Open Task View V2' to launch."
"Fluent interface enabled. Use the command 'Open Task View V2' to launch."
)
: t("V2 interface disabled.")
: t("Fluent interface disabled.")
);
});
});
@ -107,7 +107,7 @@ export function renderBetaTestSettingsTab(
// V2 Sidebar Other Views overflow threshold
new Setting(containerEl)
.setName(t("V2: Max Other Views before overflow"))
.setName(t("Fluent: Max Other Views before overflow"))
.setDesc(
t(
"Number of 'Other Views' to show before grouping the rest into an overflow menu (ellipsis)"

View file

@ -29,7 +29,7 @@ export class V2Integration {
// Add command to open Fluent view
this.plugin.addCommand({
id: "open-task-view-v2",
name: t("Open Task Genius Fluent View (Experimental)"),
name: t("Open Fluent View (Experimental)"),
callback: () => {
this.openV2View();
},
@ -39,7 +39,7 @@ export class V2Integration {
if (this.plugin.settings.experimental?.showV2Ribbon) {
const ribbonIcon = this.plugin.addRibbonIcon(
"task-genius",
t("Open Task Genius Fluent View"),
t("Open Fluent View"),
() => {
this.openV2View();
}

View file

@ -453,6 +453,7 @@
width: 16px;
height: 16px;
display: flex;
align-items: center;
}
.v2-nav-separator {