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

Conclude form design change AB test #1419

Merged
merged 1 commit into from Jan 7, 2019
Merged

Conversation

timEulitz
Copy link
Contributor

Copy link
Member

@gbirke gbirke left a comment

Choose a reason for hiding this comment

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

Code looks good to me (did not user-test).

I leave the decision of keeping the menu data separate from template (see other comment) up to you.

@@ -20,13 +20,26 @@
</div>
<nav class="menu menu-main">
<ul class="list-unstyled list-inline">
{% for menu_item in main_menu %}
Copy link
Member

Choose a reason for hiding this comment

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

I rather liked the menu array constructed in PHP and rendered in the template as a loop. IMHO it made the template much cleaner added uniformity to the markup.
You could make the argument that the menu is skin-specific and does not belong in the PHP code. In that case I'd be fine with just reverting the template, as having "skin-specific template data" would be overkill.

If you revert the template, at least use the path function for the URL (with the route name) instead of hard-coding them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As discussed, since we don't really have a good place to place the main_menu items right now, we're leaving the template as is (with the addition of the path function).

@timEulitz timEulitz force-pushed the form_redesign_test_conclusion branch from e829d7c to 207e0a6 Compare January 7, 2019 09:54
@gbirke gbirke merged commit 38fd6de into master Jan 7, 2019
@gbirke gbirke deleted the form_redesign_test_conclusion branch January 7, 2019 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants