MCPcopy Create free account
hub / github.com/bytebase/bytebase / generatePlanTitle

Function generatePlanTitle

frontend/src/utils/v1/issue/issue.ts:94–102  ·  view source on GitHub ↗
(
  template: "bb.plan.change-database",
  databaseNameList?: string[]
)

Source from the content-addressed store, hash-verified

92
93/** Generates a title for database change plan issues. */
94export const generatePlanTitle = (
95 template: "bb.plan.change-database",
96 databaseNameList?: string[]
97): string => {
98 return formatIssueTitle(
99 i18n.t("issue.title.change-database"),
100 databaseNameList
101 );
102};
103
104/**
105 * Gets the route name and params for an issue.

Callers 3

ProjectPlanDashboardPageFunction · 0.90
ProjectSyncSchemaPageFunction · 0.90
preCreateIssueFunction · 0.90

Calls 1

formatIssueTitleFunction · 0.85

Tested by

no test coverage detected