mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(trips): Share and Save to list in the new dialog look
Share opens on the shared dialog frame: the trip's name and the number of people in the head band, members and guests on the left, the public link and the invite link as two cards on the right. Rows carry their actions as icon buttons named by their tooltips, and removing a member, leaving, handing over the trip or removing a guest asks in the app's own dialog instead of the browser's. The invite link can no longer be created twice by a double click. The phone, which opens the same dialog from its More sheet, keeps the sheet it had; both run on one set of hooks. Save to list has the place's name in the head band, Mark visited as a pill beside it, the lists as rows with a tick, and View at its foot. The public link's hint loses its dash in every language, and the help guides and wiki pages of the Share dialog show the new look.
This commit is contained in:
@@ -41,6 +41,8 @@ You usually find out you have been somewhere while looking at the trip, not whil
|
||||
- The **Save to list** dialog on a trip place shows every list that already holds it, each with its own status pill. Tap a pill to cycle that list's status, or use **Visited everywhere** to mark all of them at once.
|
||||
- The places panel has a **mark visited** action in its selection bar (and in the bulk toolbar on phones). Select the places — *Select all* covers the whole trip — and every saved copy of them is marked visited.
|
||||
|
||||

|
||||
|
||||
Matching is by the place's provider id, its coordinates, or the link a place saved out of that trip already carries, so a copy you renamed inside a list is still found. Lists shared with you read-only are left alone.
|
||||
|
||||
## Categories
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
# Trip Members and Sharing
|
||||
|
||||

|
||||

|
||||
|
||||
## Opening the Members Panel
|
||||
|
||||
- From the **trip planner**: click the Share button in the top navigation bar.
|
||||
- On **mobile**: open the trip, then **More** → **Share Trip**.
|
||||
|
||||
When you have the `share_manage` permission the modal opens to a two-column layout on wider screens (members on the left, share link on the right). Without that permission only the members column is shown. On narrow screens the columns always stack.
|
||||
The dialog carries the trip's name in its head band, with the number of people on the trip and, once there are any, of its guests. When you have the `share_manage` permission it opens in two columns (members and guests on the left, the two links on the right). Without that permission only the members column is shown. On a narrow window the columns stack.
|
||||
|
||||
## Members List
|
||||
|
||||
The left column lists everyone who has access to the trip.
|
||||
|
||||
- The **trip owner** is marked with a crown badge.
|
||||
- Your own entry is labeled **(you)**.
|
||||
- The **trip owner** is marked with an **Owner** badge and a crown.
|
||||
- Your own entry carries a **you** badge (on the phone it reads **(you)**).
|
||||
- A remove button appears on your own row, and on every non-owner row if you have the `member_manage` permission.
|
||||
|
||||
### Inviting Members
|
||||
@@ -23,7 +23,7 @@ If you have the `member_manage` permission (default: trip owner), an invite cont
|
||||
|
||||
### Removing a Member
|
||||
|
||||
Click the remove icon next to any member's name. A confirmation prompt appears before the member is removed.
|
||||
Click the remove icon next to any member's name (**Remove access**). TREK asks first, in a dialog over the Share dialog, and removes the member only on **Confirm**.
|
||||
|
||||
If you click the remove icon next to **your own** name, the action is labeled **Leave trip** and uses a "log out" icon. Leaving reloads the page and returns you to the dashboard.
|
||||
|
||||
@@ -74,7 +74,7 @@ These limits are enforced on the server, not just hidden in the UI.
|
||||
|
||||
### Renaming and removing
|
||||
|
||||
In the owner's Guests section, each guest row has a **Rename** (pencil) and a **Remove access** (trash) button. Removing a guest is **destructive and cascading**:
|
||||
In the owner's Guests section, each guest row has a **Rename** (pencil) and a **Remove access** (trash) button. Rename turns the name into a field: Enter saves, Escape leaves it as it was. Removing a guest is **destructive and cascading**, so TREK asks before it deletes:
|
||||
|
||||
> Remove this guest? Their assignments and cost shares will be removed too.
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 170 KiB |
Reference in New Issue
Block a user