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

Adds in an advanced mode to the preferences screen to hide some preferences #12168

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

Conversation

PowerfulBacon
Copy link
Member

@PowerfulBacon PowerfulBacon commented Jan 18, 2025

About The Pull Request

  • Hides a lot of preferences under an advanced flag in the preferences menu.
  • Advanced preferences are shown with a cog icon

image

image

image

I am waiting to get some data about the most popular changed preferences, to add those to the default view.

Why It's Good For The Game

The preference screen is huge and hard to navigate, most players likely won't know what half the preferences actually do and there are some that they just shouldn't be changing.

By hiding preferences that most people won't want to change, we make it easier for players to change the preferences they actually should be changing.

I have chosen to keep the preferences that:

  • Exist for accessability
  • Are likely to be changed frequently
  • Are customisation settings
  • Are graphics settings that may need to change depend on the monitor that you are using

Most of the preferences that I've hidden are:

  • Graphics settings that have the potential to make things look worse (Space parallax, AO)
  • Settings that shouldn't be changed (FPS)
  • Settings that give the player a worse experience if changed (Classic hotkeys, Enable OOC)
  • Preferences that only exist because a PR 2 years ago needed to appease stubborn players (TGUI input, TGUI say, Runechat, etc.)
  • Settings that don't really do that much (Enable window flashing, Enable crew objectives, Enable pull request notifications, Enable income updates)

Testing Photographs and Procedure

image

image

Changelog

🆑
tweak: Altered the game preference menu to hide less important settings and dangerous settings by default.
tweak: Changes ghost ears, ghost whispers and ghost emotes to be false by default to prevent players being spammed in the chat by default.
/:cl:

@github-actions github-actions bot added the TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0 label Jan 18, 2025
@Tsar-Salat
Copy link
Contributor

admin brief outfit isnt rendering properly in the window

@itsmeow
Copy link
Member

itsmeow commented Jan 19, 2025

It's always done that. The text can't wrap because it has no spaces, and the dropdown isn't wide enough to fit it. It doesn't matter and it's not this PR's problem

onClick={() => {
setAdvancedSettings(!advancedSettings);
}}>
Show Advanced Settings
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unhappy with how this looks. The button is pretty large, and it decenters the very intentionally placed searchbar. It might have some place in the titlebar of the window. I think if you reduce the length of the text in here (maybe just use an icon instead?) and add some margins around it, fix the centering of the searchbar.. it should be OK.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An icon would probably be confusing, I could probably reduce the text but I think this is the most appropriate space for it. It has a fixed width so doesn't cause elements of the UI to jump around and cause confusion and handles scaling nicely.

I can move it, but I think putting it in the titlebar wouldn't be an improvement since it would be away from the rest of the elements that do the same thing and would ruin the quite nice heirarchy that the UI has going on where from top to bottom it gets more refined

  • Player vs character prefs
  • Settings vs Keybinds
  • Filters
  • Links
  • Actions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try reducing the length of the text

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

To be honest, it doesn't really make much of a difference. The search bar is big enough anyway and I think this is a fine location

@PowerfulBacon PowerfulBacon marked this pull request as ready for review January 19, 2025 12:14
@PowerfulBacon
Copy link
Member Author

PowerfulBacon commented Jan 19, 2025

Preferences are stored in the database regardless of whether or not the user changed them, meaning that I am unable to find the most commonly changed preferences (When getting the data from crossed, it turns out the preferences are in order of when they were added and not in order of change frequency). I have picked appropriate preferences for this PR.

@PowerfulBacon
Copy link
Member Author

oh I forgot to commit it

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0 Tweak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants