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

ShowTimeoutDetails (Timeout reasons + ShowTimeoutDuration) #2804

Open
wants to merge 46 commits into
base: dev
Choose a base branch
from

Conversation

Sqaaakoi
Copy link
Contributor

Renames ShowTimeoutDuration to ShowTimeoutDetails and adds reasons for timeouts.

Example of a timeout reason in tooltip mode

Opening as draft for now as I haven't looked at the UI for automod timeouts properly and documented what it looks like here

@Sqaaakoi
Copy link
Contributor Author

Slightly changed the code, here's the result (for automod)

Screenshot of timeout from AutoMod

Also the icon is orange when automod does timeouts

@Sqaaakoi
Copy link
Contributor Author

Here's another example. I am seeking feedback on this now
Timeout tooltip showing automod with rule "Custom plugins" in #vencord-support
Could this be improved?

@Sqaaakoi Sqaaakoi marked this pull request as ready for review August 29, 2024 07:48
@Sqaaakoi Sqaaakoi marked this pull request as draft August 30, 2024 13:17
@Sqaaakoi
Copy link
Contributor Author

Sqaaakoi commented Sep 1, 2024

I haven't posted any updates from what I made so, here's some examples of the new popout

Manual timeouts
Popout showing a manual timeout

Automod timeouts
Popout showing an automod timeout

I didn't mention this earlier, but the timeout icon/remaining time text is set to orange var(--status-danger) whenever AutoMod does the timeout

@Sqaaakoi Sqaaakoi marked this pull request as ready for review September 1, 2024 02:08
@Sqaaakoi
Copy link
Contributor Author

Sqaaakoi commented Sep 2, 2024

ok this wide popout looks really ugly I should fix it

Screenshot of the timeout popout with a really long message

@Sqaaakoi Sqaaakoi changed the base branch from main to dev September 12, 2024 11:03
@Nuckyz Nuckyz force-pushed the dev branch 7 times, most recently from bece919 to 22a5b18 Compare September 21, 2024 19:55
@Sqaaakoi
Copy link
Contributor Author

Sqaaakoi commented Nov 3, 2024

Please ignore that this is based on #2993 for now

@Sqaaakoi Sqaaakoi changed the base branch from main to dev November 7, 2024 11:48
@Vendicated
Copy link
Owner

so much code, scary

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.

3 participants