A usage rights tracker for a creator
The screen answers one question for a creator: which brand may use which content, where and until when. Each brand deal is a group on a timeline with its windows of organic use, paid usage and exclusivity, from the first post to the last day, with today as a line. Above it a short list names what needs doing: a deal that collides with another brand's exclusivity, rights that end within 14 days and rights that ended without anybody checking.
By Bohuslav PoláčekChecked
What the screen shows
- To watch: only what needs doing, one line each. A collision gets the warning icon in red, a right that ends within 14 days an amber dot, a right that ended in the last 14 days and nobody checked a grey dot and the button "The brand took it down". Everything else stays quiet.
- The timeline: the kit's GanttChart in months. One group per deal, one bar per window, today as an ink line with its date and the end of the exclusivity a deal collides with as a dashed marker. The darker fill runs up to today; amber means it ends soon, red means a collision.
- Words on every bar: "running, 80 days left", "from 6 Dec", "planned, to 3 Feb 2027", "ended 29 Nov". Colour never carries the state alone.
- On a phone: below 768px the chart becomes a list by deal, each window a row with its dates and the same words as its bar. Nothing scrolls sideways.
How the windows are counted
Every post carries its own days, so a deal's window runs from its first post to the last day of its last post's days: 30 days from a post on the 1st hold through the 30th. A deal has up to three windows: organic use on the brand's own channels, paid usage when the brand runs ads through the creator's profile, and exclusivity in a category.
A deal that is not out yet, from the inquiry to the brand's approval, collides when its brand's category falls inside another brand's running exclusivity. The overlap counts from its first post to the exclusivity's last day, both included, so it tells how far the dates have to move: ProteoMax's first post on 22 December against PeakNutri's protein exclusivity to 26 January is 36 days. A release the holder grants ends the collision.
What AI tools get wrong here
Asked for a rights tracker, a code generator draws a table of contracts with an end date column and a red badge on every row that ends this month. Three things go missing:
- Exclusivity is a relation between deals, not a field of one. The check needs every deal, including those the person may not open, and it must ignore deals that are already out.
- The rule lives in the component, so the timeline, the record and the api count days differently and disagree by one. In Meadowstack the windows, their states and the collision check are one domain file, called by the screen and by the api before it saves.
- The chart reads the clock. The kit's GanttChart takes
todayas a prop and never reads the time itself, so a test, a screenshot or this page shows the same day every time.
The screen follows the planning editor pattern: a bar opens the deal's rights, and a change runs the collision check again over every row before the server answers.
Who sees it
Martin and his assistant read and change the rights. His accountant reads only the deals that were invoiced or paid, without the rights, and his coach, his partner and his videographer see nothing of the deals. The rules live in one table in the module, asked through can() by the screens and again by the api (permissions). The posts these rights cover are planned in the content calendar, which marks a post that would break an exclusivity.
The collision check
/** Stages in which the dates of a deal can still be judged against an exclusivity: not out yet, not declined. */
const beforePublication = new Set(["inquiry", "brief", "offer", "contract", "production", "approval"]);
/**
* The running exclusivities a deal collides with. `brandOf` gives each deal's brand (the category is the brand's), and
* `all` are every deal of the store, so the check sees the holder even when the person may not.
*/
export function conflictsOf(
deal: Deal,
all: Deal[],
brandOf: (id: string) => KovarBrand | undefined,
today: Day,
): Conflict[] {
if (!beforePublication.has(deal.stage)) return [];
const category = brandOf(deal.brandId)?.category;
if (!category) return [];
const span = postSpan(deal);
return all.flatMap((holder): Conflict[] => {
if (holder.id === deal.id || holder.brandId === deal.brandId) return [];
if (!isSigned(holder.stage) || holder.exclusivity?.category !== category) return [];
const window = windowsOf(holder).find((item) => item.kind === "exclusivity");
if (!window || window.end < today) return [];
if (deal.release?.holderId === holder.id && deal.release.grantedOn) return [];
if (span && (span.first > window.end || span.last < window.start)) return [];
const from = span ? laterDay(span.first, window.start) : laterDay(today, window.start);
const brand = brandOf(holder.brandId);
return [
{
holderId: holder.id,
holderNumber: holder.number,
holderBrand: brand?.name ?? holder.brandId,
holderContact: brand?.contact ?? "",
category,
end: window.end,
firstPost: span?.first,
overlapDays: daysBetween(from, window.end) + 1,
requestedOn: deal.release?.holderId === holder.id ? deal.release.requestedOn : undefined,
},
];
});Where else the GanttChart runs
| Example app | Modules that render it |
|---|---|
| An app for a construction company | Schedule |
| An app for one person | Brand deals |
Questions
What counts as a collision between two brand deals?
A deal that is not out yet, from the inquiry to the brand's approval, whose brand's category falls inside another brand's running exclusivity. The overlap is counted from its first post to the exclusivity's last day, both days included, and a release from the holder ends it.
When does a right turn amber?
When it ends within the next 14 days. A right that ended in the last 14 days stays on the watch list until somebody confirms the brand took the content down.
How does the timeline work on a phone?
Below 768px it becomes a list by deal. Each window is a row with its dates and the same words as its bar, so nothing scrolls sideways.
Who can change the rights of a deal?
The creator and his assistant. The accountant reads only invoiced and paid deals, and the coach and the partner see nothing of the deals. The same rules are asked again by the api before it saves.
Is the timeline a screenshot?
No. It is the kit's GanttChart rendered when this site was built, with the demo's deals and the day fixed at 2 December 2026. The live demo opens the same screen with its own today.
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app