Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 400
  • Merge Requests 56
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !623

Open
Opened 3 weeks ago by Marcelo Rivera@eiennohi
Report abuse

Homepage redesign

closes https://gitlab.com/minds/ux/issues/2 closes #2112

Testing

  • logged out, go to the homepage. There's a 50/50 chance that you will either see a mobile phone on the right, or the register form. You can change it manually by modifying the experiment key in the local storage from 'base' to 'form' and vice-versa.
  • everything should look like in Michael's designs, for mobile, tablets and desktop.

If you're on the homepage version with the mobile phone:

  • "Join Minds Now" buttons should redirect to /onboarding where you'll only see the registration form.
  • Registering should go to the next step for onboarding
  • Skipping this should redirect you to homepage

If you're on the homepage version with the register form:

  • Registering should redirect to the first step of the onboarding
  • Skipping it should redirect to newsfeed

Testing the onboarding steps TBD

depends on engine!395

Edited 2 days ago by Marcelo Rivera
Request to merge feat/homepage-redesign into master
Open in Web IDE
Pipeline #97943951 passed with warnings for 1afe3d6f on feat/homepage-redesign
              Requires 3 more approvals from Devs, Deployers, and QA.
              Martin Santangelo
              Martin Santangelo
              Ben Hayward
              Ben Hayward
              Emiliano Balbuena
              Emiliano Balbuena
              Brian Hatchet
              Brian Hatchet
              Olivia Madrid
              Olivia Madrid
              Ready to be merged automatically. Ask someone with write access to this repository to merge this request

              Closes #2112

              Deletes source branch

              • Discussion 14
              • Commits 59
              • Pipelines 21
              • Changes 31
              0/10 threads resolved
              • Marcelo Rivera @eiennohi added Squad::Yellow scoped label 3 weeks ago

                added scoped label

              • Marcelo Rivera @eiennohi added 1 commit 3 weeks ago

                added 1 commit

                • b1936251 - (fix): fixed citation alignment

                Compare with previous version

              • Marcelo Rivera @eiennohi changed the description 3 weeks ago

                changed the description

              • Marcelo Rivera @eiennohi added 1 commit 3 weeks ago

                added 1 commit

                • 71354415 - (feat): update topbar design

                Compare with previous version

              • Marcelo Rivera @eiennohi added 7 commits 1 week ago

                added 7 commits

                • 4c3d6e23 - (feat): renamed HomepageComponent to HomepageV1Component
                • 5be586b4 - (fix): no background colour for the form
                • 8484f94e - (feat): responsive design for register form and top-left corner decoration
                • 867ec072 - (fix): several styling fixes for mobile resolution
                • 2afc5b4f - (fix): app buttons
                • 11be027c - (feat): added m-grid__column__skip-#{$i} for desktop and mobile
                • 507c3221 - (fix): quotation and links styling fixes

                Compare with previous version

                Toggle commit list
              • Marcelo Rivera @eiennohi added 74 commits 1 week ago

                added 74 commits

                • 507c3221...35070b4f - 73 commits from branch master
                • cc521451 - Merge remote-tracking branch 'upstream/master' into feat/homepage-redesign

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 1 week ago

                added 1 commit

                • bd99718e - (fix): added images that got deleted while merging master

                Compare with previous version

              • Marcelo Rivera @eiennohi added 3 commits 1 week ago

                added 3 commits

                • f8ab05ee - (feat): add more margin-top to as featured in
                • 7c4044f3 - (fix): stylings for gray thingy in the first panel
                • 0287f55e - (feat): merge designs

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 1 week ago

                added 1 commit

                • 69174e34 - (feat): merge designs

                Compare with previous version

              • Marcelo Rivera @eiennohi mentioned in merge request engine!395 1 week ago

                mentioned in merge request engine!395

              • Marcelo Rivera @eiennohi unmarked as a Work In Progress 1 week ago

                unmarked as a Work In Progress

              • Marcelo Rivera @eiennohi changed title from WIP: New homepage design to Homepage redesign 1 week ago

                changed title from design to design

              • Marcelo Rivera @eiennohi changed the description 1 week ago

                changed the description

              • Marcelo Rivera @eiennohi added MR::Awaiting Review scoped label 1 week ago

                added scoped label

              • Marcelo Rivera @eiennohi marked as a Work In Progress 1 week ago

                marked as a Work In Progress

              • Marcelo Rivera @eiennohi added 2 commits 1 week ago

                added 2 commits

                • 9e1a8a28 - (fix): layout tweaks
                • 701bc989 - (feat): stylings for tablets

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 6 days ago

                added 1 commit

                • ecd06913 - (feat): stylings for tablets

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 6 days ago

                added 1 commit

                • dec3617e - (feat): stylings for tablets

                Compare with previous version

              • Marcelo Rivera @eiennohi added 11 commits 6 days ago

                added 11 commits

                • dec3617e...a0d1737e - 10 commits from branch master
                • 57e73e13 - Merge remote-tracking branch 'upstream/master' into feat/homepage-redesign

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 5 days ago

                added 1 commit

                • 18ccfa82 - (feat): popover for password validation

                Compare with previous version

              • Marcelo Rivera @eiennohi changed the description 4 days ago

                changed the description

              • Marcelo Rivera @eiennohi added 17 commits 2 days ago

                added 17 commits

                • 18ccfa82...32c47ab2 - 13 commits from branch master
                • 76833369 - (feat): remove last section and correct items in "our principles"
                • fb30ca6f - (feat): add join button
                • dbe902ab - (fix): tringle thingy
                • 011c75d7 - Merge remote-tracking branch 'upstream/master' into feat/homepage-redesign

                Compare with previous version

                Toggle commit list
              • Marcelo Rivera @eiennohi added 1 commit 2 days ago

                added 1 commit

                • 19edd595 - (fix): lint

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 2 days ago

                added 1 commit

                • 3607b826 - (fix): "Join Minds Now" on the bottom should only appear for base experiment

                Compare with previous version

              • Marcelo Rivera @eiennohi unmarked as a Work In Progress 2 days ago

                unmarked as a Work In Progress

              • Marcelo Rivera @eiennohi added 3 commits 2 days ago

                added 3 commits

                • fafb747d - (feat): add in support for multiple experiments in a single element
                • e1930348 - (feat): added in new homepage experiments
                • 1afe3d6f - (fix): spec tests and types

                Compare with previous version

                • Bill Ottman
                  Bill Ottman :dragon_face: @ottman · 1 day ago
                  Reporter

                  Link? ;)

                • Collapse replies
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  Click 'View App' above. Screen_Shot_2019-11-24_at_3.41.15_AM

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/experiments/experiment.directive.spec.ts
                17 17 @Component({
                18 18 template: `
                19 19 <div
                20 *mExperiment="'homepage'; bucket: 'base'"
                20 *mExperiment="'homepage'; buckets: ['base']"
                21 21 class="homepage-bucket-base"
                22 22 ></div>
                23 23 <div
                24 *mExperiment="'homepage'; bucket: 'variant1'"
                24 *mExperiment="'homepage'; buckets: ['variant1']"
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  I am unable to test with variant1. It is showing blank

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                Last updated by Marcelo Rivera 1 minute ago
                src/app/common/components/marketing/marketing.component.scss
                3 3 m-marketing {
                4 4 display: block;
                5 5 font-family: Roboto, sans-serif;
                6 overflow-x: hidden;
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  why is this here?

                • Marcelo Rivera
                  Marcelo Rivera @eiennohi · 1 minute ago
                  Developer

                  some of the shape we've included in ::before and ::after elements need to be moved a bit away from the screen, so it causes overflow which spawns horizontal scrollbars in smaller resolutions

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/experiments/experiment.directive.ts
                14 14 })
                15 15 export class ExperimentDirective {
                16 16 @Input('mExperiment') mExperimentId;
                17 @Input() mExperimentBucket;
                17 @Input() mExperimentBuckets: Array<string>;
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  Why have we changed this to an array? (It appears to also have broken things). This MR is for homepage update only not a change to our AB testing platform.

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/homepage/homepage.component.html
                48 i18n
                49 >
                50 Earn for your ideas.
                51 </p>
                31 52
                32 <div class="m-homepage--app-buttons">
                33 <div class="m-homepage--app-buttons__iosBanner">
                53 <button
                54 class="mf-button mf-button--alt m-homepage__joinButton"
                55 (click)="goToLoginPage()"
                56 i18n
                57 >
                58 Join Minds Now
                59 </button>
                60
                61 <div class="m-homepage__appButtons">
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  These look inconsistent with the mockup. Screen_Shot_2019-11-24_at_3.33.35_AM.

                  @michaelfbradley I thought we were not going to use the google play icon?

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/homepage/homepage.component.ts
                38 29 private loginReferrer: LoginReferrerService,
                39 30 public session: Session
                40 31 ) {
                32 this.topbar = document.querySelector('.m-v2-topbar__Top');
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  This is going to cause SSR issues. Document should be avoided, especially when using DOM elements

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/homepage/register/register.component.html
                1 <div class="m-homepage__registerForm">
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  Why have we made an entire new register component instead of just extending the existing one? This is unnecessary duplication and going to cause issues down the line.

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/app/modules/homepage/register/register.component.ts
                1 import {
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  remove this component

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                src/assets/homepage/homepage-1.png

                W: 333 | H: 608

                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  This is fussy on retina display.

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 15 hours ago
                tasks/extract.i18n.xlf.ts
                13 13 opts = {
                14 14 env: {
                • Mark Harding
                  Mark Harding @markeharding · 15 hours ago
                  Owner

                  Different MR.

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding · 15 hours ago
                Owner

                @michaelfbradley Why are we using a different green on the homepage to elsewhere?

              • Mark Harding
                Mark Harding @markeharding · 15 hours ago
                Owner

                @eiennohi there looks to be lots of discrepancies between implementation and mockup. Also the AB testing does not appear to be working at all. Please revert those changes.

              • Mark Harding @markeharding added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label 15 hours ago

                added scoped label and automatically removed label

              Please register or sign in to reply
              0 Assignees
              None
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              MR::Requires Changes Squad::Yellow
              Lock merge request
              Unlocked
              13
              13 participants
              user avatar
              Martin Santangelo
              user avatar
              Ben Hayward
              user avatar
              Emiliano Balbuena
              user avatar
              Brian Hatchet
              user avatar
              Olivia Madrid
              user avatar
              Guy Thouret
              user avatar
              Rami Albatal
              Reference: minds/front!623