Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/rdmp 271 Update catalogue overview #2107

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

JFriel
Copy link
Collaborator

@JFriel JFriel commented Jan 6, 2025

Proposed Change

Summarise your proposed changes here, including any notes for reviewers.

Type of change

What types of changes does your code introduce? Tick all that apply.

  • Bugfix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation-Only Update
  • Other (if none of the other choices apply)

Checklist

By opening this PR, I confirm that I have:

  • Ensured that the PR branch is in sync with the target branch (i.e. it is automatically merge-able)
  • Created or updated any tests if relevant
  • Have validated this change against the Test Plan
  • Requested a review by one of the repository maintainers
  • Have written new documentation or updated existing documentation to detail any new or updated functionality and how to use it
  • Have added an entry into the changelog

private List<CatalogueItem> _dateColumns;
private static readonly string[] frequencies = new[] { "Day", "Month", "Year" };

private AreaChartUI areaChartUI;

Check notice

Code scanning / CodeQL

Missed 'readonly' opportunity Note

Field 'areaChartUI' can be 'readonly'.
lblLastDataLoad.Text = latestDataLoad ?? "No Successful Data Loads";
var extraction = _overview.GetLatestExtraction();
lblLatestExtraction.Text = extraction ?? "Catalogue has not been extracted";
lblRecords.Text = $"{_overview.GetNumberOfRecords().ToString()} Records";

Check notice

Code scanning / CodeQL

Redundant ToString() call Note

Redundant call to 'ToString' on a String object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant