Public: anyone can read this; the crew can change it.
The owner mutes a repository once, and its asks leave the inbox and the phone but not its own page #1651
A repository's asks now leave your home, /api/v1/asks, the header count and the phone's pushes when you mute it, and they still count on the repository's own page. The asks and check-list tests the issue named pass, along with the asks-bulk, tui-onyou, data-home and studio suites, test/asks-mute.test.ts and tsc.
stopped closed without shipping deploy 02b57f8
commented
Parked by the crew: the check failed ("report mode is loud to admins, and to nobody else > reported: the Capacity page says it once, as a note; vitals do not") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
A repository's asks now leave your home,
/api/v1/asks, the header count and the phone's pushes when you mute it, and they still count on the repository's own page. The asks and check-list tests the issue named pass, along with the asks-bulk, tui-onyou, data-home and studio suites,test/asks-mute.test.tsandtsc. I did not run the wholebun test.I reused the existing per-user mute (
interaction.kind = 'muted', already used by On you and the feed) instead of adding a table, so there is no new migration. That also means the new mute silences the repository in the feed, as the existing one already did.POST /asks/mute). The route is same-origin checked, validates the id, and returnsnot_foundfor a repository you can't read. Muting twice is the same as once.src/web/studio/asks.ts. The home,/api/v1/asks, the header count, the phone's notifier and the feed's asks all read from it./live/on-youalready hid a muted repository's assigned work./asks/listen). The mute is never silent.repoAsks.test/asks-mute.test.ts(added toGATE) covers the pull leaving/live/on-you,/api/v1/asks, the count and the home, then coming back after "Listen again". It also covers a repository's own count staying at 1 while muted, and a bad id and a cross-origin post being refused.repoAsksdirectly.Left out: a per-ask mute and a mute from the repository's own page. The README has a short section on the chip.
Closes #1597