Skip to content

Return jsx for BackupGanttPlot label instead of format string #159

@phrdang

Description

@phrdang

Currently in BackupGanttPlot.jsx we have this code:

return `
      <strong>Duration</strong>: ${durationStr}<br/>
      <strong># of backups</strong>: ${numBackups}<br/>
      <strong>Start</strong>: ${startTimeStr}<br/>
      <strong>End</strong>: ${endTimeStr}
    `;

For this issue we want to return JSX instead of a format string just for better readability/maintainability/preventing typos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersjavascriptPull requests that update javascript codemaintenanceChanges pertaining the maintenance, code quality, CI/CD, developer quality of life, etc.tool-trackPertains to the Assignment Snapshots tool/web app (src/snapshots-app)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions