brainwritR 0.7.0
-
run_app()now keeps its main database in the user data directory,tools::R_user_dir("brainwritR", "data"), when neitherdb_pathnorDB_PATHis given, instead of creatingdata/in the working directory. Docker deployments setDB_PATHand are unaffected; local users who relied on the old default can passdb_path = "data/brainwriting.sqlite". - Prepare the package for CRAN: quote ‘shiny’ in the title and description and add
cran-comments.md. - Match the reserved address parameters
s,modandviewby their exact names. An invitation address with a harmless parameter that merely starts with one of them, such as?source=moodleor?src=qr, was read as a session code and showed “Session nicht gefunden” to every participant;?mode=1was read as the moderator route. - Read settings keys by their exact names. An unknown key that starts with a known one, such as
participants_planned, is no longer taken for that key; it only raises the warning for unknown settings. - Translate the format sentence in setup for any number of questions per topic, not only two, and the error for a topic without a non-empty question, in the English and French interface.
- Write the remaining German interface texts with umlauts (“möglich”, “Beiträge”, “löschen”) instead of ASCII transliterations.
- Figures list topics and rounds from top to bottom, starting with topic 1 and round 1, with bars of one thickness also where a round has no entries, and show whole numbers on count axes. Topic titles are shortened after 60 instead of 42 characters or after three lines, so six topics fit the first report page, and then end with an ellipsis instead of being cut silently. Labels in the term network move apart instead of covering one another, and the term chart grows with the number of topic rows, so five or six topics stay legible. A topic number stays on the line of a long first word instead of standing alone, as in “5 · Prüfungsvorbereitung”.
- The term network lays out each connected group of terms on its own tile and without edge weights, so a group of terms that only occur together, such as the terms of one long contribution, no longer forms a knot of overlapping points and labels; edge widths still show the weights. Labels keep clear of points at their drawn size; their placement ends after a fixed number of steps instead of one second, so a figure looks the same on every computer and under load. Tiles follow the panel shape: the short, wide per-topic networks of the PDF report place their groups side by side, the phone view arranges them in a square grid.
- Bars of the overlap chart (“Anknüpfung über Runden”) carry their value, so a topic with no overlap shows “0 %” instead of an empty row that looks like missing data; bars from 75 % on carry it inside, so “100 %” is not cut off on phones. Its axis shows 0, 50 and 100 %, which stay apart on phones.
- Figure titles start at the left edge of the figure instead of after the axis labels, so titles such as “Beiträge je Thema und Runde” are no longer cut off in narrow phone panels. On the first page of the PDF report, which is wide enough, the figure titles stay on the left edge of the header. Legends are centred on the whole figure and the axis title of the overlap chart ends at the right edge of its panel, so neither is cut off beside long topic labels on phones.
- The weighting page of the PDF report writes each contribution on one line when more than three topics share the page; wrapped labels ran into one another there. Shortened contributions in the weighting chart end with an ellipsis (…), like shortened topic titles, and are cut between words.
- Errors of
topic_for()andsheet_for()name the allowed range, for example “grp must contain finite whole numbers from 1 to 3”. - Declare the base packages grDevices and tools in Imports.
- Write the documentation in British English and name the author “R. Heller” in
CITATION.cff. - The licence badge in the README links to the full licence text on GitHub. It pointed to
LICENSE.md, which is not part of the package source, so the link was dead in the built package.
brainwritR 0.6.0
Show the logo in the new consensus and ideation colour (plum #91617B), shared with delphyR;
tools/branding/render.Rrecolours the approved hexmakR master and keeps the name outlines.Bind local startup to loopback by default. Network launchers must explicitly select a listening host and replace the demonstration moderator PIN; Docker keeps its explicit network binding.
Reject invitation base URLs with missing hosts, credentials, fragments or reserved routing parameters, and preserve harmless query strings.
Close SQLite connections after failed standard-session archive attempts and exclude local Git metadata from source packages.
Establish the browser’s starting theme before testing its toggle, independent of the test machine’s colour preference.
Standardise the named v5 package logo across README, documentation pages and available application headers, with matching light and dark artwork.
Configure any positive number of questions separately for each topic. Answer fields, drafts, submissions, YAML, prompt exclusion and exports follow that count; existing two-question settings and databases remain supported.
Show the authored question above each answer in results and plenum views, and list the questions in the analysis tab.
Apply the pseudonymisation checkbox immediately to the result view as well as downloads, without changing stored participant identities.
Fix weighted plots and PDF generation on ggplot2 3.5.x, where
facet_wrap()does not acceptspace. Keep download handlers active and send explicit MIME types for PDF, XLSX, RDS, CSV, Markdown and YAML files.Add server and real-browser regressions for variable questions, immediate pseudonyms, weighted plots and downloaded binary file contents.
brainwritR 0.5.0
- Add Analyse & Plenum to finished sessions: participants see all contributions anonymously and distribute 100 % per topic with sliders, their own contributions included. On a shared hot-seat device the weighting passes from person to person.
- The moderator starts, ends and reopens the weighting, follows progress per topic and then sees a ranked overview with a chart; results stay hidden while voting is open.
- Weights appear in a new CSV download, an extra XLSX sheet, the RDS snapshot, the Markdown protocol and a third PDF page. For sessions without weights, CSV, XLSX, Markdown and PDF are unchanged; the RDS snapshot always carries the
votestable and the newplenumandplenum_turnsession columns. - Ask for the planned number of participants in setup and describe the resulting format live, for example “Format 16-2-5 … 5–6 people per group”; the lobby counts joins against it. Names in setup are marked optional; pseudonyms are welcome.
- Replace the footer line with a CTTIR link and an inline GitHub icon.
- Add a light/dark toggle next to the language control. It switches in place without touching drafts, is remembered per browser and follows the device setting by default.
- Migrate session files created by 0.4.0 at startup.
Follow-up to an external audit of this release:
- Ending a round only ends the round on screen: repeated clicks or a second moderator tab no longer skip a round in individual and group-device mode.
- Weighting sliders are named by their question and contribution and announce the remaining budget; their values are spoken as percentages.
- Charts adapt to phones: rank-numbered weighting chart sized to its bars, single-column terms, smaller network and wordcloud, horizontal continuity bars, larger text.
- One rule decides what counts as a contribution: whitespace-only text (tabs, line breaks, no-break, ideographic and zero-width characters included) is ignored by analytics, weighting, protocols and the previous-contribution view.
- Open voting pages of the same person follow weights stored from another tab or device.
- Moderator logins also expire in open tabs after 12 hours.
- Optional spreadsheet-safe CSV downloads that defuse formula-like cells, also after embedded separators and line breaks.
- Publish the website through GitHub Pages actions, matching the repository setting.
- Open SQLite files with
synchronous = NORMAL(SQLite’s durable setting for WAL) after the busy timeout, instead of RSQLite’s defaultOFF, so recently saved contributions survive an operating-system crash or power loss.
brainwritR 0.4.0
- Run several sessions side by side, each with its own address (
?s=<code>) and QR code. The bare address keeps serving the standard session; existing databases need no migration. - Add a moderator session overview to create, open, restart, archive, restore and delete sessions, with large downloadable QR codes.
- Restarting a session offers its settings for review in a new session and keeps the original results. Archived sessions refuse participants and stay available for review and export.
- Keep one participant identity per session on each device.
- Keep moderators signed in per browser tab and pause new logins after repeated wrong PINs.
- Rewrite the example question sets after the 6-3-5 principle: one open problem per topic, up to three new ideas, then develop an idea already on the sheet.
- Draw participant IDs from the operating system’s secure generator. Drawing a wordcloud no longer resets R’s random seed, which had made later IDs and group shuffles predictable and could make a join fail on a duplicate ID.
- Never recreate a deleted session file from a lingering page; open pages reload to a notice.
brainwritR 0.3.0
Add an in-place German/English/French language slider without interrupting drafts.
Offer reversible, editable example questions in the selected interface language.
Provide an English screenshot gallery and an entirely English classroom vignette.
Add a multilingual descriptive analytics view with five shared ggplot figures.
Count Unicode German terms with transparent stopword and prompt-vocabulary filters.
Summarise adjacent-round lexical overlap without treating it as an idea-quality score.
Compose deterministic two-page A4 reports directly with Cairo and patchwork.
Add lossless RDS and styled four-sheet XLSX exports alongside CSV and Markdown.
Apply optional stable author pseudonyms consistently across all five downloads.
brainwritR 0.2.0
- Preserve the default individual-device workflow and add optional roster buttons.
- Add canonical group-device identities and sequential hot-seat handovers.
- Prepare sessions using the setup form or validated, safely parsed YAML files.
- Migrate existing databases in place, retaining sessions and contributions.
- Persist settings in SQLite and support sparse hot-seat groups with an empty sheet.
- Extend lifecycle, browser, migration and configuration regression coverage.
brainwritR 0.1.0
- Initial classroom brainwriting application with German participant and moderator views.
- SQLite persistence, frozen sheet counts, balanced groups and late joining.
- Server-authoritative rounds, reconnect/resume and debounced draft saving.
- Server-side moderator authorisation and transactional lifecycle operations.
- CSV and Markdown export, container deployment and classroom guide.