paulocf92 / ffxiv-crafting-hunter Goto Github PK
View Code? Open in Web Editor NEWMobile app to help hunting materials for crafting recipes in Final Fantasy XIV.
License: MIT License
Mobile app to help hunting materials for crafting recipes in Final Fantasy XIV.
License: MIT License
UI is being re-rendered everytime recipe tree is changed. It needs a different, more efficient approach at updating.
Specially noticeable when adding a new recipe.
Still looking for it, tried variations of absolute positioning and z-index, either on the FlatList or Views wrapping the list.
Currently, as an item progress is increased/decreased it has to recursively traverse tree to update current progress. This unreliably updates store and causes slight UI freezing, besides allowing for values to go out of bounds, both positively and negatively.
The idea is to save in RecipeDetail's state the requested changes, and traverse tree updating it only when saving progress through UPDATE_PROGRESS action. This state may be an array containing, for each update item: path and resulting progress.
Every nested object which has a field to be updated needs to be re-created to preserve immutability. This includes progress and leaf (base) items.
Right now I'm using a bunch of approximate calculations with no accurate logic. Needs refactoring/overhauling.
Running react-native start
after producing development package does not work requiring a full project rebuild with react-native run-android
every time. This seems to be tied to React Native cli's generated project's gradle version.
Instead of looking up recipes for a single item by using Item
endpoint, look it up in a data-mined RecipeLookup.json
file (suggested by acchan#5683).
It seems to be tied to updateRecipeProgress
function.
Example:
https://xivapi.com/recipe/2799
Highland Flour recipe, found in ItemIngredientRecipe1
does not contain the item's id, name and icon.
It may be needed to fall back to ItemIngredient1
data or ItemIngredientRecipe1.ItemResult
for such data.
Needs to perform additional requests per intermediary item: one to search for items' recipe and another to pull recipe data.
It encompasses sub-component arrays (namely children) and item crystals. Convert array into a collection of id-mapped objects. An auxiliary array containing ids must be created to facilitate rendering.
When verifying item ingredients a request is fired for each request consecutively. To alleviate data loading and UX it's advised to create an array of requests and Promise.all this array.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.