feat(FN-1163): align command references with fn naming

- Update CLI command strings, help text, and project-resolution messaging to reference fn
- Sync core backup/store messaging and dashboard API/planning/subtask prompt examples with fn usage
- Refresh dashboard UI copy in settings, project detection, and PR guidance for consistent command naming
- Adjust CLI/dashboard tests and add a @gsxdsm/fusion changeset for the naming alignment patch
This commit is contained in:
gsxdsm
2026-04-08 11:00:32 -07:00
parent 0b9486502b
commit 102ffe6e7d
30 changed files with 77 additions and 72 deletions

View File

@@ -280,7 +280,7 @@ export function fetchGlobalSettings(): Promise<GlobalSettings> {
return api<GlobalSettings>("/settings/global");
}
/** Update global (user-level) settings. These persist across all kb projects. */
/** Update global (user-level) settings. These persist across all fn projects. */
export function updateGlobalSettings(settings: Partial<GlobalSettings>): Promise<Settings> {
return api<Settings>("/settings/global", {
method: "PUT",
@@ -507,7 +507,7 @@ export function apiFetchGitHubIssues(
});
}
/** Import a specific GitHub issue as a kb task */
/** Import a specific GitHub issue as a fn task */
export function apiImportGitHubIssue(owner: string, repo: string, issueNumber: number): Promise<Task> {
return api<Task>("/github/issues/import", {
method: "POST",
@@ -525,7 +525,7 @@ export interface BatchImportResult {
retryAfter?: number;
}
/** Batch import multiple GitHub issues as kb tasks with throttling */
/** Batch import multiple GitHub issues as fn tasks with throttling */
export function apiBatchImportGitHubIssues(
owner: string,
repo: string,
@@ -562,7 +562,7 @@ export function apiFetchGitHubPulls(
});
}
/** Import a specific GitHub pull request as a kb review task */
/** Import a specific GitHub pull request as a fn review task */
export function apiImportGitHubPull(owner: string, repo: string, prNumber: number): Promise<Task> {
return api<Task>("/github/pulls/import", {
method: "POST",

View File

@@ -85,7 +85,7 @@ export function PrSection({
Pull Request
</h4>
<div className="pr-hint pr-hint--muted">
kb is creating a pull request automatically for this task.
fn is creating a pull request automatically for this task.
</div>
</div>
);
@@ -199,7 +199,7 @@ export function PrSection({
</div>
{automationStatus === "merging-pr" && (
<div className="pr-hint pr-hint--info">
kb is merging this pull request automatically.
fn is merging this pull request automatically.
</div>
)}
{automationStatus === "awaiting-pr-checks" && (
@@ -211,7 +211,7 @@ export function PrSection({
)}
{prInfo.status === "merged" && (
<div className="pr-hint pr-hint--info">
This PR is merged. kb will finish local cleanup and move the task to Done.
This PR is merged. fn will finish local cleanup and move the task to Done.
</div>
)}
<div className="pr-footer">

View File

@@ -22,7 +22,7 @@ export interface ProjectDetectionResultsProps {
* Displays detected projects with:
* - Checkboxes for selection
* - Editable names
* - Warnings for projects without kb database
* - Warnings for projects without fn database
* - Register Selected / Register All buttons
*/
export function ProjectDetectionResults({
@@ -202,7 +202,7 @@ export function ProjectDetectionResults({
{!hasKbDb && (
<div className="detection-result-warning">
<AlertCircle size={12} />
<span>No kb database found - will be initialized</span>
<span>No fn database found - will be initialized</span>
</div>
)}
</div>

View File

@@ -569,7 +569,7 @@ export function SettingsModal({
return (
<div className="settings-scope-banner settings-scope-global">
<span>🌐</span>
<span>These settings are shared across all your kb projects.</span>
<span>These settings are shared across all your fn projects.</span>
</div>
);
}
@@ -1464,7 +1464,7 @@ export function SettingsModal({
<option value="pull-request">Create, monitor, and merge a GitHub pull request</option>
</select>
<small>
Controls what happens after a task reaches In Review. Direct mode preserves kb&apos;s current local squash-merge behavior. Pull request mode keeps the task in In Review while kb waits for GitHub reviews and required checks before merging the PR.
Controls what happens after a task reaches In Review. Direct mode preserves fn&apos;s current local squash-merge behavior. Pull request mode keeps the task in In Review while fn waits for GitHub reviews and required checks before merging the PR.
</small>
</div>
<div className="form-group">

View File

@@ -105,7 +105,7 @@ describe("SettingsModal mobile adaptations", () => {
expect(getByText("These settings only affect this project.")).toBeTruthy();
await user.click(getByText("Appearance"));
expect(getByText("These settings are shared across all your kb projects.")).toBeTruthy();
expect(getByText("These settings are shared across all your fn projects.")).toBeTruthy();
});
it("contains required mobile settings CSS overrides", () => {