marcincichocki / summonersconfig Goto Github PK
View Code? Open in Web Editor NEWRunes and masteries playground inside your browser!
License: MIT License
Runes and masteries playground inside your browser!
License: MIT License
End user should be notified if account's runes and masteries were successfully imported to application.
During bootstraping screen is blank. User might be confused what is going on. Name of application and loading spinner should be displayed on the screen until app is loaded.
runeService
should not have function to modify view. Its purpose is to provide data and operation on these, not to change the view. .isPercentage()
should be moved to new pipe and used from there.
Styles inside angular templates should be prefixed to display properly on older browsers.
Data loaded on init(runes and masteries static data) should have own interfaces instead of being type any
. Here is preview for runeService
// staticData.ts
export interface STATIC_DATA_UNITS {
[key: string]: string;
}
export interface STATIC_DATA_RUNES {
[key: string]: {
id: number;
name: string;
description: string;
tier: number;
image: string;
primary: string;
type: string;
available: boolean;
ip: number;
tags: string[];
stats: {
[key: string]: number;
};
};
}
// runeService.ts
import {STATIC_DATA_UNITS, STATIC_DATA_RUNES} from './staticData';
// ...
class RuneService {
// Data is loaded async.
public units: STATIC_DATA_UNITS = {};
public runes: STATIC_DATA_RUNES = {};
// ...
someFunction(id, unitId) {
// Intelisense works!
this.runes[id].stats[unitId].toFixed(2);
}
}
Application's assets should be updated to latest patch.
Tooltip does not change its position if both edges of the screen are exceeded.
In angular2.0.0-alpha.50 and onwards res.json() return any
so array notation shouldn't be used anymore.
Allow user to import runes and masteries for given server and summoner name.
Things to be done:
Search pipe throws an error when special character is passed. It happen because whole filtering thing is builded with regexp. This should be fixed with escaping special characters(like *
or +
) or using different method(like includes
or indexOf
).
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.