Skip to content

Resources page#436

Draft
fatmahussein wants to merge 29 commits into
mainfrom
53-suggested-resources-page
Draft

Resources page#436
fatmahussein wants to merge 29 commits into
mainfrom
53-suggested-resources-page

Conversation

@fatmahussein

@fatmahussein fatmahussein commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a new Community Resources feature that allows users to browse and submit resources, while providing administrators with tools to manage submitted content.

Changes
Backend

  • Add Resource model with: Title, URL, description, category and submitted fields
  • Add ResourcePolicy for admin-only resource management
  • Add Admin::ResourcesController with CRUD functionality
  • Add Api::ResourcesController with:
    • Resource listing endpoint
    • Category filtering support
    • Resource submission endpoint
  • Add resources page action to SiteController

Admin

  • Add resource management section to admin navigation
  • Add paginated resource listing
  • Enable create, update and delete operations

Frontend

  • Add Resources page React application
  • Add API datasource methods:
    • getResources
    • submitResource
  • Add category filtering UI
  • Add resource cards and listing view
  • Add resource submission workflow
  • Add success and error feedback banners
  • Add reusable modal component
  • Add resources page entrypoint and stylesheet bundle

Navigation

  • Add Resources link to site header
  • Add Community Resources link to footer

Tests Added/Updated

  • System test for resources page (user browsing + submission flow)
  • Admin system specs for CRUD operations
  • Model specs for:
    • validations (presence, inclusion, URL format)
    • FactoryBot resource factory using Faker
    • Updated site navigation system spec to include /resources

@fatmahussein fatmahussein linked an issue Jun 16, 2026 that may be closed by this pull request
Comment thread app/controllers/api/resources_controller.rb Fixed
@fatmahussein fatmahussein marked this pull request as draft June 16, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggested resources page

2 participants