Skip to content

feature: Extend Graph Width options up to 1500 pixels - #49

Merged
TheWitness merged 3 commits into
developfrom
feature/graph-width-1500
Sep 30, 2026
Merged

TheWitness merged 3 commits into
developfrom
feature/graph-width-1500

Conversation

@TheWitness

Copy link
Copy Markdown
Member

Extends the Cycle plugin Graph Width setting range from a previous maximum of 700 pixels up to 1500 pixels, adding 800, 900, 1000, 1100, 1200, 1300, 1400, and 1500 pixel options in 100-pixel increments.

Changes

  • setup.php: append 800-1500 (100px steps) to the $cycle_width options array in cycle_config_arrays().
  • CHANGELOG.md: note the new width options under --- develop ---.

Validated with php -l (no syntax errors).

@TheWitness
TheWitness requested review from bmfmancini and xmacan and a balanced review from Copilot September 29, 2026 23:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused configuration and documentation changes correctly implement the described width range.

Review effort: Balanced
Findings: None

What changed in this PR

Extends Cycle Graphs’ selectable graph widths from 700 to 1500 pixels.

Changes:

  • Adds 800–1500 pixel width options in 100-pixel increments.
  • Documents the enhancement in the changelog.
File Description
setup.php Adds the new graph-width options.
CHANGELOG.md Records the feature under development.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

bmfmancini
bmfmancini previously approved these changes Sep 30, 2026
The Enforce-coverage-of-changed-lines gate reported 0/9 for the new graph
width options because pcov auto-scopes to the Composer root (cacti/) and skips
cacti/plugins/, so setup.php was never instrumented. Switch the coverage
driver to xdebug (matching the ci/coverage-xdebug rollout) so the plugin's own
sources are measured; the existing CycleConfigArraysTest already exercises the
added lines.
@TheWitness
TheWitness merged commit 637bdc5 into develop Sep 30, 2026
5 checks passed
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.

4 participants