-
Notifications
You must be signed in to change notification settings - Fork 118
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
Better Better Server Browser (somewhat) #645
base: main
Are you sure you want to change the base?
Better Better Server Browser (somewhat) #645
Conversation
to the description + mods label of the serevr details panel
+ Removed unused code part + other tiny things
Fixed a bug with the map selection menu scroll bar
Now, if you left-click on the Server description or required mod, you can scroll up and down to navigate through the displayed text, if it's possible.
Personally I would find it better if you PRed your fixes separately Also I remember @uniboi said he was also working on improvements to the server browser |
The only changes I made that are not auditions are:
I don't think these two small changes deserve a pull request on their own, as these two issues only seem to occur (I believe) for non-English localizations. |
Northstar.Client/mod.json
Outdated
"DefaultValue": "0" | ||
}, | ||
{ | ||
"Name": "filter_map", |
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.
Unintentional indentation change? Like only default value was changed but more stuff shows up in diff
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.
Is this an issue that I need to fix, or is it just a remark ?
And no, I don't see why GitHub considers every line as replaced instead of modified.
Also, my indentations are done with tabs and a size of 4.
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.
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.
Okay It's fixed
The thing with making multiple smaller PRs is that it means that these smaller changes are not blocked by some issue in the other parts of the code. As splitting up a PR is kinda annoying as the person submitting it, my personal approach when I submit a bigger PR is to have one big PR with all the changes and then making new smaller PRs with some of those changes that can be added independently. Then when the smaller changes are merged, I update the original big PR to be up-to-date with main and once a bunch of the smaller changes are merged, the diff of the big PR gets smaller and smaller until there's only one logical change left ^^ This way smaller stuff gets merged faster but I still got one big "batteries included" PR that showcases all of the changes. |
fix unintentional indentation change.
I can split my PR into smaller PRs if you insist, but let me know what you want me to PR.
|
fix unintentional indentation change 2.
Northstar.Client/mod/scripts/vscripts/ui/menu_sb_mode_select.nut
Outdated
Show resolved
Hide resolved
I'm not sure what this file is for. I had added that line of code at the beginning because `MenuMapSelect_Init()` was there, and I was using this menu as a reference to create the map select menu for the server browser. However, after testing, I found that the menu works perfectly fine without that line, so I decided to remove it.
yes I'm working on a complete rewrite of the server browser |
Each fix/feature should preferably be its own PR |
The easiest way to do this btw, is to just branch off of this branch, then remove all the changes except the one you want to PR, PR that, and then revert merge conflicts on this PR here once the other one is merged. Rinse and repeat (and maybe even parallelise) and by the end everything should be merged ^^ |
I have been on vacation for about 2 weeks and I have 1 week left, so I am unable to work on this at the moment. |
Thanks for @Zanieon for bumping this PR and putting it back on my radar <3 Anyway, to increase the chances of this being merged I highly recommend making smaller PRs for some of the fixes. This way we can get parts of this merged faster than having to go through the whole thing all at once which tends to scare people away from reviewing/testing ^^" |
Drafting this until PR actually go anywhere (conflicts). |
Better Server Browser
The goal of this PR, as the name suggests, is to revamp the server browser.
I recommend merging this PR before mine: #624
Interesting thing to know:
Before:
After :
Need an opinion:
TODO
Video and other stuff
Below, you will find a video showcasing the changes made. The video is made using V1.1.0
titanfall2-20230531-20384810_C8j9Umhp.mp4
You can also download this mod (V1.7.0), which does the same thing. (https://northstar.thunderstore.io/package/TritonSupreme/BetterServerBrowser/)