^
Login

or


Development Notes

1. Introduction



Over the years of developing Xu-Fu's Pet Guide, many ideas and suggestions accumulated.

All that info is now hosted on a Trello board for Xu-Fu!


You will find all ongoing tasks, bugs, suggestions etc. there.

The dev notes here will stay and will show the larger new features that are planned as well as a summary of already completed new features.




2. Upcoming Project: New Ready-Check Tool (5%)


The Legion Ready Checker was one of the most popular tools on Xu-Fu. The addition of user strategies and breeds made this tool non-functional. To bring this back, a new tool showing the list of ALL pets could be created, showing how often the pet appears in each fight, broken down by breed. This could automatically cross-check with the saved collection. In a second step, a selector or sliders could be used to apply the table only on specific battling sections.




3. Upcoming Project: Database Restructure (15%)


The database supporting Xu-Fu's different categories and menus is very old and is not set up properly. It is very difficult to create features with it, like for example the possibilty to move strategies, or some of the other future projects here including rematch mass export or a new ready-check tool.





4. Upcoming Project: Rematch Mass Export (0%)


One of the most requested features is to mass export strategies to Rematch. Rematch can already import multiple strategies at once, but XuFu currently has no such export feature. That is mostly due to the existance of alternatives. Until user strategies and favourites, the page had no way of knowing which strategy is the best for you. This new tool will make use of those features and give you options from which section you cant to export strategies from, and if only your favourites or also the top pick for you should be exported.




5. Upcoming Project: Pet Cards (0%)


Xu-Fu already has a database of all available pets with their skills, stats and additional info. This could be used to replace wowhead tooltips with built-in Xu-Fu pet tooltips that show more details about each pet, reduce loading times and give additional value to the tooltips.
Additional idea with it: Capture source of pets more clearly. Where are pets coming from? Add more tags as well that go along with it: Premium (for pets like baby winston - not in the shop but was a bought pet technically). Seasonal => Only available during specific seasonal events.


6. Upcoming Project: Pet Trading Tool (0%)


A tool that combines a couple of ideas and suggestions - compare collections between users or look for people who have duplicates of pets you are missing. Ideas from:
Irayna: When viewing other peoples collection, add a column for your own pets to compare the collections.
Grainne: A tool similar to Rufa's tables http://web.archive.org/web/20150405233814/http://signature.neflin.net/wowpets/pets.php





7. Finished Projects



7.1 Working on: New Pet Tables in Articles (Finished July 28, 2020)


Every category article (like "Legion world quests") has a table on it that shows the required pets. This table is not using the new alternatives system and is therefore outdated.
This project is to create a new table that picks the best strategy for each fight in the category, based on the same criteria as the alternatives tooltip (favourite, ratings, tags..) and lists those pets. This should also include required or missing breeds. The table will most likely have a longer loading time and should therefore be hidden behind a "Load Pet Table" button that dynamically loads the table only on request.
Suggestion by Remte: tooltip showing which battles the pet appears in, make this interactable and the list of fights clickable to the respective strategy page


7.2 Project: Collection Comparison Tool (Finished April 10, 2020)


The tool can be used to easily compare two collections for missing/dupes/tradeable etc.

7.3 Project: News 2.0 (finished October 18, 2019)


The news section now supports different topics and different users posting news. It shows a quick overview and is more easily searchable. Articles can be edited with the article editor for news writers and each article opens up in a separate page showing the full view + comments.

7.4 Project: Article Editor (finished April 16, 2018)


The page hosts many different articles and supports localization into 9 languages. This editor makes it easy for other users to add, edit or translate articles.
It is fully integrated into the user system, UAC, and allows on-page editing.


7.5 Project: Battletable 2.0 (finished June 02, 2018)


The battle tables were the first thing created on Xu-Fu. They are mostly static and not up to the standards of the current page.
This project was to fully re-create them, to integrate the user system, user collections and to add many more features such as breeds, coordinates, new Rematch formatting, an automated substitute finder and the option to record your attempts to make the strategy more accurate through crowd intelligence.


The substitute finder uses this logic:
no requirements => all substitutes are fine, based on skills and family
only a breed => creator pet, only show the selected breed(s). For substitutes, ignore breeds
only a stat => use the stat to determine which creator pet breed is OK. and use the stat for substitutes and their breeds
breed and stats => for the creators pet, only show the breed he activated. for substitutes, use the stat to show them or not.

7.6 Project: Dynamic Alternatives (finished July 01, 2018)


There should not be a limit to the amount of alternatives saved for any given fight. They should not have a fixed order either. The order should be dynamic and follow a logic that could include user settings, if the pets are in your collection, strategy upvotes, favourites, amount of pageviews, records of successful attempts or other factors.
The interface should use AJAX to reduce loading times and give a clear preview of the pets used.


The order in which strategies are shown is determined by 4 factors. Each factor supercedes the next. From top to bottom:

1. Favourited by user
If you set a strategy as favourite, it will be shown on top always

2. Pets missing from collection
The sorting will prioritize based on how many pets from the strategy you do not have in your saved collection:
No pets missing > one pet missing > two pets missing > three pets missing

3. Tags - optional
In the user settings, you can set the order of importance for all tags. Preferred tags move the strategy up, unfavored tags move it down in priority.

4. Rating and Favourites
Ratings and Favourites are calculated together into one single score. The calculation is:
- One favourite counts exactly the same as one 5* rating
- The stars are transformed into the numerical sequence -2, -1, 0, 1, 2
- The average is calculated and multiplied by a factor that is determined on the amount of votes+ratings:
1-10 ratings: Factor = 0.5
11-20 ratings: Factor = 0.8
20+ ratings: Factor = 1
This calculation makes sure that a single 5* vote on a strategy is not counted more important than an average of 4.8* from a large amount of voters, for example.
Likewise, a strategy that received many below average votes will be considered worse than one that received only a single 1* rating.

The first three factors only apply to registered users. If you are visiting without a user account, only factor 4 decides the sorting.

7.7 Project: User Strategies (finished August 01, 2018)


Users should be able to add and edit their own strategies. The editing options should be integrated into the Battletables without adding more pages. Most if not all options should be dynamic using AJAX to minimize page reloading.


19 Comments (ES)

Show first: