mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
7da0080557
* docs(wiki): correct the install and operations pages for 4.0.0 Quick Start passed docker an empty ENCRYPTION_KEY: an assignment prefix is not expanded on the same command line, so the server silently generated its own key instead of taking the one the page told you to set. The tag examples pinned to the 3.x line, the documented tmpfs size did not match the shipped compose file, and several .env values were described as reaching the container when compose never interpolates them. * docs(wiki): match the MCP reference to the registered surface The scope table was missing the whole Collections group and the totals said 27 scopes across 13 groups where the code registers 29 across 14. The Cloudflare link on the setup page pointed at an anchor on its own page instead of the heading on Troubleshooting. * docs(wiki): correct the plugin and admin pages Three links to Plugin-Development carried a .md suffix, which does not resolve on the wiki. The admin pages described tabs, permissions and storage behaviour that had moved on. * docs(wiki): bring the feature pages back in line with the app Costs still documented the old panel, where categories could be added, renamed, reordered and deleted; they are fixed now and the panel is a day-grouped ledger with settlements. Trip sharing, journeys, maps, packing, reservations and the account pages had all drifted in the same way. * docs(wiki): cover the pages the first pass did not reach The MCP catalog listed 168 of the 201 registered tools; the settlement tools and rate_place were missing here and the Collections family from the addon page. Several resource rows claimed a trips:* scope where the handler asks for trips:read. * docs(wiki): tighten the corrections a review picked apart The audit-log resource is the row id, not the credential id; an admin password reset does not bump password_version the way the page implied; and a few of the new paragraphs described behaviour more confidently than the code supports. * docs(wiki): fix what a last read-through caught Costs shows every figure in your display currency, not the trip's, and an expense with no payer still counts against the members it is split between. Studio's cutoff is a 1024px viewport rather than phones alone, and the Integrations tab is gated on the providers an admin has configured. * docs(wiki): the last few the review caught A passkey satisfies the MFA policy everywhere except the WebSocket handshake, which still asks for TOTP, so a passkey-only account under that policy gets no live updates. Mobile optimizes a day from two places, not three. The ctx.db row carried an unescaped pipe that split the table, and the Backups table linked with a wiki link whose pipe did the same.
61 lines
3.1 KiB
Markdown
61 lines
3.1 KiB
Markdown
# Collab Polls
|
|
|
|
Create group polls to make decisions collaboratively — where to eat, which hotel, what to do on a free day.
|
|
|
|

|
|
|
|
## Where to find it
|
|
|
|
Open the trip planner → **Collab** tab → **Polls** section. The Collab addon must be enabled and the Polls sub-feature must be turned on. See [Real-Time-Collaboration](Real-Time-Collaboration).
|
|
|
|
## Creating a poll
|
|
|
|
Users with `collab_edit` permission can click **+ New Poll** in the Polls header. A modal opens with the following fields:
|
|
|
|
| Field | Required | Notes |
|
|
|-------|----------|-------|
|
|
| Question | Yes | The poll prompt |
|
|
| Options | Yes | At least 2 options required; add more with **+ Add option** |
|
|
| Multiple choice | No | Toggle on to allow voters to select more than one option |
|
|
| Deadline | No | Mobile only; date and time after which voting closes automatically |
|
|
|
|
Click **Create Poll** to save and broadcast the poll to all connected members.
|
|
|
|
## Voting
|
|
|
|
Click an option button to vote. A filled circle and blue highlight indicate your selection. For **multiple-choice** polls, you can click additional options to select more than one; clicking an already-selected option removes your vote for that option. For **single-choice** polls, clicking a different option moves your vote to the new selection.
|
|
|
|
Voter avatars and the numeric percentage are only visible **after you have voted** or once the poll is closed or expired. The fill bar behind each option is always drawn, in a faint neutral tint until you vote, and the total vote count in the poll header is visible to everyone — so the rough distribution can be read before you cast your vote.
|
|
|
|
## Results
|
|
|
|
Each option shows:
|
|
|
|
- A **percentage fill bar** that expands proportionally to the votes received
|
|
- Up to **3 voter avatar chips** stacked next to the option
|
|
- The **percentage** of total votes in the right margin
|
|
|
|
The option with the most votes is highlighted when the poll is closed or expired.
|
|
|
|
## Deadline
|
|
|
|
Polls may carry an optional deadline. On **mobile** the new-poll sheet has a **Deadline** field — a date-and-time picker with a clear button. The desktop create modal does not offer one yet, so on desktop a deadline can only be set through the API or MCP. When a deadline is present, a live countdown badge appears on the poll card, updating every **30 seconds**. The badge shows the remaining time in days/hours/minutes format.
|
|
|
|
When the deadline passes, the poll is automatically treated as closed: voting is disabled and results are displayed to everyone.
|
|
|
|
## Closing a poll manually
|
|
|
|
Users with `collab_edit` permission can click the lock icon on an open poll to close it immediately. Once closed, voting is permanently disabled.
|
|
|
|
## Deleting a poll
|
|
|
|
Users with `collab_edit` permission can delete a poll using the trash icon. Deletion is permanent and removes the poll for all members.
|
|
|
|
## Active and closed sections
|
|
|
|
Open polls appear at the top of the list. Closed or expired polls move to a **Closed** section below the active polls.
|
|
|
|
## Related pages
|
|
|
|
[Real-Time-Collaboration](Real-Time-Collaboration) · [Collab-Chat](Collab-Chat) · [Collab-Notes](Collab-Notes)
|