5
11
Fork
You've already forked tomato
1

Introduce Trackers #181

Merged
edwardloveall merged 1 commit from el-tracker-index into main 2026年07月08日 22:43:52 +02:00

We're introducing the concept of a Tracker. Orgs often have programs they're
running, like a specific grant tied to certain locations, or an internal
initiative comparing to parts of a city.

Trackers allow them to "track" the task log weights for a set of shifts.
Eventually we'll show breakdowns by month and food taxonomy, but for now, this
just shows a list of trackers and a total weight.

These are also totally hidden; only available to operations users for the
moment.

We're introducing the concept of a Tracker. Orgs often have programs they're running, like a specific grant tied to certain locations, or an internal initiative comparing to parts of a city. Trackers allow them to "track" the task log weights for a _set_ of shifts. Eventually we'll show breakdowns by month and food taxonomy, but for now, this just shows a list of trackers and a total weight. These are also totally hidden; only available to operations users for the moment.
Introduce Trackers
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
97651713a3
We're introducing the concept of a Tracker. Orgs often have programs they're
running, like a specific grant tied to certain locations, or an internal
initiative comparing to parts of a city.
Trackers allow them to "track" the task log weights for a _set_ of shifts.
Eventually we'll show breakdowns by month and food taxonomy, but for now, this
just shows a list of trackers and a total weight.
These are also totally hidden; only available to operations users for the
moment.
@ -1,6 +1,6 @@
class ShiftEventComparisonsController < ApplicationController
def index
authorize(current_user, policy_class: AdminPolicy)
Author
Owner
Copy link

Using the word "Admin" here was misleading as we have organizational admins and operations users. This is for the latter, so I renamed it to OperationsPolicy instead.

Using the word "Admin" here was misleading as we have organizational admins and operations users. This is for the latter, so I renamed it to OperationsPolicy instead.
edwardloveall force-pushed el-tracker-index from 97651713a3
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to a30c01acbe
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
2026年07月07日 17:12:50 +02:00
Compare
edwardloveall force-pushed el-tracker-index from a30c01acbe
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to ba9dd2fd43
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年07月08日 16:15:20 +02:00
Compare
@ -0,0 +1,7 @@
class OperationsPolicy < ApplicationPolicy
First-time contributor
Copy link

I think this name is an improvement. "Admin" tends to get confusing over time.

I think this name is an improvement. "Admin" tends to get confusing over time.
edwardloveall deleted branch el-tracker-index 2026年07月08日 22:43:53 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!181
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-tracker-index"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?