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

[Port] Add Time Transfer Panel From Upstream #35

Conversation

CerberusWolfie
Copy link
Contributor

Description

This adds the Time Transfer Panel that Goobstation uses. This panel enables Admins to do Time Transfers without commands and makes their lives easier. This immediately has access to all playtime trackers and allows an Admin to Add Time and/or Set Time (overwriting the previous time) for any job role. It also enables extra strings since I ported from Wizden upstream as well, which can be seen in the commit history.

A thing of note when testing this and using it in a server: the times DO NOT UPDATE for Client until your RELOG. This is how it works on Goobstation as well. The time adding process is faster and will be easier tool.

This is tied to the AdminFlags.Admin so it can be customized on a per-server basis if a custom flag is added.


TODO

  • Port Upstream Role Define.
  • Port string extras for playtime commands.
  • Port Time Transfer Panel
  • Remove Overall (it just doesn't work on Goob either).

Media

image

image

image

image

image

image

image

image

image

<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->

# Description
This adds the Time Transfer Panel that Goobstation uses. This panel
enables Admins to do Time Transfers without commands and makes their
lives easier. This immediately has access to all playtime trackers and
allows an Admin to Add Time and/or Set Time (overwriting the previous
time) for any job role. It also enables extra strings since I ported
from Wizden upstream as well, which can be seen in the commit history.

A thing of note when testing this and using it in a server: the times
**DO NOT UPDATE** for Client until your **RELOG**. This is how it works
on Goobstation as well. The time adding process is faster and will be
easier tool.

This is tied to the AdminFlags.Admin so it can be customized on a
per-server basis if a custom flag is added.

---

# TODO
- [x] Port Upstream Role Define.
- [x] Port string extras for playtime commands.
- [x] Port Time Transfer Panel
- [x] Remove Overall (it just doesn't work on Goob either).

---

<details><summary><h1>Media</h1></summary>
<p>


![image](https://github.com/user-attachments/assets/e9a50f41-9440-474b-b06f-a4387f12ae0b)

![image](https://github.com/user-attachments/assets/31dc2f1e-f1be-4489-bd6f-9390dfee4e72)

![image](https://github.com/user-attachments/assets/f2507f9a-f4a6-4d64-b554-e648e87ff16f)

![image](https://github.com/user-attachments/assets/724fa5c7-9abf-43e0-9eb0-af4484d00f03)

![image](https://github.com/user-attachments/assets/127e6a39-d0e8-426e-95d7-13f46ca40e17)

![image](https://github.com/user-attachments/assets/3856780a-75ca-4804-8832-1b8eed0be8d2)

![image](https://github.com/user-attachments/assets/eb9b9e88-c6fe-4755-a244-6af5b06acb54)

![image](https://github.com/user-attachments/assets/d0960206-2501-4afa-b030-e00ff0a44c01)

![image](https://github.com/user-attachments/assets/891df87e-d8c4-4c6d-a599-9706d592770e)

</p>
</details>

---

# Changelog
:cl:
ADMIN:
- add: Add Time Transfer Panel

---------

Co-authored-by: BombasterDS <[email protected]>
Co-authored-by: Leon Friedrich <[email protected]>
Co-authored-by: flyingkarii <[email protected]>
@CerberusWolfie
Copy link
Contributor Author

I did not port the upstream changelog for this, as it has content not included in this merge. It should be ported when the time comes. For now, since this is an ADMIN changelog anyway, I don't think it matters.

@CerberusWolfie
Copy link
Contributor Author

I did not port the upstream changelog for this, as it has content not included in this merge. It should be ported when the time comes. For now, since this is an ADMIN changelog anyway, I don't think it matters.

I don't want merge conflicts when merging upstream.

@Aidenkrz Aidenkrz closed this Jan 12, 2025
@CerberusWolfie CerberusWolfie deleted the TimeTransferPanel-UPSTREAM branch January 12, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants