Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 426
  • 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
  • !687

Open
Opened 2 weeks ago by Ben Hayward@benhayward.ben
Report abuse

[Sprint/TrendyTurtle](fix): Pro logo sign-in modal fix #2289

  • Overview 6
  • Commits 3
  • Pipelines 3
  • Changes 10
0/2 threads resolved

Closes #2289

Summary:

This change behaves differently if you are on a subdomain.

https://subverse.net, vs https://www.minds.com/pro/subverse

Currently on production, on a subdomain, the logo of the pro user is supposed to show, but it does not. On a non sub-domain, the Minds logo is supposed to show up.

Issue's I'm aware of

There's two modals loading on non-subdomains. This looks a bit like a huge shadow. This is to be dealt with in another card here: minds#981

Steps to reproduce

  1. First log out!
  2. Make a new account
  3. Log into admin and give the new account pro.

a) go to channel of the user you want to grant it to. b) hit the briefcase icon on the profile sidebar.

Standard Minds domain

  1. Log out again.
  2. Visit your new pro channel
  3. Verify your avatar is shown on the users pro profile
  4. Scrolling down it not logged in, should show the minds logo.
  5. Set a logo.
  6. Logo should show on page instead of avatar.
  7. Scroll down, modal should trigger and the Minds logo should still be shown.

On a subdomain

  1. Visit https://pro-domain--fix-pro-logo-modal-2289.minds.io/
  2. Click a new tab
  3. Scroll down
  4. In popup modal you should see your chosen logo.

Optionally, to make your own subdomain:

  1. Message me to vacate the above URL.
  2. go to fix-pro-logo-modal-2289.minds.io
  3. enable Pro on the channel you need
  4. go to Pro Settings > Domain > Enter pro-domain--fix-pro-logo-modal-2289.minds.io
  5. Click save
  6. Check that you have a pro logo set, if you don't, add one.
  7. On another tab, go to pro-domain--fix-pro-logo-modal-2289.minds.io
  8. You should see the Pro for the channel you set up
  9. Log out
No pro user set, avatar still shown

image

On a subdomain

image

minds.com/pro/

image

Edited 1 week ago by Ben Hayward
Request to merge fix/pro-logo-modal-2289 into master
The source branch is 36 commits behind the target branch
Open in Web IDE
Pipeline #103501132 passed with warnings for e89dee8c on fix/pro-logo-modal-2289
              Requires 3 more approvals from Devs, Deployers, and QA.
              Mark Harding
              Mark Harding
              Marcelo Rivera
              Marcelo Rivera
              Guy Thouret
              Guy Thouret
              Emiliano Balbuena
              Emiliano Balbuena
              Olivia Madrid
              Olivia Madrid
              Ready to be merged automatically. Ask someone with write access to this repository to merge this request

              Closes #2289

              Mentions minds#981

              Deletes source branch

              • Ben Hayward @benhayward.ben added Squad::Yellow scoped label 2 weeks ago

                added scoped label

              • Ben Hayward @benhayward.ben added 1 commit 2 weeks ago

                added 1 commit

                • 8b6d2845 - Tidying

                Compare with previous version

                • Brian Hatchet
                  Brian Hatchet :speech_balloon: @brianhatchet · 1 week ago
                  Developer

                  Well, for starters, I am unable to give myself a pro account on this review site. The current /pro page is broken and the console throws

                  TypeError: "this.minds.upgrades is null" vendor.779a60b3ce201322a755.js:1:175272 TypeError: "this.minds.upgrades is null" vendor.779a60b3ce201322a755.js:1:175272 TypeError: "this.minds.upgrades is null" vendor.779a60b3ce201322a755.js:1:175272 TypeError: "this.minds.upgrades is null"

                  errors until it crashes

                • Please register or sign in to reply
                • Brian Hatchet
                  Brian Hatchet :speech_balloon: @brianhatchet · 1 week ago
                  Developer

                  Also, passing off issues onto the tests with a note to "figure it out" is unacceptable. If there's issues with the review sites that prevent testing, we need to get them sorted out and probably promote this to a Beatle's server in the mean time. But, it's your responsibility to get the resources ironed out so we can this properly.

                  On a subdomain

                  1. /etc/hosts edit may need to be made on the sandbox, alternatively, speak with @edgebal, he may know a way to simulate it.
                • Collapse replies
                • Ben Hayward
                  Ben Hayward @benhayward.ben · 1 week ago
                  Developer

                  Intended as less of a figure it out for yourself and more of a warning that it was considerable effort to do, and local testing would be preferred - that said if you want to go down that road we need:

                  a) A fresh domain and Minds hosted on an EC2 or write access to K8s pods.

                  b) A fresh domain and a helm mapping spawning 2 Traefik frontends.

                  Edited by Ben Hayward 1 week ago
                • Ben Hayward
                  Ben Hayward @benhayward.ben · 1 week ago
                  Developer

                  Spoke with Emi, he is going to prepare the helm charts so that this can be tested on the sandboxes; may still need access to DNS.

                • Please register or sign in to reply
              • Ben Hayward @benhayward.ben changed the description 1 week ago

                changed the description

              • Ben Hayward @benhayward.ben added MR::Awaiting Review scoped label 1 week ago

                added scoped label

              • Ben Hayward @benhayward.ben changed the description 1 week ago

                changed the description

              • Brian Hatchet :speech_balloon: @brianhatchet assigned to @benhayward.ben and @edgebal 1 week ago

                assigned to @benhayward.ben and @edgebal

              • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::12/11 - Understood Unicorn scoped label 1 week ago

                added scoped label

              • Brian Hatchet :speech_balloon: @brianhatchet added Status::Requires Changes scoped label and automatically removed Status::Awaiting Review label 1 week ago

                added scoped label and automatically removed label

              • Brian Hatchet
                Brian Hatchet :speech_balloon: @brianhatchet · 1 week ago
                Developer

                Moving this to Requires Changes until we can get these review sites ironed out

              • Ben Hayward @benhayward.ben added 1 commit 6 days ago

                added 1 commit

                • e89dee8c - Removed unneccesary conditional

                Compare with previous version

              • Emiliano Balbuena @edgebal unassigned @edgebal 43 minutes ago

                unassigned @edgebal

              • Emiliano Balbuena
                Emiliano Balbuena @edgebal · 39 minutes ago
                Developer

                As a heads up, I've uploaded a Helm Chart change that adds extra domain we can use for E2E spec testing (minds/helm-charts#master), however, the ideal solution would be to implement wildcard SSL-enabled domains for all sandboxes.

                Tracking issue: #2316

              Please register or sign in to reply
              Assignee
              Ben Hayward's avatar
              Ben Hayward @benhayward.ben
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              3
              Labels
              Sprint::12/11 - Understood Unicorn Squad::Yellow Status::Requires Changes
              Lock merge request
              Unlocked
              11
              11 participants
              user avatar
              Mark Harding
              user avatar
              Marcelo Rivera
              user avatar
              Guy Thouret
              user avatar
              Emiliano Balbuena
              user avatar
              Olivia Madrid
              user avatar
              Rami Albatal
              user avatar
              Xander Miller
              Reference: minds/front!687

              Now you can access the merge request navigation tabs at the top, where they’re easier to find.

              More information and share feedback