Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Features] Marketboard item caching + Universalis fetching data prompt + Recent history option #73

Merged
merged 7 commits into from
Jun 2, 2023

Conversation

Pythyu
Copy link
Contributor

@Pythyu Pythyu commented Feb 8, 2023

Changes (#70 and #69) :

  • Added an item buffer that allows to save the last N(by default 10) items fetched from the Universalis API. If the API shutdowns, these saved items should still be accessible.
    Buff
    The buffer is not saved between each game restart, the main benefits are that it reduces the number of request on the Universalis API when the same items are checked multiple times, and that if the Universalis API disconnect while playing the user can still look at their last searches.
    Each item of this buffer will get re-fetched after a certain timeout by default 30 seconds. This setting can also be modified :
    new_settings

  • A prompt is added when new data is fetched :
    view

  • The last time an item has been fetched is also displayed :
    new_ui

  • Bonus feature ([Feature Request] Disable "Recent History", make separation between "Current Listings" and "Recent History" adjustable #63) :
    bonusfeature

@Pythyu Pythyu changed the title [Features] Marketboard item caching + Universalis fetching data prompt [Features] Marketboard item caching + Universalis fetching data prompt + Recent history option Feb 9, 2023
@Pythyu Pythyu marked this pull request as ready for review February 9, 2023 02:17
@fmauNeko fmauNeko merged commit 37cba2e into fmauNeko:develop Jun 2, 2023
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.

2 participants