Open
Conversation
…ve margin and it just made them double
…dd some more data
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the helper dashboard with improved user and project information display. The changes focus on adding useful metadata for moderators/helpers and improving the layout and navigation.
Changes:
- Added moderation card showing ban and shadow ban status on user pages
- Added new user fields (Slack ID, vote balance, has Hackatime status) and removed broken projects_count
- Added project metadata (banner status, devlog count, time spent) and restructured URL display as buttons
- Improved styling consistency across helper views with margin adjustments
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| app/views/helper/users/show.html.erb | Added moderation info card, new user fields, View Profile button; removed broken projects_count and banned reason from alert |
| app/views/helper/projects/show.html.erb | Added Has Banner, Devlog Count, Time Spent fields; moved repo/demo/readme to action buttons; added View Project button |
| app/views/helper/users/index.html.erb | Added margin-top to Back button for consistency |
| app/views/helper/projects/index.html.erb | Added margin-top to Back button for consistency |
| app/views/helper/shop_orders/show.html.erb | Removed margin-top from Back button (in flex container) |
| app/views/helper/shop_orders/index.html.erb | Added margin-top to Back button and reformatted CSS indentation |
| app/assets/stylesheets/admin.scss | Updated info-rows margin for better indentation; modified h4 font-size (unintentional breaking change) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Contributor
|
thanks for adding the "view profile/project" links! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On users page i added vote balance and "has hackatime", and i removed the broken project counter from the basic info list. i also added an moderation card showing if they are banned and/or shadow banned (neon was fine with this)


On projects page i added "has banner", devlog count and time spent, and moved repo/demo to buttons at bottom, and added button for readme and to go to project page.