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

remove weapons data from frontend #816

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Conversation

FlorianSW
Copy link
Collaborator

It is not used anywhere, yet.
And if the frontend needs a list of all the weapons, it should request that list from the backend in the context of where the data is needed (e.g. for stats of a match, etc). There is no need to ship a lot of data in the bundle just because the data might be worthful in the future.

Secondly, the weapon data is already present in the backend, with the information that was previously covered by the data in the frontend. Maintaining both lists is an overhead which we can reduce.

It is not used anywhere, yet.
And if the frontend needs a list of all the weapons, it should request
that list from the backend in the context of where the data is needed
(e.g. for stats of a match, etc). There is no need to ship a lot of data
in the bundle just because the data might be worthful in the future.

Secondly, the weapon data is already present in the backend, with the
information that was previously covered by the data in the frontend.
Maintaining both lists is an overhead which we can reduce.
@cemathey
Copy link
Collaborator

I did request translations from T17; haven't heard back but they are on their holiday break still.

@FlorianSW
Copy link
Collaborator Author

we could add translations to the backend or frontend, I do not care, however, for now there are none, so this data should be removed so we do not need to maintain it :D

@FlorianSW FlorianSW merged commit 53555be into master Jan 8, 2025
@FlorianSW FlorianSW deleted the cleanup/remove_weapons branch January 8, 2025 19:43
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