-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: Handle VanillaPlus differently in the mod browser #241
Conversation
Hmm, never thought to add special conditions for VanillaPlus, but I do agree that it's better with it... Not entirely convinced on what method would actually be best here, I do think some sort of tooltip or similar would make this better, simply disabling the button may be confusing to some, I'm open to any other suggestions... |
sure
Another idea would be implementing VanillaPlus support directly, but that would need support for Profiles and as far as I heard the idea is for VanillaPlus to turn into a N* fork for better vanilla compatibility, so wasted effort. |
Personally I think the "Guide" button idea is good, would it be best to open the Thunderstore page? Or is there a different page that's preferred for the guide? If so, we could also simply remove both the "Install" and "View" button and replace them with a "Guide" button.... |
The Github links to the Thunderstore and the Thunderstore to the github, and both have the same content. |
also, should the change be hardcoded to just VanillaPlus or should it be turned into an object that contains the relevant information? |
In that case, I suppose you're right, simply changing "Install" to "Guide" would do it, linking to the GitHub
I would personally add something like this: let requires_guide = {
<normalized mod name>: "<link to guide>"
} Even if currently it's only needed for VanillaPlus... Assuming you're not too familiar with Viper's codebase, by normalized I mean this: Not sure if |
Nice, however, I do personally think it might be best to simply open it in the default browser, instead of using the mod previewer... And is there a reason we're linking to the blob version of the |
That's a fair point I didn't really consider, and the blob is better with that in mind... I suppose we just need the missing localizations then? (@XNovaDelta, @Alystrasz, @KenMizz), and then I'll get this merged soon thereafter... |
If I'm not mistaken, the only missing key would be |
Surely this link would be better for the install guide? |
I think that might also be an idea, although it is possible a browser might not decide to navigate to the right area, or a fullscreen/resize will make it not be scrolled down to the |
idk the README display on the repo does have the benefit of being smaller, thus easier to parse (similar to Zen or Distractions Free mode in multiple text editors). but I'm fine with whatever, this is all just personal preference. |
also, one thing I noticed with that anchor link in Firefox is that it ends up being drawn off-screen because Firefox does not take the tab bar into account |
Yeah, so same concerns, I think it's best to just stick with the current link then... |
following up on this, the last thing missing is the chinese translation, correct? |
Correct yeah |
I asked around in some communities and found someone who told me |
Sounds fine, I suppose when KenMizz sees this they can open a new PR if they disagree! :) |
nah, its not that important |
VanillaPlus is a Northstar Mod to use more client-sided mods in Vanilla that is installed differently from other mods and is commonly installed by end-users who refuse to read via mod managers.
There are a billion ways to implement this in Viper including but not limited to:
and more
I think this is the simplest solution that also doesn't require any translation changes
a separate prompt to inform the user also seems redundant considering its boldly stated in the description