Skip to content

New Lodestone Mount & Minion layout#55

Merged
Pricetx merged 7 commits intomasterfrom
54_lodestone-mounts-and-minions
Aug 24, 2019
Merged

New Lodestone Mount & Minion layout#55
Pricetx merged 7 commits intomasterfrom
54_lodestone-mounts-and-minions

Conversation

@matthewhillier
Copy link
Copy Markdown
Member

Pull-request for new lodestone mounts & minions layout. Currently doesn't work, as there's a dependency on user-interaction in order for the details to actually load.

@matthewhillier
Copy link
Copy Markdown
Member Author

Links to issue #54

@ReidWeb
Copy link
Copy Markdown
Member

ReidWeb commented Aug 18, 2019

@matthewhillier tests verified as functioning?

@matthewhillier
Copy link
Copy Markdown
Member Author

Hey @ReidWeb - No, still need to figure out how to actually load the names as they're not part of the static HTML any more. Haven't had time to dive in and figure that bit out.

@matthewhillier
Copy link
Copy Markdown
Member Author

Have figured out the basics here and implemented a change that pulls the various mounts & minions using the data-tooltip_href attribute added to the new mounts & minions page. Implemented a very simplistic cache so that we don't need to keep hitting the lodestone for items we've already fetched,

The code is functional and works as well as I can make it at the moment. Unit testing needs tightening up, but it should be good enough to use for the Sept census and all current tests pass.

@matthewhillier matthewhillier requested a review from a team August 24, 2019 05:34
@Pricetx
Copy link
Copy Markdown
Member

Pricetx commented Aug 24, 2019

Thanks for this work! I'm just currently running a test. If everything's good then i'll deploy the changes this evening ahead of September.

Copy link
Copy Markdown
Member

@Pricetx Pricetx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test output looks to be correct. Approving.

@Pricetx Pricetx merged commit 5eace13 into master Aug 24, 2019
@matthewhillier matthewhillier deleted the 54_lodestone-mounts-and-minions branch December 16, 2019 20:46
Graphicscore pushed a commit to Graphicscore/XIVStats-Gatherer-Java that referenced this pull request Jul 29, 2021
* Adding test data and methods to call the new lodestone pages

* Updated mount gathering

* Added minion parsing

* Added method to fetch tooltips from Lodestone

* Stubbed out test method

* Wired in Mount & Minion scraping

* Updates to unit tests

Basic fixes to unit tests, no mocking in-place yet.
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.

3 participants