feat: реализовать DiscordSessionBatchRenderer для Embed и Buttons #27

Closed
opened 2026-04-28 09:35:18 +03:00 by Toutsu · 1 comment
Owner

Контекст

После neutral view Discord должен рендерить то же смысловое расписание в Embed + Buttons, а не переиспользовать Telegram HTML/keyboard.

Scope

  • DiscordSessionBatchRenderer принимает SessionBatchViewModel.
  • Embed показывает игру, дату, игроков, заполненность, waitlist и статус.
  • Buttons покрывают доступные actions из neutral view.
  • Custom IDs мапятся в platform-neutral command payload.

Acceptance criteria

  • Один и тот же neutral view можно отрисовать в Telegram и Discord.
  • Discord renderer покрыт тестами на key states: open/full/waitlist/cancelled/reschedule.
  • Renderer не зависит от Telegram packages/types.
## Контекст После neutral view Discord должен рендерить то же смысловое расписание в Embed + Buttons, а не переиспользовать Telegram HTML/keyboard. ## Scope - `DiscordSessionBatchRenderer` принимает `SessionBatchViewModel`. - Embed показывает игру, дату, игроков, заполненность, waitlist и статус. - Buttons покрывают доступные actions из neutral view. - Custom IDs мапятся в platform-neutral command payload. ## Acceptance criteria - Один и тот же neutral view можно отрисовать в Telegram и Discord. - Discord renderer покрыт тестами на key states: open/full/waitlist/cancelled/reschedule. - Renderer не зависит от Telegram packages/types.
Toutsu added this to the Версия 2.0 — Discord Bot MVP milestone 2026-04-28 09:35:18 +03:00
Toutsu added the type:featurepriority:p1area:sharedarea:discordplatform:discord labels 2026-04-28 09:35:18 +03:00
Toutsu added the pending-approval label 2026-05-07 10:08:52 +03:00
Author
Owner

Реализовано в PR #84 и выпущено в v2.3.0.

Реализовано в PR #84 и выпущено в [v2.3.0](https://git.codeanddice.ru/Toutsu/GmRelayBot/releases/tag/v2.3.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Toutsu/GmRelayBot#27