Fixes & Refinements: QR token on registration, role caps, connection detail + red dot, admin schedule/sponsors
Datamodel: - Move qr_token from contacts to registrations (per event); new migration 20260826000000. lanyard_lookup / create_connection_request / checkin_attendee resolve via registrations + active event. - reset_qr_token -> reset_registration_qr_token (fixes ambiguous 'email' col). - upsert_contact drops the token arg; create_registration generates + syncs it. - Pretix sync writes the token to the registration (keeps it on re-sync). Registration types: - Distinct pill colors; red reserved for Staff (both apps). - Roles capitalized everywhere (Attendee/Speaker/Sponsor/Staff); 'Attendee' hidden only at the Home footer. - Reset-token button moved from Contacts to Registrations (per registration). Sessions (APPE Admin): - Slot types capitalized; material submitted/not-submitted state. - Speaker selection = multi-select search dropdown. - Fix 'a session must have a speaker' on edit (diff-based setSessionSpeakers) and the file-upload bug (speaker save no longer aborts first). APPE Admin: - Sponsors contact lookup = search field (filter + pick). Convivo App: - Other people's QR codes hidden; connection detail sheet shows public info + points. - Connect red dot recalculates immediately on accept/decline/send. - 'My picks today' = 2 rows (current + next); 'tap to change' links to Agenda. Docs updated across backend + frontend. Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
3fd8feca53
commit
2f3952dc71
30 files changed
+1083
-232
No files matched your search
@@ -89,7 +89,7 @@ body {
|
||||
font-size: 11.5px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); text-transform: capitalize;
|
||||
}
|
||||
.pill.attendee { background: rgba(148,163,184,.14); border-color: rgba(148,163,184,.4); color: #64748b; }
|
||||
.pill.staff { background: rgba(32,178,170,.13); border-color: rgba(32,178,170,.4); color: #0f766e; }
|
||||
.pill.staff { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.4); color: #b91c1c; }
|
||||
.pill.admin { background: var(--accent-soft); border-color: rgba(213,0,0,.35); color: var(--accent); }
|
||||
.pill.amber { background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.4); color: #b45309; }
|
||||
.pill.green { background: rgba(5,150,105,.12); border-color: rgba(5,150,105,.35); color: var(--green); }
|
||||
@@ -239,15 +239,39 @@ table.data tr:hover td { background: rgba(244,245,249,.6); }
|
||||
}
|
||||
.event-name { font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
|
||||
|
||||
/* ---------- Speaker picker (schedule) ---------- */
|
||||
.speaker-pick { display: flex; flex-wrap: wrap; gap: 8px; max-height: 220px; overflow-y: auto; padding: 4px; }
|
||||
.speaker-opt {
|
||||
display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
|
||||
border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600;
|
||||
cursor: pointer; transition: all .12s;
|
||||
/* ---------- Speaker multi-select (schedule) ---------- */
|
||||
.msel { display: flex; flex-direction: column; gap: 8px; }
|
||||
.msel-chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.msel-chip {
|
||||
display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 11px; border-radius: 999px;
|
||||
background: var(--accent-soft); border: 1px solid rgba(213,0,0,.35); color: var(--accent);
|
||||
font-size: 12.5px; font-weight: 700;
|
||||
}
|
||||
.speaker-opt input { accent-color: var(--accent); }
|
||||
.speaker-opt.on { background: var(--accent-soft); border-color: rgba(213,0,0,.4); color: var(--accent); }
|
||||
.msel-x {
|
||||
display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
|
||||
border: none; border-radius: 50%; background: rgba(213,0,0,.12); color: var(--accent);
|
||||
font-size: 10px; cursor: pointer; line-height: 1;
|
||||
}
|
||||
.msel-x:hover { background: rgba(213,0,0,.22); }
|
||||
.msel-list {
|
||||
border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
|
||||
background: var(--surface); max-height: 200px; overflow-y: auto;
|
||||
}
|
||||
.msel-item {
|
||||
display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
|
||||
padding: 8px 12px; background: none; border: none; border-bottom: 1px solid var(--line);
|
||||
cursor: pointer; font: inherit;
|
||||
}
|
||||
.msel-item:last-child { border-bottom: none; }
|
||||
.msel-item:hover { background: var(--surface-2); }
|
||||
.msel-item.on { background: var(--accent-soft); }
|
||||
.msel-check {
|
||||
width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center;
|
||||
border: 1.5px solid var(--line); border-radius: 5px; font-size: 11px; color: var(--accent);
|
||||
}
|
||||
.msel-item.on .msel-check { background: var(--accent); border-color: var(--accent); color: #fff; }
|
||||
.msel-item .n { font-weight: 600; font-size: 13px; color: var(--text); }
|
||||
.msel-item .e { font-size: 12px; color: var(--muted); margin-left: auto; }
|
||||
|
||||
/* ---------- AI feedback box (schedule) ---------- */
|
||||
.ai-box {
|
||||
@@ -268,6 +292,21 @@ table.data tr:hover td { background: rgba(244,245,249,.6); }
|
||||
.toast-error { border-color: rgba(213,0,0,.55); }
|
||||
.toast-info { border-color: rgba(32,178,170,.5); }
|
||||
|
||||
/* ---------- Contact search-and-pick (Sponsors) ------------------------------ */
|
||||
.contact-pick {
|
||||
margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
|
||||
background: var(--surface); max-height: 180px; overflow-y: auto;
|
||||
}
|
||||
.contact-pick-item {
|
||||
display: flex; flex-direction: column; gap: 1px; width: 100%; text-align: left;
|
||||
padding: 8px 12px; background: none; border: none; border-bottom: 1px solid var(--line);
|
||||
cursor: pointer; font: inherit;
|
||||
}
|
||||
.contact-pick-item:last-child { border-bottom: none; }
|
||||
.contact-pick-item:hover { background: var(--surface-2); }
|
||||
.contact-pick-item .n { font-weight: 600; font-size: 13px; color: var(--text); }
|
||||
.contact-pick-item .e { font-size: 12px; color: var(--muted); }
|
||||
|
||||
/* ---------- Responsive: collapse sidebar to top bar on narrow screens ---------- */
|
||||
@media (max-width: 760px) {
|
||||
.app { flex-direction: column; }
|
||||
|
||||
Reference in new issue
Block a user