Skip to content

Trældal Forlag

Changelog

Overview of changes to the website. Current version: v0.7.25 · built 15 September 2026 at 05:57.

  1. v0.7.25
    • Fix: Shipping was always stored correctly on the order and included in the accounting figures, but was not shown anywhere in the admin UI. The “Amount” column on the order overview and the order card now show shipping and the total (goods + shipping), and the order card shows the delivery method. Shipping and delivery method can now also be entered/corrected manually when creating or editing a customer order.
    • New: The “Sold”/“Revenue” KPIs on the overview page still count per print run/batch (needed for royalty), while the accounting page’s “Total revenue” counts all paid orders regardless of batch assignment. A notice now appears at the top of the overview when there are paid orders without a batch assignment, since that is the most common reason the two pages can show different totals.
    • New: Edit/assign/delete actions on customer orders now show a visible error message on the overview page if the action fails, instead of failing silently.
  2. v0.7.24
    • Cart: Redesigned line items with product thumbnail, quantity steppers (+/-), and a clear summary showing subtotal, shipping and total.
    • Shipping: Added a choice between “Shipping in Norway” (100 NOK) and “Personal delivery / pickup” (0 NOK, available in Viken and Narvik). The chosen shipping method and amount are included in the order and confirmation email. No VAT is added to shipping, in line with the VAT-exempt book delivery rules. The cart now shows the actual cover image for each book instead of a placeholder.
    • Admin overview: New tabbed layout on the overview page – “Latest orders” (default), “Books / variants”, “Print runs / batches” and “All customer orders” – plus a KPI summary (sold, reserved, revenue, royalty earned/paid/outstanding) at the top. The “+ New order” button moved down onto the tab row.
  3. v0.7.23
    • Build fix: 0.7.22 failed in CI because the Astro compiler misread “<=” inside expressions as a Fragment tag. Rewrote to “< 1” in the batch dropdowns so the build passes again.
  4. v0.7.22
    • Sold-out print runs are locked from allocation: once the reserved qty on a batch reaches the printed qty, the batch can no longer be selected when registering or editing a customer order. The batch dropdown shows remaining qty and marks sold-out ones as “sold out / allocated”.
    • Orders already assigned to a sold-out batch remain selectable on the edit page, so other fields can be changed without losing the assignment.
  5. v0.7.21
    • Language label on the book page is now “Norwegian Bokmål” (“Norsk, bokmål” in Norwegian).
    • Removed the pre-order button under the cover and the facts list with price + ISBN per format – the buybox shows the same information. Pages, release date and pre-order date are kept.
  6. v0.7.20
    • Per-variant stock status with four levels: “Not yet available”, “Pre-order”, “In stock”, “Sold out”. The buybox shows the status as a coloured badge, and the button (label + enabled/disabled) follows the selected variant.
    • Admin: the “On sale” checkbox on the admin book page has been replaced by a four-status dropdown per variant, which drives visibility and buyability directly.
    • One page per language edition (like Ark.no): five format variants for that language, no language toggle inside the box. Below the buybox a card links to the other language edition.
    • Signed 1st edition NO is in stock, signed 1st edition EN is available for pre-order; other variants are shown as “Not yet available”.
  7. v0.7.19
    • Removed the page-navigating edition pills at the top of the book page. Editions are now switched only via the buybox language toggle – customers can no longer accidentally switch the whole page language.
    • Toggle label now shows status: “Norwegian edition · in stock” / “English edition · pre-order”.
  8. v0.7.18
    • Unified buybox: both Norwegian and English editions can be ordered from the same page via a language toggle – no page navigation needed. Cart supports both editions.
    • Removed cross-edition CTA card – replaced by the language toggle inside the buybox.
    • Per-edition buy note: “In stock” for published, “Pre-order – shipped once the print run is ready” for pre-order.
  9. v0.7.17
    • Cross-edition CTA: the book page now shows a highlighted card below the buybox linking to the other language edition, with copy tailored to that edition’s status.
  10. v0.7.16
    • Only the signed 1st edition is on sale/pre-order for now: Norwegian 1st edition on sale, English 1st edition on pre-order. Hardcover 2nd edition (NO and EN), paperback, e-book and audiobook are marked unavailable.
  11. v0.7.15
    • ISBNs set for all 10 variants of Trældal (5 formats × 2 languages): 978-82-694973-0-4 through 978-82-694973-9-7.
    • Seeding now fills empty sku fields in the variants table from frontmatter without overwriting values set via admin.
  12. v0.7.14
    • Book pages now show ISBN/item number per format (Signed, Hardcover, Paperback, etc.) instead of a single book-level ISBN shared across all variants.
    • Content: `formats[].sku` is now allowed in frontmatter and seeded into the variant table. Existing variants are not auto-updated – set ISBN via the admin UI.
  13. v0.7.13
    • Trældal English edition: back to pre-order. Signed hardcover 1st edition NOK 349 (campaign, list price NOK 449), hardcover 2nd edition NOK 349.
  14. v0.7.12
    • Language: the Norwegian status label “Utgitt” has been changed to “I salg nå” (shown on book cards and product pages).
  15. v0.7.11
    • Trældal (the novel): no longer a pre-order – the signed hardcover first edition is in stock and ships straight to you when you order. New price for the signed edition: NOK 449.
    • Hardcover 2nd edition is marked as not yet available.
    • New cover image for the novel.
  16. v0.7.10
    • Operations: the deploy pipeline now builds the Docker image on GitHub Actions and pushes it to GHCR. The server only pulls and starts, so deploys are faster and more robust. No functional changes for visitors.
  17. v0.7.9
    • Operations: verified that auto-deploy from GitHub Actions to Lightsail works again after the server was restarted. No functional changes.
  18. v0.7.8
    • Operations: the website has been redeployed after our AWS account was reopened. No functional changes.
  19. v0.7.7
    • English cart page: on the English site both the cart icon and “Add to cart” now lead to an English checkout.
  20. v0.7.6
    • Updated author photo of Anar, and a new author order (Anar as no. 2).
  21. v0.7.5
    • Author photo of Anar added.
  22. v0.7.4
    • Author photo of Stein Andreassen added (shown on the author card and author page).
  23. v0.7.3
    • The English home page now matches the Norwegian one: centered content and the same sections, including the excerpt from the book.
  24. v0.7.2
    • English reading sample (“Excerpt from the book”) on the English edition of Trældal.
    • New author added: Anar (coming soon).
  25. v0.7.1
    • Admin: manual customer orders now have a variant/format selector – ISBN and default price are pulled from the variant.
    • ISBN-13 is validated with its check digit in variant administration.
  26. v0.7.0
    • Each product now has up to 10 variants: 5 formats (Signed hardcover 1st ed., Hardcover 2nd ed., Paperback, E-book, Audiobook) × Norwegian/English.
    • Language/edition selector on the product: buy the Norwegian or English edition regardless of the site language you are browsing.
    • Each variant has its own product number/ISBN (13 digits) – editable in admin, with a temporary item number until the ISBN is assigned.
    • English editions are now purchasable (pre-order), not just “register interest”.
  27. v0.6.2
    • “Books” has been removed from the menu – “Shop” is now the single entry point to the books.
  28. v0.6.1
    • All purchases now go through the web shop (format selector + cart). The old order page and form have been removed.
    • “Order” in the menu has been replaced with “Shop”.
  29. v0.6.0
    • Web shop: product pages now have a format selector (Hardcover, Paperback, E-book, Audiobook) with icons – unavailable formats are greyed out.
    • Choose a format, add to cart and complete your pre-order at checkout (with postal code/city).
    • Cart icon with item count in the top menu.
    • Prepared for “Pay with Vipps” at checkout (coming in the next phase).
  30. v0.5.0
    • Admin: “orders” are now “customer orders”, each with an order number (TF-year-no).
    • Customer orders can be edited on their own page, including delivery address.
    • Delivery address has postal code + city, where the city is filled in automatically from the postal code.
    • Print runs can be marked as “received” from the printer with one click (sets the received date).
  31. v0.4.1
    • Fixed: admin login and forms were blocked with “Cross-site POST”; now resolved (CSRF is covered by a SameSite cookie).
  32. v0.4.0
    • New admin backend behind login: overview of orders per book, print runs (batches) and royalties.
    • Profit statement per print run with unit cost, sales, surplus and 60/40 author royalty.
    • Register orders manually, and web orders are now stored automatically in the database.
    • Record royalty payouts per print run and see what remains.
    • Prepared for Vipps payment (phase 2) and English/abroad sales (phase 3).
  33. v0.3.0
    • The entire website is now fully bilingual: every page exists in both Norwegian and English.
    • English pages for books, authors, about, ordering and changelog under /en.
    • The language switch now takes you to the same page in the other language.
    • The order page shows books in the correct language, with a language label on each product.
  34. v0.2.0
    • Bilingual structure: Norwegian pages show only Norwegian books, and English editions are gathered under /en.
    • Language switch (NO/EN) in the top menu, and a link between the Norwegian and English edition of the same book.
    • Version number and build date shown at the bottom of the page.
    • New changelog page.
  35. v0.1.0
    • First version: home, books, authors, about and ordering.
    • Order form with email notification and a Vipps option.
    • Publisher logo and cover for «Trældal» in place.
    • Docker setup for local testing before publishing.