-
Notifications
You must be signed in to change notification settings - Fork 43
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
Inlining review and fact check activity fields #253
Conversation
@@ -1,2 +1,6 @@ | |||
<% render_activity_forms ||= false %> |
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.
styleguide says booleans shouldn't be initialised with ||=
. How about render_activity_forms = false unless defined?(:render_activity_forms)
instead?
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 catch! amended in 7649d01
www.agileplannerapp.com/boards/173808/cards/5629 ... with edition form. these were left out earlier, causing review activities to not save edition changes. part of a larger change: #251
this template is not being used anywhere. instead shared/_review gets rendered. looks like it was left behind when common templates were moved to the shared folder.
Poltergeist is seeing '.help-block' overlapping the 'Save' button, hence can't click it without a `.trigger('click')` on that element. This needs to be followed by an assertion that waits for the edition to get saved, or else capybara jumps to the next statement.
9e50049
to
19f931a
Compare
ec74737
to
b79c851
Compare
.. and moving locals logic into a helper, so that we don't have to pass locals around to detect the diff view.
b79c851
to
a17e7b0
Compare
👍 |
…edback Inlining review and fact check activity fields
as part of a larger change we inlined all activity fields with the edition form, so that activities and edition changes get submitted in one go. we missed inlining review and fact check activities. so this covers up for that.
also removed an unnecessary template
programmes/_review.html.erb
, and fixed integrations tests failing due to poltergeist getting confused with overlapping elements.