mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
revert(collections): a saved place carries no price, website or phone again
Takes back the editable price, currency, website and phone on collection places from0df82185band its review follow-up ina910c2a83. Costs are kept inside a trip only; a collection does not carry them, and #2471 is a feature request rather than a bug. The collection files are back to how they were before, including the dimmed save button fromf16698bdb, which only mattered for the price field.
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ Places can be assigned a **category** from the same admin-defined set used acros
|
||||
|
||||
## Place detail
|
||||
|
||||
Clicking a saved place opens a detail sheet showing a cover photo (fetched automatically when the place has none of its own), its category, its price, phone and website when it has them, its [labels](#custom-labels), a live status control, a markdown description, and links. Editing the place also lets you assign its labels and set a price in its own currency (a rough cost such as an entry fee), a website and a phone number. From there you can edit the place, **copy it into a trip**, or remove it from the list.
|
||||
Clicking a saved place opens a detail sheet showing a cover photo (fetched automatically when the place has none of its own), its category, its [labels](#custom-labels), a live status control, a markdown description, and links. Editing the place also lets you assign its labels. From there you can edit the place, **copy it into a trip**, or remove it from the list.
|
||||
|
||||
To set your own cover instead of the auto-fetched one, use the camera button on the detail sheet's cover to upload an image (JPG, PNG, GIF or WebP, up to 20 MB); the remove button next to it clears the custom image and restores the automatic default.
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ Requires `collections:read` or `collections:write` scope.
|
||||
| `reorder_collections` | Reorder the user's collections — pass every collection id in the desired order. |
|
||||
| `save_place_to_collection` | Save a place into a collection from a raw payload. Returns a duplicate marker instead of saving when a similar place already exists, unless `force` is true. |
|
||||
| `save_trip_places_to_collection` | Copy one or more existing trip places into a collection. Duplicates are skipped unless `force` is true. |
|
||||
| `update_collection_place` | Update a saved place's name, address, coordinates, description, notes, price with its currency, website, phone, status, category, links, tags, labels, image, or move it to another collection. |
|
||||
| `update_collection_place` | Update a saved place's name, address, coordinates, description, notes, status, category, links, tags, labels, image, or move it to another collection. |
|
||||
| `set_collection_place_status` | Set a saved place's status: `idea`, `want`, or `visited`. |
|
||||
| `set_collection_place_status_from_trip` | Set a status on every saved copy of the given trip places, in every list they are on, for marking places visited after a day out. Ids are trip place ids. Lists you may only read are skipped. Returns how many saved places changed and how many of the trip places were found in at least one list. |
|
||||
| `rate_collection_place` | Set or clear the current user's 1-5 star rating on a saved place. Every member rates independently; pass `null` to remove the vote. |
|
||||
|
||||
Reference in New Issue
Block a user