Skip to content

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

Open
Opened 3 days ago by Emiliano Balbuena@edgebal
Report abuse

Horizontal Feed service cursor

  • Overview 7
  • Commits 6
  • Pipelines 4
  • Changes 3
2/3 threads resolved

Summary

Allow faster pagination when going back and forth on media modal

  • Closes #2419

Steps to test

  • Go to a channel with media content
  • Click on a image or a video
  • There should be a really small delay for the arrows to appear.
  • Try navigating back and forth, there should be no delay for the arrows to pop-in.
  • When navigating, check the dates to see if you're going back and forth.
  • Go to a group (such as: https://goal-modal-pager-cache.minds.io/groups/profile/1051617384458096641/feed)
  • Upload an image with your user
  • Navigate through it, other images in that group (uploaded by another users) should appear

Known issues

There's an engine issue, which affects the entity displayed on the modal. engine#1326

Estimated Regression Scope

Regressions might arise when loading the media modal or navigating on it.

Edited 2 days ago by Emiliano Balbuena
Request to merge goal/modal-pager-cache into master
The source branch is 6 commits behind the target branch
Open in Web IDE
Pipeline #112102071 passed with warnings for c251816b on goal/modal-pager-cache
              Requires approval from QA. Approved by
              Brian Hatchet
              Martin Santangelo Rami Albatal Ben Hayward Xander Miller Juan Manuel Solaro
              Ready to be merged automatically. Ask someone with write access to this repository to merge this request

              Closes #2419

              Mentions engine#1326

              Deletes source branch

              • Emiliano Balbuena @edgebal added Squad::Yellow scoped label 3 days ago

                added scoped label

              • Emiliano Balbuena @edgebal added 1 commit 3 days ago

                added 1 commit

                • b4dab04a - (fix): Wrong calculation of pool index value

                Compare with previous version

              • Emiliano Balbuena @edgebal added 2 commits 3 days ago

                added 2 commits

                • 2a72ba71 - (chore): Remove console.debug, JSdoc and separate fetch concerns
                • c52417ca - (refactor): Use BehaviorSubject for modal pager entities

                Compare with previous version

              • Emiliano Balbuena @edgebal added 8 commits 3 days ago

                added 8 commits

                • c52417ca...aef1b6f6 - 6 commits from branch master
                • f21f1bc2 - (chore): Better loading handling
                • c251816b - Merge remote-tracking branch 'origin/master' into goal/modal-pager-cache

                Compare with previous version

              • Emiliano Balbuena @edgebal unmarked as a Work In Progress 3 days ago

                unmarked as a Work In Progress

              • Emiliano Balbuena @edgebal changed the description 3 days ago

                changed the description

              • Emiliano Balbuena @edgebal added Status::BuddyReview scoped label 3 days ago

                added scoped label

              • Emiliano Balbuena @edgebal changed the description 2 days ago

                changed the description

                • Ben Hayward
                  Ben Hayward @benhayward.ben · 2 days ago
                  Developer
                  Resolved by Emiliano Balbuena 2 days ago

                  One thing I noted, if I open a reminded media post in a modal, it has no arrows, is this a design choice?

                  image

                  Edited by Ben Hayward 2 days ago
                • Emiliano Balbuena
                  Last reply by Emiliano Balbuena 2 days ago
                • Ben Hayward
                  Ben Hayward @benhayward.ben · 2 days ago
                  Developer
                  Resolved by Emiliano Balbuena 2 days ago

                  It also throws this in console. I cannot tell if this is due to this MR or is an environmental issue.

                  image

                • Emiliano Balbuena
                  Last reply by Emiliano Balbuena 2 days ago
                • Ben Hayward
                  Ben Hayward @benhayward.ben · 2 days ago
                  Developer

                  Not directly related to this MR but the new system as a whole.

                  Are we handling NSFW correctly here? I don't think we should be showing NSFW images unless the user has enabled mature, or without an overlay.

                  E.g. if I make 2 posts, one NSFW, and one SFW. If I click the SFW image and go right, it will show an uncensored mature image.

                • Collapse replies
                • Emiliano Balbuena
                  Emiliano Balbuena @edgebal · 2 days ago
                  Developer

                  Basically you're going back and forth the user's/group's gallery (as if you go to their feeds and filter by video/image/blog). We can make the media modal NSFW aware, but that will require further modifications that are out of the scope of this MR.

                  cc/ @brianhatchet

                • Brian Hatchet
                  Brian Hatchet :speech_balloon: @brianhatchet · 14 minutes ago
                  Developer

                  We have a card created for this. Good catch, @benhayward.ben

                • Please register or sign in to reply
              • Emiliano Balbuena @edgebal resolved all threads 2 days ago

                resolved all threads

              • Emiliano Balbuena @edgebal changed the description 2 days ago

                changed the description

              • Ben Hayward @benhayward.ben added Status::Awaiting Review scoped label and automatically removed Status::BuddyReview label 1 hour ago

                added scoped label and automatically removed label

              • Brian Hatchet :speech_balloon: @brianhatchet approved this merge request 13 minutes ago

                approved this merge request

              Please register or sign in to reply
              Assignee
              Emiliano Balbuena's avatar
              Emiliano Balbuena @edgebal
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              Squad::Yellow Status::Awaiting Review
              Lock merge request
              Unlocked
              10
              10 participants
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              Reference: minds/front!740