Skip to content

Commit

Permalink
ui: update job description text and capitalization
Browse files Browse the repository at this point in the history
Changed job description for online restore from 'restored data' to
'backup data' and set capitalization to only first letter.

Epic: none

Release note: none
  • Loading branch information
kev-cao committed May 2, 2024
1 parent 6951ba0 commit 8c75479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/ccl/backupccl/restore_online.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func (r *restoreResumer) maybeCalculateTotalDownloadSpans(

if err := r.job.NoTxn().Update(ctx, func(txn isql.Txn, md jobs.JobMetadata, ju *jobs.JobUpdater) error {
md.Progress.GetRestore().TotalDownloadRequired = total
md.Progress.RunningStatus = fmt.Sprintf("Downloading %s of restored data...", sz(total))
md.Progress.RunningStatus = fmt.Sprintf("Downloading %s of backup data...", sz(total))
ju.UpdateProgress(md.Progress)
return nil
}); err != nil {
Expand Down
4 changes: 2 additions & 2 deletions pkg/ui/workspaces/cluster-ui/src/jobs/jobs.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
}

&__status,
&__running-status {
text-transform: capitalize;
&__running-status:first-letter {
text-transform: uppercase;
}
&__progress {
display: flex;
Expand Down

0 comments on commit 8c75479

Please sign in to comment.