Skip to content

Release v2.3.0: Selfhosting-Fixes, neuer Basar-Assistent, bessere SEO - #249

Merged
Garaz08 merged 36 commits into
mainfrom
development
Nov 4, 2026
Merged

Garaz08 merged 36 commits into
mainfrom
development

Conversation

@Garaz08

@Garaz08 Garaz08 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Inhalt

Selbst hosten

Weitere Änderungen

Beim Deploy zu beachten

  • Plausible auf bazarpro.de: Die Werte kommen jetzt zur Laufzeit über docker-compose.yml und den Deploy. Dieser Weg über Ansible lief noch nie. Nach dem Deploy prüfen:
    • Die Seite enthält plausibleDomain und plausibleApiHost in window.__BAZARPRO_CONFIG__.
    • Plausible zählt weiter Besucher.
  • Doku: docs(selbst-hosten): eigener Reverse Proxy, Mindestversion und Korrekturen docs#15 nach dem Release mergen, sie nennt v2.3.0 als Mindestversion.

Nicht enthalten sind die noch offenen PRs #242, #244 und #247.

🤖 Generated with Claude Code

Garaz08 and others added 30 commits October 31, 2026 16:32
The query cache only served visitors without an account, so on a bazaar day
every signed-in visitor's refetch ran against Postgres. A query can now
register a check that decides, before it runs, whom a signed-in user shares
the answer with: the visitors, all signed-in users, or nobody.

- categories.getAllCategories: always the visitors' answer
- eventProducts.getProductsForEvent, events.getPublicEventForViewer: the
  visitors' answer for users who are neither admin nor in the team nor
  selling items at the event
- events.get: one shared answer for signed-in users who are not admins

The load test can sign in a share of the visitors (bazaar.js SIGNED_IN,
accounts from prepare.mjs, which now also turns registration on: the demo
data turns it off). 1000 visitors, half of them signed in: event page p95
1706 -> 183 ms for signed-in visitors, sale median 495 -> 35 ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
perf(rpc): Angemeldete Besucher teilen gecachte Antworten (#228)
- Unknown paths answer 404 with noindex instead of the start page (soft 404);
  src/shared/appRoutes.ts lists the app's routes, a test keeps it in sync
- Pages behind the sign-in load as own chunks: main bundle 721 -> 470 kB gzip;
  signed-in users preload them, a chunk of an old deploy reloads once
- Event JSON-LD in one shared builder: structured address from a German
  postal code in the location, preview image as fallback
- PNG logo for the Organization data, unused hero image removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Street, postal code and town next to the location, which becomes the venue's
  name (migration 0015); optional, an edit without `address` keeps it, so
  older apps do not erase it
- Older events get the fields filled from their location when edited
- Pages, titles and JSON-LD use the address: "Kinderbasar in Ulm", a
  PostalAddress for Google's event search; search matches it too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- One OAuthButtons component at the top of both pages: one click signs in or
  creates the account and returns to where the user wanted to go
- Register asks for email and one password (10+ characters, show/hide)
  instead of a confirmation field and five composition rules
- The terms are a notice under the button instead of a checkbox; it now
  also covers the sign-ups with Google and GitHub

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- /events/new is open to visitors on the platform; self-hosted instances
  keep it behind the sign-in (only admins create events there)
- The draft waits in the browser (src/lib/eventDraft.ts, without pictures);
  the last step leads to the sign-up, and afterwards the bazaar is created
  without another click
- Organizer buttons on the landing and pricing pages lead into the wizard
  instead of the register page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reset and change password ask like the sign-up: one field with show/hide
  (PasswordInput) and at least 10 characters (MIN_PASSWORD_LENGTH); the
  composition rules and the strength meter are gone
- Unused texts removed, E2E specs follow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Migration 0016 adds events.country (ISO code; none is Germany), the
  backend accepts DE, AT, CH, LI and LU
- The form has a country select and checks the postal code per country
  (five digits in Germany, four in the others)
- JSON-LD uses it as addressCountry instead of a fixed DE

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

- Templates for what most organizers run, most asked first: children's
  bazaar, clothing/second-hand bazaar, ski bazaar, bike sale; the bike market
  with record is gone as template (its switches stay)
- Illustrated template cards with highlights; drawn items (kids clothes,
  jacket, skis, bike) in components/illustrations
- Order: kind, sale, items, fees, joining, then date and place, drop-off and
  a preview of the bazaar page; done steps can be opened from the stepper
- Next to each step a live preview: the item on a buyer's phone with
  discount, VB, price offer and questions; the printed label; the payout of
  one item; the listing card; the page header; the drop-off timeline
- The contact moved to the details, the commission to the fees

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Twelve drawings after real photos, three per kind: e.g. skis with toe and
  heel piece and poles with baskets, a forward-leaning ski boot with buckles
  and sole lips, a ski helmet with ear pad and goggles, Chelsea boots, a kids
  bike with training wheel; one shared box, so the sizes match everywhere
- Cards and page headers show the three items as a group, the previews the
  item of each example (handbag and bike helmet replace coffee set and trailer)
- Every new step scrolls to the top after it rendered, also when a template
  is picked; the template's name starts the title
- /events/new?type=<id> starts with that template

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New section with the four kinds of bazaars and their items; a card opens
  the creation wizard with that template
- The hero headline follows the screen width, so "Second-Hand-Basare" no
  longer pushes the page wider than the phone
- Phones in the hero and the process scenes are wider on small screens
  (114/130 -> 143-163 px) with a shorter screen, so their texts fit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Kids: striped T-shirt and denim dungarees with rolled-up legs, building
  bricks in isometric view with studs, chunky red rubber boots with dots
- Chelsea boots: low shaft and long toe sloping down from the instep, tall
  elastic U, pull tab, welted sole and low heel
- Bike helmet: high shell with a short tail, rows of teardrop vents, visor at
  the forehead, rim, retention dial and straps
- Group shots keep the side items inside the picture

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

- T-shirt with sloping shoulders, angled sleeves and a wider body
- Rubber boots with a thin sole attached to the foot, a pair in one color
- Jacket laid flat with a stand-up collar instead of hanger and hood
- Women's ankle boots with a heel: side zip, thin sole, one color
- A U-lock replaces the bike helmet as third example of the bike sale

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

The discount start was asked before the dates and checked against them, so the
wizard could not go on: it now follows the dates and needs them to be set. Each
step only checks the fields it shows.

The last step gets cover templates, which also work without an account, and
uploads for own cover and site plan that ask for the login. The previews show
them and are clearly marked, their notes no longer sit on the dotted background.

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

Kids, clothing, bike and market covers are now the Unsplash photos of the demo
data; ski and the tile pattern stay drawn. The hero in the preview had a minimum
height and a ratio, which made it wider than its column. On phones the wizard
grid could grow past the screen. The guest banner is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SEO, Adresse für Basare, einfachere Registrierung, Basar anlegen ohne Konto
…eller conditions

Browsers keep a snapping row on the card it showed, so the second activation hid the
past events to the left. The row now starts over with the toggle. Both carousels share
ScrollRow; landing cards are one link instead of a click handler plus a button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Unused components, hook and menu history, a second cn helper, unused sidebar modes and
locale keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the repeated AlertDialog markup in 16 places. Deleting and leaving now look
destructive everywhere, the helper dialog is shorter, unreachable branches are gone.

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

Page titles look the same everywhere. Subtitles that repeat the title are gone, the
sellers page has its actions in the header and the search next to the tabs. My Products
says when filters hide everything instead of inviting to create a first item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Event dashboard revenue counts what buyers paid, not list prices
- Share copies the link where a browser has no share sheet
- Failed approvals show an error, sellers page shows no false no-access while loading,
  saving an event no longer says creating
- One button to show the digital ID; rejecting an event uses the reason dialog
- Removed the status tiles and proof card from the event dashboard (tabs and cash page
  have them), seller stat tiles, conditions dialog on event cards, moderation help,
  hints that repeat their titles, unused ProductCard modes and the scanner examples

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…alog and wizard texts

Removes the duplicate labels button and clear-filter button, the second way to end
multi selection, labels above values and text that repeats a dialog title or its buttons.
The bulk action is called what it does: it sets the events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
refactor: simplify the UI, reuse components, trim text
A new self-hosted instance had no categories and no way to add them in the
app, so no bazaar could be created. The server now fills an empty table on
start; an instance with categories keeps exactly those. The Convex import and
the demo seed replace the defaults while no users exist, so they do not end up
next to the imported or English categories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Admins see every category with its extra fields and usage, can add and rename
categories, and delete those nothing uses. The name still decides the extra
fields, so the dialog shows them while typing and warns when they change.

Categories get translated names in `translations`, shown wherever a name is
displayed; `label` stays the name for the field rules and the fallback. The
default categories get their English names, also on existing instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signing out leaves refused queries in memory for 30 seconds. Signing in within
that time, the overview opened with the refusal of the last user and stayed on
the error page, as the path did not change. Errors now go before the pages hear
of the sign-in, and a refusal arriving after it is not shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Garaz08 and others added 6 commits November 4, 2026 12:27
Inside a form Radix keeps a hidden native select. A value arriving before its
option made that one report "", which wiped the value: opening an item to edit
with the categories already loaded lost its category and condition, so its
extra fields were gone and saving failed. No option can be empty, so an empty
value is ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Standardkategorien für neue Installationen, Kategorien-Seite im Admin-Bereich
Keine Fehlerseite mehr nach erneutem Anmelden
The image carried bazarpro.de and data.bazarpro.de as fallback, so every
self-hosted instance showed analytics as active, and entering only a domain
would have sent page views to bazarpro.de's server. Plausible now comes from
the web server at runtime only. Production, which relied on the fallback, gets
the values from docker-compose.yml and the deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(analytics): keine fest eingebauten Plausible-Werte im Image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

🚀 Review-App

https://review-249.bazarpro.de

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

Stand: d3fa2f2 · 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-249-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 b51f31b into main Nov 4, 2026
27 checks passed

This branch was previously deployed

1 inactive deployment
review — d3fa2f20 Deployed Nov 4, 2026 by Garaz08 via deploy-review #529
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.

1 participant