Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Members can leave a testimonial

未关闭
#1,438 9 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@matyikriszta 已经在做这个了。

开始于 2022年10月8日。

评估

这个 Issue 还没有评估数据。

描述

high-priority

Description of the issue 📄

A member that has attended more than X events and has no testimonial associated with them can leave a testimonial

  • Add controller and related view so that a new member can add a testimonial
    • Add some text to inform members that any testimonial along with their name and profile picture might be used for the promotion of codebar (website, prospectus, etc)
    • Only allow for one testimonial per member
    • Once testimonial is created the page should no longer be available to member (or maybe a read-only version only can be available)
  • Extend testimonial model to have public boolean field
  • Add rake task to update existing testimonials to public
  • Add admin/testimonials#index page
    • List all testimonials, with member name, text, current status and actions columns
    • Enable admins to toggle the status
    • Only available to users with the admin role
  • Update main page testimonials query to only retrieve public testimonials - https://github.com/codebar/planner/blob/master/app/controllers/dashboard_controller.rb#L17

To do 📋

  • Claim this issue (comment below, or assign yourself if you are part of the codebar org)
  • Fork and clone the repository
  • Update the relevant files. Follow the steps to fix section in this issue.
  • Commit your changes as one commit. Use the title of this issue as your commit message
  • Submit a pull request
  • Mention this issue in the PR description by including it's number
  • Have your pull request reviewed & merged by a codebar team member
主要语言
Ruby
星标
104
派生
205
平均合并
1 天 8 小时
30 天内合并 PR
67

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codebar/planner 的其他 Issue

查看 codebar/planner 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。