Repository navigation
Add per-item target Star Force to the upgrade order - #8
Merged
Merged
Conversation
An item can now carry a target star (starforce_target). When it is set above the current stars, every star up to the target is priced and ranked, not just the next one. Leaving it blank keeps the old next-star behaviour. - Each step gets a row for each plan. A step's rank score is capped at its predecessor's, so a later star never outranks the one it depends on. - A target above the item's limit (the lower of its scanned max stars and its level's cap) is saved as that limit. Ranking still clamps a target carried over to a replaced item, a reached target does nothing, and the target survives rescans and item replacement. - Steps of one item that sit next to each other in the list are shown as one combined row. "Best per item" still shows one row per item: its top upgrade plus only the target steps that directly follow it. - New route POST /equipment/<slot>/starforce-target and a target box on the item's Star Force panel, capped at the item's star limit. Text the box cannot parse shows an error instead of clearing the target. - The suggestions model version moves to 7 and now lives in one constant, scouter.suggestions.MODEL_VERSION, which the page reads from the profile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Collapse the own-modes table into one card whose header row shows the current modes with an Edit/Hide toggle. It opens when the switch is turned on and starts collapsed when modes are already set. - Merge the separate "Current Star Force" card into the cost section, which is now titled "Star Force", and shorten the custom-modes text. - Move the per-item scan button next to "Scan equipped gear…" and drop the hover hint. - Show "Edit flame stats" only on the Flame tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One input listener for the whole page lowers any whole-number field with a max (Star Force target, Hyper Stat levels, flame values, swap levels and stars, Scouter tiles) to that max as soon as the typed value goes over it. It runs before each field's own handlers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Starts the app on port 5077 so it can run beside the installed app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Send a capped flag instead of step and rank-cap note text, so the page no longer matches backend wording to merge steps. - Move step merging into its own module, separate from filtering. - Share one helper between the per-item modes and target endpoints. - Reuse star_limit in ranking and keep a typed target above the limit; ranking stops at the limit instead. - Drop row fields only tests read and bump the model version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each page and section keeps its own choice across tab switches and reloads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Summary
.claude/launch.jsonfor a local test server.Testing
pytest: 699 passed.node --test tests/js/*.cjs: 34 passed.Screenshots
Star Force detail panel
Star Force upgrade order
FD / meso list