Skip to content

feat(USACO Guide): add activity#10725

Merged
theusaf merged 2 commits into
PreMiD:mainfrom
GalaxySMediaXz:main
May 2, 2026
Merged

feat(USACO Guide): add activity#10725
theusaf merged 2 commits into
PreMiD:mainfrom
GalaxySMediaXz:main

Conversation

@GalaxySMediaXz
Copy link
Copy Markdown
Contributor

@GalaxySMediaXz GalaxySMediaXz commented Apr 28, 2026

Description

Adds presence for USACO Guide - a comprehensive resource for competitive programming contestants.

  • Supports USACO IDE
  • Supports Guide Editor
  • Supports USACO Forum
  • Supports USACO Group

The presence updates dynamically depending on the module and the division the user is reading.

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected image image

Copilot AI review requested due to automatic review settings April 28, 2026 19:56
Comment thread websites/U/USACO Guide/metadata.json Fixed
Comment thread websites/U/USACO Guide/presence.ts Fixed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PreMiD presence integration for USACO Guide so users’ Discord Rich Presence reflects what they’re doing across the USACO ecosystem (guide pages, problems/solutions, IDE, forum).

Changes:

  • Introduces presence.ts that derives presence details/state from hostname/path/title.
  • Adds metadata.json describing the new activity/service.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
websites/U/USACO Guide/presence.ts Implements dynamic presence strings for guide sections, problems, IDE, and forum.
websites/U/USACO Guide/metadata.json Registers the activity metadata (schema/version, matching regex, branding fields).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@theusaf theusaf changed the title feat(USACO Guide): add USACO Guide presence feat(USACO Guide): add activity Apr 29, 2026
@theusaf theusaf enabled auto-merge (squash) April 29, 2026 20:41
@theusaf theusaf requested a review from Bas950 April 29, 2026 20:42
@theusaf theusaf merged commit a62dc6e into PreMiD:main May 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants