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
E2360. View for results of bidding #2659
base: main
Are you sure you want to change the base?
Conversation
…"Enable bidding" checkbox.
…to main Conflicts: spec/controllers/lottery_controller_spec.rb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! I like how you have divided functionality and written the code. There are just some naming and capitalization issues to address.
redirect_to controller: 'tree_display', action: 'list' | ||
end | ||
|
||
def bidding_details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name needs to be changed. It gives no hint of what the method does.
<%= label_tag('assignment_form[assignment][is_intelligent]', 'Enable bidding for topics?') %> | ||
<img src="/assets/info.png" title="This feature allow students to "bid" for topics. | ||
Instructor must specify when topics are assigned, by going to the Due Dates tab and | ||
entering a due date for "signup"."/> | ||
<br> | ||
<%= button_to 'View Bidding Details', {:controller => 'lottery', :action => 'bidding_details', :id => @assignment_form.assignment.id}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, "details" is not specific enough to give an idea of what will be shown. Would "Show bids by priority" be better? Also, please capitalize only the first word on the button, not all words ... less "shouting", and notice that's how Github does it.
@@ -0,0 +1,59 @@ | |||
<h3>Bidding Details for <%= @assignment.name %></h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another occurrence of "Details" ...
<thead> | ||
<tr> | ||
<th>Topic Name</th> | ||
<th>Bidding Teams</th> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Topic name", "Bidding teams", etc.
@@ -107,7 +107,7 @@ en_US: | |||
mico_task: "Micro Task Assignment?" | |||
review_reviewers: "Reviews visible to all other reviewers?" | |||
calibrate_training: "Calibration for training?" | |||
reputation_algorithm: "Reputation Alogorithm?" | |||
reputation_algorithm: "Reputation Algorithm?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--> "Reputation algorithm". Notice that the other strings capitalize only the first word.
… } to make sure that the block will be associated with the satisfy method call.
Please set the title of your pull request in the following format:
[Project id/Independent study/Issue fix/...]. project name
, eg.,E904. Integrating courses and assignments on Expertiza with Moodle
We suggest you including the below information in your pull request:
About the Expertiza Bot
/dispute [UUID1] [UUID2]
(example), then the professor and TAs will be notified.