Skip to content

Release v2.4.0: Universal-Etiketten, klarere Abläufe, Ausdrucke für Verkäufer - #255

Merged
Garaz08 merged 67 commits into
mainfrom
development
Nov 5, 2026
Merged

Garaz08 merged 67 commits into
mainfrom
development

Conversation

@Garaz08

@Garaz08 Garaz08 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Inhalt

Neu

Korrekturen

Beim Deploy zu beachten

  • Kasse: Die Beschreibung von Redesign: klarere Abläufe, eine Navigation, weniger doppelter Code #251 ist hier veraltet. Der Haken „… € erhalten“ im Warenkorb-Checkout bleibt.
  • Link und Zugangscode: Bestehende Basare dieser Stufe ohne Code nehmen keine Anmeldungen mehr an, bis sie einen Code haben (fix(events): enforce event visibility, add link-and-code access #247).
  • Migrationen 0017, 0018, 0020, 0021, 0022 laufen beim Start des Backends. Sie ändern users (Sortiercodes, Ländercodes).
  • Rückweg: v2.3.0 kennt diese Migrationen nicht und startet auf der migrierten Datenbank nicht. Zurück geht es nur mit scripts/restore.sh und dem Dump backups/predeploy_*.dump. Was seit dem Deploy geschrieben wurde, geht dabei verloren.
  • Datenschutztext: Die Rechtsgrundlage für Einladungen (Art. 6 Abs. 1 lit. f DSGVO) ist ein Vorschlag und nicht rechtlich geprüft. Self-Hosting-Instanzen mit eigenem Rechtstext bekommen die Änderung nicht automatisch.
  • Doku: Neues Design, neue Reihenfolge und neue Funktionen in der Doku docs#16 enthält auch Universal-Etiketten erklären docs#14. Die Funktionen-Seite verlinkt auf veranstalter/universal-etiketten, deshalb spätestens zusammen mit dem Deploy mergen.
  • Android: Das signierte AAB entsteht beim Tag als Artefakt. Der Upload zu Google Play ist ein eigener Schritt, und App-Nutzer sehen das neue Design erst danach.

Nach dem Deploy prüfen:

  • Die Seite zeigt v2.4.0, Anmelden funktioniert.
  • Eine Einladungs-Mail kommt an.
  • Etiketten und ein Verkäufer-Ausdruck lassen sich erzeugen.

Self-Host-Vorlage auf v2.4.0.

Closes #238
Closes #239
Closes #240

🤖 Generated with Claude Code

Garaz08 and others added 30 commits November 2, 2026 10:21
Without a number a label holds nothing specific to one bazaar, so sellers
can reuse it at the next one. On by default, older clients keep the value.
Drafts saved before a new switch existed take its default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es that load again

- Reminders, calendar, exports and lists name the full address; address parts
  count as repeated only as whole words; a street alone reaches the JSON-LD
- A draft returns to its step and can be discarded; ?type= beats an old draft;
  only a finished draft is created by itself; cancel and sign-out clear it
- Missing draft after the sign-up says where it is; a removed cover stays removed
- Failed page chunks load again without a manual reload; a reload only when the
  server answers; preloading retries; no onboarding prompt after the wizard
- Wizard preview prints the label number as the real label does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he sheet

A bazaar chooses what marks the seller on labels: the number, a universal
mark or nothing. The universal mark stays with the seller (users.sort_code),
so printed labels work at other bazaars: a large digit and three fields to sort
by sight. Fields have color and symbol, so black and white prints work and
color-blind helpers can tell them apart. Only on the small sheet.

The team prints one sheet per basket, in sorting order. Sellers can start on a
free place of a partly used sheet (#238).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The kids and clothing bazaars print universal labels, the flea market
QR-only labels. Venues get a structured address, including one in Austria.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The features page shows example labels and links to the guide, the pricing
FAQ answers what a universal label is, and the short texts name the option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Profiles now store country codes like events do, and the postal code is
checked by the chosen country. A migration converts common spellings; other
text stays selectable and is shown as typed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
App.css repeated index.css and loaded after it, so it silently decided the dark destructive colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… brand colour

Dark destructive was too dark to read as text (discounted prices, block reasons).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Single icon gap in buttons, softer card shadow, muted table heads, and a soft button
variant for repeated or current actions. Tables can stack on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… with the content

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on phones

The events table ran past the page and hid its actions; each row grew to five lines of buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hat stay on one line

Status badges from the shared variants, one action colour per row, and no email twice per seller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ize, calmer landing

Fixes a third line of text showing below the ellipsis on event cards, and lines the landing
sections up on one width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The default border colour only reached #root, so everything in a portal got black lines.
The cash and return confirmation boxes keep their dark outline on purpose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…visible edge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, calm seller pill

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was German for every language. The mark itself is also lighter now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A solid red button on every row outweighed the content; the dialog behind it still asks for a reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The narrower column made the phone shrink to 120px on desktops and cut off its
text. It takes a third of the scene again; the wider column starts at xl, since
below that the title would break onto three lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-in users could not open the public page of "logged-in" events:
getPublicEventForViewer refused every non-public event, and signed-in
bystanders got the shared visitor answer from the query cache.

- Open the page and items of "logged-in" events to signed-in users and
  share visitor answers only for public events
- Close read paths that ignored visibility: event items, item page,
  questions, event ids and locations, events.getEvents
- Items of rejected or pending public events are no longer public
- "approved" becomes "only with link and access code": not listed or
  indexed, page by link, items after joining with the required code
- Explain the setting in the event form and show the link in the settings
- Questions and offers require access to the event of the listing
- Blank access code on edit removes it; left out it stays
- Guests get a sign-in hint instead of a bare "not found"

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bility

# Conflicts:
#	src/pages/public/events/PublicEventPage.tsx
#	src/pages/public/events/PublicEventProductsPage.tsx
Customers scan the label at a bazaar to learn the price, so the item page
must not depend on the visibility of its events. Discounts and status come
from all its events again; questions go with the item.

- Search engines stay out: new `indexable` is false for items only in
  events that are not public, used by the page and the server-rendered meta
- `mayParticipate` on the listing hides asking and offers at events reached
  by link and code until the viewer joined; the backend still refuses them
- Event data (ids, locations, getEvents) stays behind visibility
- Remove products.get: no caller, and it listed every item to anybody

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An emptied field was left out of editEvent and the stored limit stayed.
`clearVendorLimit` removes it; left out, as older apps do, it stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(events): enforce event visibility, add link-and-code access
…-labels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… number

Labels no longer carry the seller number: a bazaar prints the seller's lasting mark
or only the QR code, in both formats.

The mark is a pile (color, shape, digit) and two basket marks from 00 to 99, whose
tens give the color and ones the shape. That makes 100,000 codes, then a letter is
added, so codes never run out or repeat. Only sellers get a code, with their first
item or bazaar, and no code is given out again.

If two sellers of a bazaar differ by the letter only, the seller sees a warning, and
the team sees it in the list and on the sorting sheets.

All QR codes come from one module and component, qrcode.react is gone. All label
exports go through one dialog, which always asks for the first free place (#238).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Garaz08 and others added 26 commits November 4, 2026 21:50
A button on the seller page opens the print dialog with all items that still need a label,
seller by seller. The export asks the backend in batches and compresses the PDF, so a large
bazaar fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It ran into the timeout under coverage in CI. The download functions of the sorting sheets
are covered too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Universal-Etiketten, Länderauswahl im Profil, Startposition beim Druck, Korrekturen aus dem Review
Event forms had headings in three sizes and cards inside cards; 25 places wrote
their own error line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sidebar and tab bar read the same list. The area switch moves to the top of the
menu, because it decides what the menu below is about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wizard and settings render the same sections. The wizard runs without the
sidebar and keeps its buttons in reach; the old edit address redirects. Shared
hook for event access and helper for the approval state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sellers and organizers see the way through a bazaar and what is due now. Sellers
page: adding and printing move into menus, messages live here only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bereich Verkaufen/Organisieren instead of roles, Verkäufer instead of Teilnehmer,
Abrechnung instead of Kassensturz, Basar instead of Event. Onboarding follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ticking 'received' cost a tap per sale at a busy desk and added no information.
The button now says '12,50 € erhalten · Verkauf abschließen' and follows the
total, so it confirms the same thing. Sales and returns can still be undone.
Sum and button stay in reach on phones, the scanner takes less room there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sold items count as announced, so a seller with sales is not told to add items.
Offer buttons wrap instead of leaving the card on phones. Deleting an item no
longer competes with saving.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Marketing and legal texts and mails stay as they are. English follows with
bazaar. Tests follow the wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Let organizers send, revoke, and track event invitations
- Join by invitation link and add invited helpers as coorganizers
- Add a team scanner shortcut and streamline mobile page scrolling
- Move the overview into the menu and give bazaar managers quick access to scanning
- Restore normal page scrolling and add tab bar spacing for sticky actions
Redesign: klarere Abläufe, eine Navigation, weniger doppelter Code
The team prints both from the seller's details, above all for sellers without an
account: name, category, details, price and state of each item, and the settlement
with the same amounts as on screen. Offline messages now point to "Abrechnung"
instead of the old name "Kassensturz".

Closes #239
Closes #240

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The code links a seller's bazaars, and invitations store addresses of people who
may never answer. Also in the template for self-hosted instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sellers without an account often have no address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The form takes the full width on a phone, without a card around it. One way
back from "forgot password", which leads to the login form.

The seller panel keeps its header the same in both tabs: all printouts in one
menu, the tabs right below it. Adding an item belongs to the intake tab, which
now says how many items there are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The login test pulled these files into the coverage report, which took
branch coverage below the 80% threshold. Test their flows and errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The login page never passed its info text to the code form, so asking
for a new code showed nothing. A failed retry now also drops the earlier
success text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ausdrucke für Verkäufer, Verkäufer-Details, Anmeldung auf dem Handy, Datenschutztext
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

🚀 Review-App

https://review-255.bazarpro.de

Modus: platform (wie bazarpro.de). Self-Hosting testen: Label review:single setzen.

Stand: 38f8eb1 · Demo-Daten aus dem Seed, alle Konten mit Passwort 123456:

Rolle Konto
Admin admin@bazarpro.de
Veranstalter user1@bazarpro.de
Verkäufer seller@bazarpro.de
Käufer kaeufer1@bazarpro.de, kaeufer2@bazarpro.de

Laufendes Event mit allen Funktionen: Fahrradbörse Bürgerhalle (alle Funktionen).

📬 Alle Mails der Review-App: https://review-255-mail.bazarpro.de (Benutzer review, Passwort aus dem Secret REVIEW_MAIL_PASSWORD)

Die Review-App wird beim Schließen des Pull Requests entfernt.

@Garaz08
Garaz08 merged commit ea5731e into main Nov 5, 2026
27 checks passed

This branch was previously deployed

1 inactive deployment
review — 38f8eb1b Deployed Nov 5, 2026 by Garaz08 via deploy-review #568
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.

Abrechnung eines Teilnehmers ausdrucken Artikelliste eines Teilnehmers ausdrucken Startposition für Druck von Etiketten angeben

1 participant