Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User - Reset Password #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ntritin62
Copy link
Contributor

@ntritin62 ntritin62 commented Oct 4, 2024

Checklist tự review pull trước khi ready nhờ trainer review

  • Kiểm tra mỗi pull request 1 commit, nếu nhiều commit thì hãy gộp commit thành 1 rồi đẩy lại lên git
  • Trong các file của rails (đuôi .erb, .rb, .yml): sử dụng nháy " thay vì nháy '
  • Trong file javascript: sử dụng nháy ' thay vì "
  • Sử dụng thụt lề 2 space (setting lại vscode /sublime text nếu chưa cài đặt)
  • Cuối mỗi file kiểm tra có end line (khi đẩy lên git xem file change k bị lỗi tròn đỏ ở cuối file)
  • Mỗi dòng nếu quá dài, cần xuống dòng (maximum: 80 kí tự mỗi dòng)
  • Xóa các file được tự động sinh ra khi dùng các câu lệnh rails generate ... tạo ra nhưng k dùng đến, không có dòng code nào được viết trong đó (hay gặp nhất là các file helper)
  • Khi tạo mảng, nên tích cực sử dụng %w( ), %i() . Thay vì STATES = ['draft', 'open', 'closed'] có thể dùng STATES = %w(draft open closed)
  • Xem các lỗi hay gặp khi triển khai Rails tutorial tại https://docs.google.com/document/d/104Csp4-vamVos5DEbi372nLBEfmqhj7h1ENYO8ebjCo/edit
  • Tham khảo coding convention https://github.com/framgia/coding-standards/blob/master/vn/README.md

Related Tickets

- ticket redmine

WHAT (optional)

HOW

WHY (optional)

Evidence (Screenshot or Video)

image image image image

Notes (Kiến thức tìm hiểu thêm)

@ntritin62
Copy link
Contributor Author

ready

@@ -0,0 +1,4 @@
<h1>B-World</h1>
<p><%= t ".greeting", deep_interpolation: true, user_name: @user.user_name %>, </p>
<p><%= t".instruction", deep_interpolation: true, expire_time: Settings.value.reset_expired_time %></p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<p><%= t".instruction", deep_interpolation: true, expire_time: Settings.value.reset_expired_time %></p>
<p><%= t ".instruction", deep_interpolation: true, expire_time: Settings.value.reset_expired_time %></p>

@ntritin62
Copy link
Contributor Author

ready

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.

2 participants