Refactor moderation tab using Vue SFC #597

Closed
opened 2026-04-05 16:21:44 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Map1en on 1/14/2025

In this refactoring, I used Vue SFC to restructure the moderation tab because it's clearer and simpler. The goal is to create a sample for future organization.

I've included logic that only needs internal handling and passed in the necessary data, which reduces the code in the main file (even though it's not much) and improves performance.

This refactor also fixes the issue where the table was misaligned when switching tabs.

By the way, the warnings from vue-i18n were quite numerous and not very helpful for development, so I turned them off to make the logs easier to read.

*Originally created by @Map1en on 1/14/2025* In this refactoring, I used Vue SFC to restructure the moderation tab because it's clearer and simpler. The goal is to create a sample for future organization. I've included logic that only needs internal handling and passed in the necessary data, which reduces the code in the main file (even though it's not much) and improves performance. This refactor also fixes the issue where the table was misaligned when switching tabs. By the way, the warnings from vue-i18n were quite numerous and not very helpful for development, so I turned them off to make the logs easier to read.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#597