Skip to content
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

Add optional JSON flag to only show version number for modlist image in install view #2376

Closed
wants to merge 1 commit into from

Conversation

JanuarySnow
Copy link
Contributor

@JanuarySnow JanuarySnow commented Jul 29, 2023

Fixes #1524

Bit of an obscure one, but it dosnt impact those who dont want it.

Add an optional flag in the modlist metadata json for DisplayVersionOnlyInInstallerView = true

if this is true, then the version number only is displayed over the modlist image in the installer view, to remain consistent with the same behavior in the gallery tile view ( where there is no overlaid title for images that have title in them )

This new behavior is down to personal preference even more so dosnt follow the same flag, and uses a new one.

image

@tr4wzified
Copy link
Member

Looks fine to me, but I wouldn't stray too far from the C# coding guidelines that are used elsewhere in the project. Makes it a bit of a mess in the code having snake_case and PascalCase mixed in there combined with { and } being on the same lines as the statement

@JanuarySnow
Copy link
Contributor Author

Looks fine to me, but I wouldn't stray too far from the C# coding guidelines that are used elsewhere in the project. Makes it a bit of a mess in the code having snake_case and PascalCase mixed in there combined with { and } being on the same lines as the statement

Right you are, sorry, muscle memory kicks in and I forget about c# stuff :D

…ge in installer view, if the modlist image already contains the title

removed debug code

change to pascal case and match existing code style

update changelog
@JanuarySnow JanuarySnow force-pushed the crit_obscure_old_request branch from daacd67 to 4d688b7 Compare July 30, 2023 17:08
@EzioTheDeadPoet EzioTheDeadPoet deleted the crit_obscure_old_request branch May 25, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to display the version number instead of the modlist name
4 participants