Skip to content

Implement moderation features and discussion management capabilities - #9

Merged
NotReeceHarris merged 1 commit into
mainfrom
feature/moderation
Jul 19, 2026
Merged

NotReeceHarris merged 1 commit into
mainfrom
feature/moderation

Conversation

@NotReeceHarris

Copy link
Copy Markdown
Owner

This pull request adds support for displaying and moderating pinned discussions, as well as inline moderation features for posts. Maintainers and post authors can now edit or delete posts directly from the thread page, and all users can report content to GitHub. Pinned posts are fetched from GitHub and shown in a dedicated section above the standard discussion lists on both the home and topic pages.

Pinned Discussions Support:

Moderation Features:

API and Data Model Changes:

  • Extended the GraphQL API integration to fetch pinned discussions and expose the canonical URL for each discussion. Updated types and overview data structures accordingly. (src/lib/github/api.ts, src/lib/github/types.ts) [1] [2] [3] [4] [5] [6]

UI and State Management:

Documentation:

  • Updated the README.md to describe the new moderation and pinned posts features.

These changes significantly improve the forum's moderation capabilities and user experience around highlighted (pinned) content.

…ng and deletion capabilities for discussions
@NotReeceHarris NotReeceHarris self-assigned this Jul 19, 2026
@NotReeceHarris NotReeceHarris added the enhancement New feature or request label Jul 19, 2026
@github-actions

Copy link
Copy Markdown

🧪 Test coverage

File                           Stmts %  Branch %  Funcs %  Lines %
-----------------------------  -------  --------  -------  -------
oauth-proxy/worker.js              100       100      100      100
src/lib/cache.ts                   100       100      100      100
src/lib/config/index.ts            100       100      100      100
src/lib/config/schema.ts           100       100      100      100
src/lib/github/api.ts              100       100      100      100
src/lib/github/auth.svelte.ts      100       100      100      100
src/lib/ui.svelte.ts               100       100      100      100
src/lib/utils.ts                   100       100      100      100
TOTAL                              100       100      100      100

@NotReeceHarris
NotReeceHarris merged commit f02d29b into main Jul 19, 2026
1 check passed
@NotReeceHarris
NotReeceHarris deleted the feature/moderation branch July 19, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant