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

bug: fix using 'none' for chart legend position in configs #1593

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

ClementTsang
Copy link
Owner

Description

A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:

Parse "none" when checking legend position in configs. This was being done in args but not config for whatever reason.

Issue

If applicable, what issue does this address?

Closes: #1591

Testing

If relevant, please state how this was tested. All changes must be tested to work:

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, doc pages, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 41.86%. Comparing base (35a7eca) to head (2f806b9).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/options.rs 0.00% 8 Missing ⚠️
src/canvas/components/tui_widget/time_chart.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1593      +/-   ##
==========================================
- Coverage   41.86%   41.86%   -0.01%     
==========================================
  Files         114      114              
  Lines       17668    17672       +4     
==========================================
+ Hits         7397     7398       +1     
- Misses      10271    10274       +3     
Flag Coverage Δ
macos-12 37.27% <0.00%> (-0.01%) ⬇️
ubuntu-latest 43.62% <0.00%> (-0.01%) ⬇️
windows-2019 37.22% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ClementTsang ClementTsang changed the title bug: fix using 'none' for legend position in configs bug: fix using 'none' for chart legend position in configs Sep 12, 2024
@ClementTsang ClementTsang merged commit 3edf430 into main Sep 12, 2024
36 checks passed
@ClementTsang ClementTsang deleted the fix_none_legend_config branch September 12, 2024 09:23
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.

memory_legend = "none" or network_legend = "none" flag in configuration file does not work.
1 participant