Repository navigation
Conversation
Okay, so this is a big one. But really 99% of the changes aren't super worth looking at. The main things are just making sure that all places an error or exception is thrown, we also include a unique ErrorCodes to make our life easier
…g the connection window Futureproofing :3 If we ever add a copy button or something, we don't have to change stuff in like 30 places
So we don't get like a billion ui errors and absolutely fuck the user over
…roper login feedback
… and it throws on every update or something
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # SS14.Launcher/Views/ConnectingOverlay.xaml
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Hey thats pretty cool. |
Fildrance
left a comment
There was a problem hiding this comment.
I don't know the stuff that is missing as i don't really know launcher code too well.
There is too many changes in code for one PR imho, but thats not really critical as its all interconnected.
Lots of comments are just thoughts and recommendations, except the TryGetString for localization - launcher failes for me on that.
In general - its a very good thing to have, launcher silently failing brought a lot of sorrow to users. And some code changes look really great.
I have to notice, a lot of new ErrorCode fields on classes look off to me - i suppose this is a workaround, but i would prefer using normal control flow paths or 'Maybe' monade in extremly poor cases. non-auto-resettable field is a call for trouble...
MainWindowViewModel code looks sloppy - i would be happier with more OOP crisp and using decoration instead of direct changes in code flow. Several places in code became even harder to understand and read then before due to that.
| error-code-label = Error code: { $code } | ||
| error-code-label-exit-code = Error code: { $code } (exit code { $exit }) | ||
| error-code-label-exit-signal = Error code: { $code } (exit code { $exit }, signal { $signal }) | ||
| error-code-help = Include this code when asking for help. |
There was a problem hiding this comment.
Maybe remark somehow that text is copy-able? its not obvious for usual user from the get-go, and it can really help.
There was a problem hiding this comment.
It wasn't before and I forgot to include this
Co-authored-by: Fildrance <fildrance@gmail.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
Idk if I like this tbch. But it is ❇️future proof❇️
Thank god for riders refactor thing
I spent the better part of last night working on this, instead of being responsible and sleeping :3
See ERROR_CODES.md for list of implemented codes
Closes #47, closes #20, closes #100, closes #292
Body is a TODO, merge as the last part of the v0.41.0 milestone