Comments (4)
Ah! I guess I misunderstood your case then :) OK, I'll take a look soon, thanks!
from pantheon.
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.
If there are any other thoughts about this issue from other team members, please share:)
from pantheon.
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)
- Online tournaments fixes
- Wrong players order in game log HOT 1
- Update docker/build-push-action@v2
- Replacement players in admin panel lead to unusable user list
- [Forseti] Riichi sticks are not added to player scores after forced finish
- Add UNIQUE CONSTRAINT for field account_id in table majsoul_platform_accounts
- Split rating positions in case of a bump
- String extraction library can't find particular strings HOT 3
- [Tyr] Don't show call referee button if notifications bot is not set up
- Timer is not updated on other tables list
- Wrong winds in notification when interval seating is used HOT 1
- Move server side messages to clients and add translations
- Add proxy for tyr/sigrun/forseti for external fonts to allow service worker caching
- Yakitori rule fixes HOT 1
- Add achievements recalc job to queue when online game sessions end HOT 1
- [Tyr] Tenhou is inactive for dealer, but chihou is active HOT 1
- [Forseti] Seating page is wrong state if players count changes before seating approval
- [Mimir] Recalculate session results on event settings change
- Support chip sorting for online tournaments with chips
- Team tournament not working with chips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pantheon.