Git Product home page Git Product logo

trackmania-tools's Introduction

trackmania-tools

A suite of tools for the game Trackmania developed by me.

Contributing

Pull Requests + other contributions welcome! Please read the CONTRIBUTING.md file to get started.

You can also help the project by submitting bug reports or feature requests.

Developing

A nodejs >= 12.0.0 setup with yarn is recommended.

# install dependencies
yarn

# serve with hot reload at localhost:3000
yarn dev

# build for production
yarn build

# run lint + type check
yarn validate

Credits

Built with Next.js.

License

MIT.

trackmania-tools's People

Contributors

dependabot[bot] avatar resir014 avatar

Watchers

 avatar  avatar

trackmania-tools's Issues

[Bracket Builder] Improve UX for adding matches in round (i.e. with different placement types)

Description

Currently we cannot set matches in a round with multiple spot types (i.e. changing this option will reset everything).

This was a shortsighted UX decision in the past that's been a nuisance ever since. We never took into account there was cases where a round/match can have multiple spot types. (e.g. for invited slots)

image

Implementation Model

Mainly UX improvements are needed for adding rounds, matches, and spots. See official comp tool for inspiration?

Tasks

  • #42
  • #39
  • #40
  • Improve create round/match UX (allow multiple spot types in a single match)
  • #45

[BB] On some occasions `version` can be 0, which breaks import

Description

As described on the title. Sometimes competition tool can generate a structure JSON with a version value of 0 which will fail silently when importing.

image

Expected Behaviour

Structure should be imported even when version is 0.

Additional Information

Incorrect match participants display on some structure combinations

Description

[Thanks to Nadeo for reporting this issue initially!]

While trying out new match structure for the A08 Forever cup, a bug was found on the structure setup showing incorrect placements for some matches.

Expected Behaviour

Match participants should be displayed correctly.

Additional Information

Screenshot + example stucture for debugging:

image

Structure file used: https://gist.github.com/resir014/2734da10b40e355aaf11f958d4a88d52

[BB] Changing placement type in a round clears the entire round

Description

Currently when changing between spot types in the round view, it will reset that entire round. This was a shortsighted UX decision in the past and turn out to be a bug-like behaviour which shouldn't happen.

image

Expected Behaviour

Changing placement type through the dropdown shouldn't clear the entire round.

Additional Information

When changing the placement type through the dropdown, the event handler runs the clearMatchesInRound action, which clears the entire round. Simply removing this action will fix it.

[BB] Support new teams events

Description

Recently, the Competition tool was updated to include support for teams events (e.g. TMWT). We should add the new slot options for these events.

Implementation Model

Tasks

  • Define new teams types
  • Add UI to switch between teams + solo mode
  • Spot renderer

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.