Jump to content

ICT:Tracking activity

From Costa Sano MediaWiki
Revision as of 11:07, 12 February 2026 by Mngr (talk | contribs) (Created page with "== ICT Documentation: Activity Tracking == We use Cargo's built-in metadata fields to create a "Live Feed" of research progress. This encourages team collaboration and ensures we don't duplicate work. === 1. Automatic Metadata Fields === Every Cargo table automatically includes "hidden" fields that we use for the Dashboard: * '''_user''': The member who last saved the data. * '''_time''': The date and time of the save. * '''_pageName''': The internal link to the asset...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ICT Documentation: Activity Tracking

We use Cargo's built-in metadata fields to create a "Live Feed" of research progress. This encourages team collaboration and ensures we don't duplicate work.

1. Automatic Metadata Fields

Every Cargo table automatically includes "hidden" fields that we use for the Dashboard:

  • _user: The member who last saved the data.
  • _time: The date and time of the save.
  • _pageName: The internal link to the asset or sanatorium.

2. Custom Formatting for Seniors

To keep the list readable for our members, we use the `ul` (Unordered List) format. If we want to show a more detailed view, we use a table with specific column aliases:

{{#cargo_query:
|tables=Sanatoria
|fields=Name, _user=Researcher, DATE_FORMAT(_time, "%d-%m-%Y")=Added On
|order by=_time DESC
|limit=10
|format=table
}}

3. Performance Note

Because Cargo queries are cached by MediaWiki, the "Recent Activity" might sometimes lag by a few minutes. Members can click the "Purge Cache" button (if enabled) to see the absolute latest updates.