Skip to content

Fix: sessioni chiuse mostrano solo offerta finale per team per asta#35

Open
nicklaus9318 wants to merge 3 commits into
mainfrom
fix/closed-sessions-bid-count
Open

Fix: sessioni chiuse mostrano solo offerta finale per team per asta#35
nicklaus9318 wants to merge 3 commits into
mainfrom
fix/closed-sessions-bid-count

Conversation

@nicklaus9318
Copy link
Copy Markdown
Owner

Nelle sessioni chiuse, il conteggio "Chi ha puntato" ora mostra solo l'offerta finale per team per asta (la più alta), invece di sommare tutte le offerte storiche incluse quelle superseded quando un utente modificava la propria offerta.

https://claude.ai/code/session_016YS7ptcqEcLfLiVNc4ZEZG


Generated by Claude Code

claude added 3 commits May 11, 2026 21:14
…rcato

- GestioneAste: session close only marks status='active' bids as 'lost';
  previously-cancelled bids were being overwritten to 'lost'
- AsteBusteChiuse: user deletions/modifications now use status='user_cancelled'
  instead of 'cancelled' to distinguish from session-close losers
- StoricoMercato: filter excludes 'cancelled' and 'user_cancelled' bids;
  also deduplicates per team (shows only highest bid per team per auction)
- DB migration: reverted older duplicate 'lost' bids (same team, same auction,
  lower amount) back to 'cancelled' to clean up historical data

https://claude.ai/code/session_016YS7ptcqEcLfLiVNc4ZEZG
Le sessioni già chiuse compaiono ora in fondo al tab Sessioni,
separate da un separatore "Sessioni chiuse". Ogni sessione chiusa
ha il pulsante espandibile "Chi ha puntato" con il conteggio
offerte per squadra, escludendo solo le offerte user_cancelled.

https://claude.ai/code/session_016YS7ptcqEcLfLiVNc4ZEZG
Invece di sommare tutte le offerte storiche (incluse quelle superseded
quando un utente modificava la propria offerta), ora viene tenuta solo
l'offerta più alta per ogni coppia (team, asta), che corrisponde
all'offerta effettiva al momento della chiusura.

https://claude.ai/code/session_016YS7ptcqEcLfLiVNc4ZEZG
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fms-pro Ready Ready Preview, Comment May 11, 2026 9:37pm

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
fms-pro a6a6fce May 11 2026, 09:37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants