Giter Site home page Giter Site logo

toho-miku's Introduction

miku-banner

Support the project on Patreon

Part of this project are

Run dev container

$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml up

Sequelize migrations

$npx sequelize db:migrate
$npx sequelize db:seed:all

API

API docs can be found in Docs/api/README.md

toho-miku's People

Contributors

dependabot[bot] avatar jangross avatar

Stargazers

 avatar

Watchers

 avatar

toho-miku's Issues

Wishlist Implementation

  • Add/Remove wishlisted
  • Ping on wishlist drop
  • Make ping optional
  • View wishlist
  • Compare wishlist with user collection
  • Wishlist upgrades

Drop: Claim buttons go out of sync

If cards are claimed too quickly, the claim / claimed states go out of sync.
It should only be a visual bug, however, we should probably check all card states before pushing component updates.
This either works with the Card instances held in memory or we need to set-up a system to debounce queries.

Characters need alias fields

Some characters have multiple aliases and a real name.
They should be considered before implementing character search

DB: Sync throwing on first first run / new DB

Sequelize Sync complains about Duplicate column names such as 'UserId' when running on a new instance
Recreating and migrating the DB using the migrations works fine
Probably because the model associations are fucked

Caching: cached files stay forever

We could:

  • Keep track of the previous hash and delete once the new render finished
  • Use last accessed metadata to clean up old files in fixed intervals
  • Change hashing strategy to overwrite existing files instead

Drop: picking random characters based on IDs broken

Randomly choosing character IDs based only on character count doesn't account for disabled cards
or gaps in card IDs since they are not continuous.
Native Sequelize / DB functions should be used instead.

Translations

We should consider implementing a system for supporting multiple languages as early as possible.

Docker: permissions broken

Running as root breaks the sharp installation step
Running as a non-root user breaks other setup steps (symlinking some semver stuff)

Stack image cache mismatch if dropped too quickly

If two or more drops happen at the same time, the deck image is the same.
Looking at one incident, it seems like whatever deck rendered most recently is being displayed.
If drop A is still rendering while drop B is already finished, both will display the deck of drop B.

History: Drop history is missing the initiators userID

We only store the userId associated to claimed cards but not who actually dropped the stack.
The overall dropData needs some reworking. Things to consider are:
User who dropped
Drop Channel and Guild
Split claim events into sparate row

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.