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

feat: Add Dalamud Version to the Title Screen #1939

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KazWolfe
Copy link
Member

@KazWolfe KazWolfe commented Jul 17, 2024

Because an image tells a thousand words:

image

  • Indicates the current version string (via GetScmVersion()) for the current instance of Dalamud
  • Indicates the target branch, as reported by Kamori.
    • If DalamudBetaKey is invalid or incorrect at evaluation time, this will report the new target branch.
    • If Kamori could not be contacted, the branch name as found in config will be reported with a question mark, e.g. release?
  • Indicates the number of plugins currently enabled.

At present this PR does not allow users to hide this version string. I don't necessarily think there's any case where we do want to hide it, given that there's an increasing amount of plugins that are modifying native UI as well. This is now hidden with the rest of TSM. As a result, I do need to continue hijacking things, but that should be a light operation.

This PR depends on #1929 for branch and version information.

@KazWolfe KazWolfe requested a review from a team as a code owner July 17, 2024 15:25
@KazWolfe
Copy link
Member Author

XL fixme: Is there a way to get the branch that Dalamud was actually launched with? I guess XL would need to tell us that name somehow so we can store it.

@MidoriKami
Copy link
Contributor

Nice, I definitely think this should be a permanent addition that can't be toggled.

I'm sure we'll get people going "I wanna stream and this makes it so I can't" where we can inform them the dangers of plugin's with native UI modifications.

@KazWolfe KazWolfe force-pushed the version-titlescreen branch 2 times, most recently from 854b71a to 1ebc849 Compare July 17, 2024 19:49
@KazWolfe KazWolfe marked this pull request as draft July 18, 2024 21:53
@KazWolfe
Copy link
Member Author

New version submitted for now, depends on #1945 being merged first.

I've removed the branch resolution logic for now as I think we have plans to rework that overall.

@KazWolfe KazWolfe marked this pull request as ready for review July 22, 2024 16:12
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.

2 participants