Increase override import/export rate step from 0.01 to 0.1#3871
Merged
springfall2008 merged 3 commits intomainfrom May 7, 2026
Merged
Increase override import/export rate step from 0.01 to 0.1#3871springfall2008 merged 3 commits intomainfrom
springfall2008 merged 3 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/springfall2008/batpred/sessions/e82421e4-b9c2-41ed-8b81-520b24d6f4f0 Co-authored-by: springfall2008 <48591903+springfall2008@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add customizable step for import/export rates adjustment
Increase override import/export rate step from 0.01 to 0.1
May 5, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the plan web UI’s manual rate override input to use a larger increment step, making it faster to nudge import/export override rates via the number input spinner controls.
Changes:
- Increased the
<input type="number">stepfor override import/export rate from0.01to0.1in the plan renderer JS.
| html += `<div id="${dropdownId}" class="dropdown-content">`; | ||
| html += `<label>Override ${type} rate:</label>`; | ||
| html += `<input type="number" id="rate_${dropdownId}" value="${inputValue}" step="0.01">`; | ||
| html += `<input type="number" id="rate_${dropdownId}" value="${inputValue}" step="0.1">`; |
Contributor
Author
There was a problem hiding this comment.
Fixed in 16f0d65. inputValue is now rounded to 1 decimal place (parseFloat((…).toFixed(1))), so it's always aligned with step="0.1" and browsers won't snap on the first arrow click.
Agent-Logs-Url: https://github.com/springfall2008/batpred/sessions/d65c2fea-3b95-4fd7-a201-f043d618409e Co-authored-by: springfall2008 <48591903+springfall2008@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The up/down arrows in the plan UI's override rate popup incremented by
0.01p, requiring 100 clicks to adjust a rate by 1p — making manual export forcing impractical.Change
web_helper.py—renderRateCell: Changed thestepattribute on the rate<input type="number">from0.01to0.1.Each arrow click now moves the rate by
0.1p, so nudging export rate up by 1p takes 10 clicks instead of 100.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
gitlab.com/usr/lib/git-core/git-remote-https /usr/lib/git-core/git-remote-https origin REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either: