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 #98199059 running for c8d26f1c 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 17
              • Commits 62
              • Pipelines 25
              • Changes 32
              3/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 5 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 · 17 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 an old version of the diff 17 hours ago
                Last updated by Marcelo Rivera 1 hour 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 · 17 hours ago
                  Owner

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

                • Marcelo Rivera @eiennohi changed this line in version 18 of the diff 1 hour ago

                  changed this line in version 18 of the diff

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 17 hours ago
                Last updated by Marcelo Rivera 2 hours 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 · 17 hours ago
                  Owner

                  why is this here?

                • Marcelo Rivera
                  Marcelo Rivera @eiennohi · 2 hours 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 an old version of the diff 17 hours ago
                Last updated by Marcelo Rivera 1 hour 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 · 17 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.

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

                  I needed to add that in order to not duplicate code that much on the homepage. With this change it would give you the ability to say that a given element could appear in more than one variant. Just reviewed it and it seems it's broken on the backend, which doesn't support more than 2 variants (I hadn't noticed that before). Anyways, I'm reverting it for now

                • Marcelo Rivera @eiennohi changed this line in version 18 of the diff 1 hour ago

                  changed this line in version 18 of the diff

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 17 hours ago
                Last updated by Marcelo Rivera 1 hour 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 · 17 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?

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

                  This is because it changed since I did that part, nobody told me and I didn't notice it.

                  @michaelfbradley could you give me the latest .sketch file so I can export it? :muscle:

                  Edited by Marcelo Rivera 1 hour ago
                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on an old version of the diff 17 hours ago
                Last updated by Marcelo Rivera 23 minutes 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 · 17 hours ago
                  Owner

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

                • Marcelo Rivera @eiennohi changed this line in version 21 of the diff 23 minutes ago

                  changed this line in version 21 of the diff

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on an old version of the diff 17 hours ago
                Resolved by Marcelo Rivera 36 minutes ago
              • Mark Harding
                Mark Harding @markeharding started a thread on an old version of the diff 17 hours ago
                Resolved by Marcelo Rivera 36 minutes ago
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 17 hours ago
                Last updated by Marcelo Rivera 36 minutes ago
                src/assets/homepage/homepage-1.png

                W: 333 | H: 608

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

                  This is fussy on retina display.

                • Marcelo Rivera
                  Marcelo Rivera @eiennohi · 36 minutes ago
                  Developer

                  How do you suggest that I tweak that? I don't own a retina display, so I cannot test it there :confused:

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 17 hours ago
                Resolved by Marcelo Rivera 36 minutes ago
              • Mark Harding
                Mark Harding @markeharding · 17 hours ago
                Owner

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

              • Mark Harding
                Mark Harding @markeharding · 17 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 17 hours ago

                added scoped label and automatically removed label

              • Marcelo Rivera @eiennohi added 1 commit 1 hour ago

                added 1 commit

                • 3f3f6fb9 - (fix): reverted latest experiment changes

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 1 hour ago

                added 1 commit

                • 09e8059c - (fix): reverted lint on tasks/extract.i18n.xlf.ts

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 38 minutes ago

                added 1 commit

                • 2d72a854 - (fix): use old minds-form-register

                Compare with previous version

              • Marcelo Rivera @eiennohi added 1 commit 23 minutes ago

                added 1 commit

                • c8d26f1c - (fix): don't use document for accessing the topbar

                Compare with previous version

              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
              Rami Albatal
              user avatar
              Guy Thouret
              Reference: minds/front!623