Skip to content

Fix recipe selector ROI column sorting#430

Merged
jplacht merged 2 commits into
PRUNplanner:mainfrom
richjenks:recipe-selector-roi
May 7, 2026
Merged

Fix recipe selector ROI column sorting#430
jplacht merged 2 commits into
PRUNplanner:mainfrom
richjenks:recipe-selector-roi

Conversation

@richjenks

@richjenks richjenks commented May 5, 2026

Copy link
Copy Markdown
Contributor

Problem

Lower negative revenue options have an ROI closer to zero; however you sort, the best option is in the middle:

image

Solution

ROI actually sorts by revenue per area and negative values are hidden to prevent worse options looking better because they're closer to zero:

image

@netlify

netlify Bot commented May 5, 2026

Copy link
Copy Markdown

👷 Deploy request for prunplanner-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit e828403

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@jplacht jplacht added the improve Improves existing functionalities label May 7, 2026
@jplacht jplacht merged commit 579de50 into PRUNplanner:main May 7, 2026
5 of 6 checks passed
@richjenks richjenks deleted the recipe-selector-roi branch May 7, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve Improves existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants