-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
high priorityHigh priority issues generally will be completed on a quicker basisHigh priority issues generally will be completed on a quicker basisrefactorDesirable refactoring of the feature/script in the issueDesirable refactoring of the feature/script in the issue
Description
Description
To further organize the code-base, code regarding specific pages should be moved into the ./pages directory, similar to how all of the code regarding the Pokemon Center lies in the ./pages/pokemon_center directory.
Doing this would also benefit from some refactoring of the code for each page that would be moved to the ./pages directory, where the new code would be organized as such:
./pages
|---- pokemon_center ## Feature Name
|---- ajax ## AJAX content, sent as JSON
|---- inventory.php
|---- moves.php
|---- nickname.php
|---- release.php
|---- roster.php
|---- functions ## PHP functions
|---- inventory.php
|---- moves.php
|---- nickname.php
|---- release.php
|---- roster.php
|---- js ## JS for handling client input
|---- ajax_functions.js
|---- inventory.js
|---- moves.js
|---- nickname.js
|---- release.js
|---- roster.js
|---- pages ## Base page templating
|---- inventory.php
|---- moves.php
|---- nickname.php
|---- release.php
|---- roster.php
Pages To Move And Refactor
- Clans
- Direct Messages
- Evolution Center
- Profile
- Rankings
- Shop
- Trade Center
Metadata
Metadata
Assignees
Labels
high priorityHigh priority issues generally will be completed on a quicker basisHigh priority issues generally will be completed on a quicker basisrefactorDesirable refactoring of the feature/script in the issueDesirable refactoring of the feature/script in the issue