Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Add interface to view all warnings and all player notes #96

Merged
merged 5 commits into from
Dec 8, 2018

Conversation

oranges13
Copy link
Contributor

This adds an interface to view all player warnings and all player notes. Fixing #94
Also adds some performance improvements that should solve #73 and other similar errors.

* Use eager loading to prevent time out on large queries for activeWarnings, activeMutes and activeBans
* Use `forelse` with empty instead of nested if statements on activePunishments.blade
* Performance improvements on dashboard (eager loading, fewer loops, counting in the database rather than iterating through a result set)
* This should improve or fix ftbastler#53, ftbastler#73
* TODO: Interface to display all player notes
* Modify admin javascript to allow per-view configurable Datatables (for sorting)
* Added index for viewing all notes on all players
* Added translations for new interface
* Fixed whitespace in files
@Slind14
Copy link

Slind14 commented Dec 6, 2018

This is great, thank you. The Dashboard loads now. The issue only persists for the Players view.

@Slind14
Copy link

Slind14 commented Dec 6, 2018

here is one small issue we encountered, not sure if related: MineYourMind@4ceb2fb

@oranges13
Copy link
Contributor Author

Thanks @Slind14 , fixing that can't hurt, as well. I'll add it to the PR branch. I will also look into the player loading problems.

@ftbastler ftbastler merged commit fcf3ad4 into ftbastler:master Dec 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants