ricklancee / new-tab-myanimelist Goto Github PK
View Code? Open in Web Editor NEWTrack and update your shows from MyAnimeList.net in a new tab window
Home Page: https://ricklancee.github.io/new-tab-myanimelist/
Track and update your shows from MyAnimeList.net in a new tab window
Home Page: https://ricklancee.github.io/new-tab-myanimelist/
When finished with watching a show the a card should prompt to complete the show. This should also set the completed at date (if it's not already set).
The app should have some form of localisation with localisation strings in a json file and toggleable with an option.
lang/
en.json
nl.json
Currently the way state is handled is done by passing through a global state (the list) and not always copied but passed as a reference within each component. This isn't the best way since changing the state object would result in the state changing within each component.
With no connection the list is still loaded from localstorage and images from disk (if cached), however some images might nog get loaded and an error is thrown that mal could not be updated.
The app should retry to fetch the list when connection is back up and show a different error when down.
Remove moment js since it's HUGE and only used for displaying human readable dates diffs like
in 2 days
which can be written manually.
Currently components have a lot of duplicate code, especially bootstrapping and passing dependencies. This should be done in a more modular way.
For instance create a factory that binds dependencies.
// component.js
function component({ bus, time }, selector, state) {
...
}
export default componentFactory(deps) {
return component.bind(null, deps);
}
// shell.js
...
const component = componentFactor({ time, bus });
component('selector', state)
Components should also be composed together with some way of generic component bootstrapping to avoid having to write a register function for each component.
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.