Giter Site home page Giter Site logo

Comments (4)

ctizen avatar ctizen commented on September 25, 2024 1

Ah! I guess I misunderstood your case then :) OK, I'll take a look soon, thanks!

from pantheon.

ctizen avatar ctizen commented on September 25, 2024

I'm not sure how we should handle this particular situation. In tournaments, we disallow adding or removing players after a session is created (== when first seating is generated), because in general removing or replacing a player will break some stateful logic, e.g. it's well known that several achievement pages will be broken in that case.
Though, I guess nothing should be wrong with replacing a player before the first game, but it's gonna require some custom methods to ensure that we're exactly 1) replacing player, 2) before first game. Other cases seem invalid to me.

from pantheon.

ctizen avatar ctizen commented on September 25, 2024

If there are any other thoughts about this issue from other team members, please share:)

from pantheon.

Jesterboxboy avatar Jesterboxboy commented on September 25, 2024

After testing a bit i think it's just a frontend bug,
Selecting "Nobody" in Rheda in eid2/reg in the replacement player field, does not trigger a backend api call to mimir.
I was able to fix it to some degree, so at least after reloading the page, clicking "Nobody" triggers a api call reliably, but not after populating the whole player list in the dropdown. There seems to be some problem with the string concatenation in the _updateReplacementList function in the PlayerRegistration.handlebar template file.
I commited the changes to my fork if you wanna have a look:
Jesterboxboy@9a01da8

from pantheon.

Related Issues (20)

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.