RSS List Command #533

Closed
opened 2025-11-24 22:03:09 +00:00 by Vylpes · 2 comments
Owner

Epic: #528
Story Points:


Create a slash command to display all active RSS feed subscriptions

Acceptance Criteria

GIVEN I am a moderator
WHEN I run /rss list
THEN a paginated list will be displayed with all feeds for this guild

GIVEN I am a moderator
WHEN I click the Next button
THEN the embed will update with the next page

GIVEN I am a moderator
WHEN I click the Previous button
THEN the embed will update with the previous page

Subtasks

  • Create /rss list command in src/commands/
  • Add moderator check
  • Query all feeds for the current guild from database
  • Format results as a paginated embed (if needed)
  • Display feed url, target channel, and id
  • Handle case where no feeds are configured
  • Create pagination Button Event
  • Update tests

Notes

  • Maximum of 5 feeds per page

Example Output

**<ID>:** <CHANNEL>
<URL>
Epic: #528 Story Points: --- Create a slash command to display all active RSS feed subscriptions ## Acceptance Criteria GIVEN I am a moderator WHEN I run `/rss list` THEN a paginated list will be displayed with all feeds for this guild GIVEN I am a moderator WHEN I click the `Next` button THEN the embed will update with the next page GIVEN I am a moderator WHEN I click the `Previous` button THEN the embed will update with the previous page ## Subtasks - [x] Create `/rss list` command in `src/commands/` - [x] Add moderator check - [x] Query all feeds for the current guild from database - [x] Format results as a paginated embed (if needed) - [x] Display feed url, target channel, and id - [x] Handle case where no feeds are configured - [x] Create pagination Button Event - [x] Update tests ## Notes - Maximum of 5 feeds per page ## Example Output ```md **<ID>:** <CHANNEL> <URL> ```
Vylpes added this to the 3.4.0 milestone 2025-11-24 22:17:40 +00:00
Smithy-bot canceled time tracking 2026-11-04 11:04:09 +00:00
Smithy-bot removed their assignment 2026-11-04 11:07:04 +00:00
Member

Implemented /rss list on feature/epic-528-rss-feeds.

  • Branch: cursor/533-rss-list-command
  • PR: #595 (ready for review, not approved/merged)
  • 5 feeds per page with Previous/Next; empty guild gets a plain no-feeds reply
  • Button event re-checks ModerateMembers
  • Local: yarn build + yarn test PASS (11/119)

Moved to step/review and assigned to @Vylpes.

Implemented `/rss list` on `feature/epic-528-rss-feeds`. - Branch: `cursor/533-rss-list-command` - PR: https://git.vylpes.xyz/RabbitLabs/vylbot-app/pulls/595 (ready for review, not approved/merged) - 5 feeds per page with Previous/Next; empty guild gets a plain no-feeds reply - Button event re-checks ModerateMembers - Local: `yarn build` + `yarn test` PASS (11/119) Moved to `step/review` and assigned to @Vylpes.
Smithy-bot added spent time 2026-11-04 11:07:22 +00:00
6 minutes
Vylpes removed their assignment 2026-11-04 11:22:55 +00:00
Smithy-bot stopped working 2026-11-06 11:02:08 +00:00
23 seconds
Smithy-bot removed their assignment 2026-11-06 11:02:20 +00:00
Member

QA results (step/testing → step/uat)

Verified on feature/epic-528-rss-feeds @ 913c0b0 (PR #595 merge).

Checks

  • yarn install --frozen-lockfile PASS
  • yarn build (tsc) PASS
  • yarn test PASS — 11 suites / 119 tests / 2 snapshots
  • lint N/A on this branch

Acceptance criteria

  • /rss list defined under moderator-only /rss (ModerateMembers) — covered by command builder + empty/list suites
  • Paginated embed with feed id, channel, and url (5/page via RssFeedHelper.GenerateListPage) — RssFeedHelper.list + rss list suites
  • Next / Previous button pagination — tests/buttonEvents/rss.test.ts (Next page 0→1, Previous back to 0, missing-page error, non-moderator gate)
  • Empty-state when no feeds — covered

Note: Code lives on epic branch feature/epic-528-rss-feeds, not yet on release/3.4.0.

Live Discord /rss list + pagination smoke left for human UAT.

## QA results (`step/testing` → `step/uat`) Verified on `feature/epic-528-rss-feeds` @ `913c0b0` (PR #595 merge). **Checks** - `yarn install --frozen-lockfile` PASS - `yarn build` (`tsc`) PASS - `yarn test` PASS — **11 suites / 119 tests / 2 snapshots** - lint N/A on this branch **Acceptance criteria** - `/rss list` defined under moderator-only `/rss` (`ModerateMembers`) — covered by command builder + empty/list suites - Paginated embed with feed id, channel, and url (5/page via `RssFeedHelper.GenerateListPage`) — `RssFeedHelper.list` + `rss` list suites - Next / Previous button pagination — `tests/buttonEvents/rss.test.ts` (Next page 0→1, Previous back to 0, missing-page error, non-moderator gate) - Empty-state when no feeds — covered **Note:** Code lives on epic branch `feature/epic-528-rss-feeds`, not yet on `release/3.4.0`. Live Discord `/rss list` + pagination smoke left for human UAT.
Smithy-bot added spent time 2026-11-06 11:02:31 +00:00
3 minutes
Vylpes 2026-11-06 11:41:31 +00:00
  • closed this issue
  • removed the
    step
    uat
    label
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 9 minutes 23 seconds
Smithy-bot
9 minutes 23 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
#531 RSS Add Command
RabbitLabs/vylbot-app
Reference
RabbitLabs/vylbot-app#533
No description provided.