refactor: replace magic names, extract animations, and rename vars - #187
Merged
Merged
Conversation
Reviewer's GuideThis refactor removes magic constants and overly qualified references by introducing type-safe profile import modes, shared animation helpers, and centralized declarative Official MRS preset metadata, while preserving the existing UI, routing, and runtime behavior. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. The refactor changes how routing presets and proxy rules are constructed, so an unnoticed mistake could persist an incorrect direct/proxy policy in generated user configurations, exposing traffic or breaking connectivity. Reverting the code would not undo configurations already generated, although regeneration can repair them.
YumeLira
added this pull request to stack #190
September 27, 2026 10:44
YumeYuka
force-pushed
the
refactortract-animations-rename-vars
branch
from
September 27, 2026 12:09
a6faac2 to
c77c63b
Compare
YumeYuka
approved these changes
Sep 27, 2026
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 by Sourcery
Refactor shared UI behavior and routing preset configuration to use typed models, centralized constants, and reusable helpers.
Enhancements: