Skip to content

feat: reports page#1962

Merged
NeonGamerBot-QK merged 8 commits intomainfrom
reports-page
Apr 21, 2026
Merged

feat: reports page#1962
NeonGamerBot-QK merged 8 commits intomainfrom
reports-page

Conversation

@NeonGamerBot-QK
Copy link
Copy Markdown
Member

@NeonGamerBot-QK NeonGamerBot-QK commented Mar 27, 2026

lets users see there reports on /my-reports
fixes #1623
localhost_3000_my-reports (1)

todo:

  • better ui
  • put screenshots in this pr.

lets users see there reports on /my-reports
@cskartikey
Copy link
Copy Markdown
Member

i need screenshots!

@cskartikey cskartikey self-assigned this Apr 2, 2026
@NeonGamerBot-QK NeonGamerBot-QK marked this pull request as ready for review April 21, 2026 02:14
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 user-facing “My Reports” page at /my-reports so users can view the status of their submitted project reports (pending/reviewed/dismissed), addressing #1623.

Changes:

  • Add a new route and controller action for /my-reports.
  • Add a new ERB view to render report stats, a paginated list, and report metadata.
  • Add a new page stylesheet and import it into the global stylesheet manifest.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
config/routes.rb Adds the /my-reports route pointing to my_reports#index.
app/controllers/my_reports_controller.rb Fetches the current user’s reports (paginated) and computes status counts.
app/views/my_reports/index.html.erb Renders stats cards, pagination controls, and a styled list of reports.
app/assets/stylesheets/pages/reports/_my_reports.scss Defines the page layout and BEM-style component styling.
app/assets/stylesheets/application.scss Includes the new reports page stylesheet.

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

Comment thread app/controllers/my_reports_controller.rb
Comment thread app/views/my_reports/index.html.erb Outdated
Comment thread app/views/my_reports/index.html.erb Outdated
Comment thread app/controllers/my_reports_controller.rb
NeonGamerBot-QK and others added 4 commits April 20, 2026 22:33
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@NeonGamerBot-QK NeonGamerBot-QK added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit b7ad18c Apr 21, 2026
12 checks passed
@NeonGamerBot-QK NeonGamerBot-QK deleted the reports-page branch April 21, 2026 02:37
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.

feat: dashboard to see if ur reports are ac going somewhere

3 participants