New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
additional safety checks for config version #716
Conversation
f57ee5b
to
3c9b6bd
Compare
3c9b6bd
to
801d33c
Compare
// In practice, this should never be thrown because we should have checked the version | ||
// while loading the config, and the version number can never change after a load+migration. | ||
// Still, as a safety check, we'll throw here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I now understand why this was here... the blocking version check doesn't actually happen when loading the config, it happens when triggering validation. This check was designed specifically to warn CLI users... I just completely overlooked the comment at the top that says exactly this. I think we should basically revert this PR, but I'm going to tweak it a little bit just to avoid this confusion again in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see -- the CLI cannot migrate the config, but the GUI does, because the GUI gives you an immediate representation of what it looks like migrated. This comment makes more sense now.
* additional safety checks for config version * Partial PR reversion and comments for clarity. --------- Co-authored-by: HEdingfield <hylton@groupagree.com>
* additional safety checks for config version * Partial PR reversion and comments for clarity. --------- Co-authored-by: HEdingfield <hylton@groupagree.com>
* WIP: editable tables * support aliases and fix provider * clean-up * swap transfer/vote% column, and by by fix (#720) * additional safety checks for config version (#716) * additional safety checks for config version * Partial PR reversion and comments for clarity. --------- Co-authored-by: HEdingfield <hylton@groupagree.com> * lock UI while edit in progress * Use pop-up for inline alias editing * add GUI label back for Provider * PR comments, linting * also disable all buttons * don't eat semicolons * look up disabled items via css selector * add instructions * Helper text tweaks. * Fix preceding whitespace before aliases --------- Co-authored-by: HEdingfield <hylton@groupagree.com>
closes #712
see commentary in Issue