Skip to content

Add help for the chart (fixes DEV-156)#549

Merged
aptiko merged 1 commit intoopenmeteo:masterfrom
aptiko:dev-156--chart-legend
Feb 19, 2026
Merged

Add help for the chart (fixes DEV-156)#549
aptiko merged 1 commit intoopenmeteo:masterfrom
aptiko:dev-156--chart-legend

Conversation

@aptiko
Copy link
Member

@aptiko aptiko commented Feb 18, 2026

Checklist:

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.47%. Comparing base (9531560) to head (4a6d05f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #549      +/-   ##
==========================================
- Coverage   97.48%   97.47%   -0.02%     
==========================================
  Files          55       55              
  Lines        3543     3528      -15     
==========================================
- Hits         3454     3439      -15     
  Misses         89       89              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aptiko
Copy link
Member Author

aptiko commented Feb 18, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@aptiko aptiko requested review from Copilot and removed request for Copilot February 18, 2026 15:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds an interactive help/information button to the chart interface that displays an annotated example chart in a modal dialog, explaining how the chart visualization works. This addresses ticket DEV-156 by moving chart documentation from a standalone documentation file into inline, user-accessible help.

Changes:

  • Added an info button (ⓘ) to the chart toolbar that opens a modal with an annotated chart example
  • Removed standalone chart documentation (doc/general/chart.rst) in favor of inline help
  • Added Greek translations for the new help content

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
enhydris/templates/enhydris/timeseries_group_detail/chart.html Added Bootstrap modal with SVG overlay annotations explaining chart behavior
enhydris/static/js/enhydris.js Added custom toolbar icon that triggers the info modal
enhydris/static/css/enhydris.css Added styles for chart legend modal, refined z-index placement, and SVG overlay positioning
enhydris/templates/enhydris/timeseries_group_detail/main-default.html Added translation string for the info button tooltip
enhydris/locale/el/LC_MESSAGES/django.po Added Greek translations for chart help text and button label
enhydris/locale/el/LC_MESSAGES/django.mo Compiled translation file
enhydris/static/images/chart-legend.png Added example chart image for the help modal
doc/index.rst Removed reference to deleted chart documentation
doc/general/chart.rst Removed standalone chart documentation file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aptiko aptiko force-pushed the dev-156--chart-legend branch from ff223de to 4a6d05f Compare February 19, 2026 16:48
@aptiko aptiko merged commit 4a6d05f into openmeteo:master Feb 19, 2026
3 checks passed
@aptiko aptiko deleted the dev-156--chart-legend branch February 19, 2026 19:21
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.

2 participants