[PR #21] [MERGED] Implemented News Frontend and Backend #170

Closed
opened 2026-02-17 17:06:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Drop-OSS/drop/pull/21
Author: @AdenMGB
Created: 2/1/2025
Status: Merged
Merged: 3/9/2025
Merged by: @DecDuck

Base: developHead: develop


📝 Commits (10+)

  • 97b9b6d Merge pull request #20 from AdenMGB/develop
  • e7837af feat(news): added ability to delete news articles
  • 866c4d3 feat(news): Created ability to create news articles
  • 28bf070 feat(news): Added ability to search and filter news articles
  • 5d8f9d3 Create useNews.ts
  • d8e964e feat(news): Added backend for news
  • f78b29b feat(news) Added news page/sidebar
  • 6c7866a feat(news): Created article overview page
  • 3a55075 feat(news): Created article full screen view
  • 1ed1590 feat(news): Updated user for authoring articles

📊 Changes

15 files changed (+1334 additions, -0 deletions)

View changed files

components/DeleteNewsModal.vue (+72 -0)
components/NewsArticleCreate.vue (+346 -0)
components/NewsDirectory.vue (+193 -0)
composables/useNews.ts (+50 -0)
pages/news.vue (+156 -0)
pages/news/article/[id]/index.vue (+150 -0)
pages/news/index.vue (+137 -0)
prisma/migrations/20250128102738_add_news/migration.sql (+16 -0)
prisma/schema/news.prisma (+13 -0)
📝 prisma/schema/user.prisma (+1 -0)
server/api/v1/news/[id].delete.ts (+23 -0)
server/api/v1/news/[id].get.ts (+22 -0)
server/api/v1/news/index.get.ts (+17 -0)
server/api/v1/news/index.post.ts (+24 -0)
server/internal/news/index.ts (+114 -0)

📄 Description

Probably going to be re-written for nuxt content haha.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Drop-OSS/drop/pull/21 **Author:** [@AdenMGB](https://github.com/AdenMGB) **Created:** 2/1/2025 **Status:** ✅ Merged **Merged:** 3/9/2025 **Merged by:** [@DecDuck](https://github.com/DecDuck) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`97b9b6d`](https://github.com/Drop-OSS/drop/commit/97b9b6dc115aae425ad60e24b6042f7728524cce) Merge pull request #20 from AdenMGB/develop - [`e7837af`](https://github.com/Drop-OSS/drop/commit/e7837af0e71a071a9f2ba81d176bb8dce764fa80) feat(news): added ability to delete news articles - [`866c4d3`](https://github.com/Drop-OSS/drop/commit/866c4d354e461a93185b9e300ae4537e2fa007ac) feat(news): Created ability to create news articles - [`28bf070`](https://github.com/Drop-OSS/drop/commit/28bf070ce233816e67e69e0501608f122b73eb81) feat(news): Added ability to search and filter news articles - [`5d8f9d3`](https://github.com/Drop-OSS/drop/commit/5d8f9d38133e136a04ba3bb6b1b26ae04067fe99) Create useNews.ts - [`d8e964e`](https://github.com/Drop-OSS/drop/commit/d8e964e06b232e710416dffc343aa0759878442b) feat(news): Added backend for news - [`f78b29b`](https://github.com/Drop-OSS/drop/commit/f78b29b7fd381f28377382caf16c1316f6347ecb) feat(news) Added news page/sidebar - [`6c7866a`](https://github.com/Drop-OSS/drop/commit/6c7866ad143d9d07597b9a93c0c3d59da9635b49) feat(news): Created article overview page - [`3a55075`](https://github.com/Drop-OSS/drop/commit/3a5507553279b3add7bcd3aff91443679fe9eac4) feat(news): Created article full screen view - [`1ed1590`](https://github.com/Drop-OSS/drop/commit/1ed15902a37777f8471bd8ece7c14cde09abe736) feat(news): Updated user for authoring articles ### 📊 Changes **15 files changed** (+1334 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `components/DeleteNewsModal.vue` (+72 -0) ➕ `components/NewsArticleCreate.vue` (+346 -0) ➕ `components/NewsDirectory.vue` (+193 -0) ➕ `composables/useNews.ts` (+50 -0) ➕ `pages/news.vue` (+156 -0) ➕ `pages/news/article/[id]/index.vue` (+150 -0) ➕ `pages/news/index.vue` (+137 -0) ➕ `prisma/migrations/20250128102738_add_news/migration.sql` (+16 -0) ➕ `prisma/schema/news.prisma` (+13 -0) 📝 `prisma/schema/user.prisma` (+1 -0) ➕ `server/api/v1/news/[id].delete.ts` (+23 -0) ➕ `server/api/v1/news/[id].get.ts` (+22 -0) ➕ `server/api/v1/news/index.get.ts` (+17 -0) ➕ `server/api/v1/news/index.post.ts` (+24 -0) ➕ `server/internal/news/index.ts` (+114 -0) </details> ### 📄 Description Probably going to be re-written for nuxt content haha. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:06:21 -05:00
yindo closed this issue 2026-02-17 17:06:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#170