Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Long story short: 1. Added Privacy Policy + TOS 2. New tea time event pages `/tea_times/123` 3. New tea times index pages `/tea_times` 4. Redirecting all city pages to `/tea_times` 5. Cosmetic improvements to host dashboard and account settings 6. New display logic for tea times (per month) 7. Lots of messy CSS, hacky partials, and a few failed tests b/c of new button copy ## Not done: 1. Toggle to see next month's tea times 2. No re-introduction of suggest city interface — Whatever Github autogenerated here: * Implement new /tea_times page for listing current month's tea times New /tea_times (TeaTimes controller, index action) page showing the month's tea times. Old /tea_times path moved to /tea_times/list. Homepage updated so the CTAs on the homepage now lead to /tea_times. * Ensure user is redirected to the tea time they selected after signup/login After selecting a tea time at /tea_times, save the tea time they selected in Devise's stored location in the session and redirect to it after signup/login. * After a user signs up for a tea time, set user's home city if blank If the user's home city is blank and they sign up for a tea time, set their home city to that tea time's city. * Update tests for /tea_times to /tea_times/list move * Add tests for redirecting a user after signup and setting home city after attendance * Add functionality and test for redirecting to a tea time after login * Deprecate cities: Cities -> Tea Times in menu/footer * Deprecate cities: user login redirect: cities -> tea times * Add /tea_times remind next month button, city select on signup Button on /tea_times to remind next month now goes to signup page. Shows alert that they will be reminded next month after singup. Signup page now has home city selector. Clicking a tea time as a logged-out user and going to the signup page will fill in the home city automatically. Updated redirect paths to remove city pages from user flow. * Allow /tea_times/123 page to be viewable publicly * Fix attendance modal activation on pages navigated with Turbolinks Previously, pages navigated to via Turbolinks did not cause modals to be attched. * Remove type conversion for redirect URL after login * new tea time page design * new tea time event page partial complete * fix broken tea_time reference in tea time row partial * complete tea time event page * copy edit * hide host commitment functionality, add edit profile clarity to account settings * turn off host profile creation email, make facebook field in host profile form editable * new jump to city styles on tea time page * jump to city copy edit * raw text for TOS and privacy policy * edit sign up home city dropdown styles * Add Terms and Privacy template pages and links * Tea Times: Add jump to city design and functionality * Tea Times: Remove modals * Tea Times: Don't show past tea times in this month * Redirect all city pages to /tea_times * Tea Times: Use city codes as anchor links * Remove city page links * Apply tea time display logic to host pages * Fix city page test, now redirects * jump cities styles * jump city styles update * add tagline to host profile partial * Tea Times: Sort page by cities with most tea times * share links on tea time page, TOS and privacy policy * metadata for tea time event page * metadata for tea time index page * Tea Times: Fix tea time ordering * wrap tea time box in link * modified status buttons on tea time index page * user behavior test copy fix
- Loading branch information