Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improved the UX on the feeds page and scroll behaviour #1506

Merged

Conversation

dev-phantom
Copy link
Contributor

Description

Issue: Currently, there is an issue where the highlight filters and user card scroll along with the content when scrolling through the feed. This behaviour is not user-friendly and can lead to confusion and a bad user experience.

Changes Proposed:
In this pull request, i addressed the scrolling behaviour to enhance the overall user experience and ensure a smoother and more intuitive interaction with the feed. The following changes have been implemented:

  1. Fixed Position for Navigation Menu: The navigation menu is now set to have a fixed position as the user scrolls through the feed. This means that the navigation menu will remain visible at the top, offering users quick access to navigation options.

  2. Sticky Position for Filters and User Card: The filters and user card sections are now set to have a sticky position as the user scrolls through the feed. This means that these elements will remain visible at their designated positions, offering users quick access to important information and controls without any disruption caused by scrolling.

  3. Smooth Transition: To maintain a visually pleasing transition, i have incorporated a smooth scrolling effect when transitioning between different sections of the feed. This ensures that the user's focus remains on the content while seamlessly interacting with the filters and user card.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Fixes #1353 and Fixes #1451

Mobile & Desktop Screenshots/Recordings

image

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 docs.opensauced.pizza
  • 🍕 dev.to/opensauced
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Aug 6, 2023

Deploy Preview for design-insights ready!

Name Link
🔨 Latest commit b81c09b
🔍 Latest deploy log https://app.netlify.com/sites/design-insights/deploys/64d2616e352cca000843bcff
😎 Deploy Preview https://deploy-preview-1506--design-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Aug 6, 2023

Deploy Preview for oss-insights ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b81c09b
🔍 Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/64d2616efa424a000711215f
😎 Deploy Preview https://deploy-preview-1506--oss-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks Passed!

@a0m0rajab
Copy link
Contributor

Thank you for having your first PR; since this is a transition behavior can you add a video of the before and after? an image would not describe the PR.

Copy link
Contributor

@a0m0rajab a0m0rajab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🍕
The only feedback that I have is that we need to minimize the items on the left and right side of the screen, but that is out of the scope of this. Just wrote it here for visibility purpose.

image

@dev-phantom
Copy link
Contributor Author

Thank you for having your first PR; since this is a transition behavior can you add a video of the before and after? an image would not describe the PR.

Yea, I wanted to record one but my PC doesn't have an inbuilt screen recorder😔

@dev-phantom
Copy link
Contributor Author

LGTM 🍕 The only feedback that I have is that we need to minimize the items on the left and right side of the screen, but that is out of the scope of this. Just wrote it here for visibility purpose.

image

Yea I get your point
We could have a specific height and make the repository items scrollable by adding overflow-y-auto to it or reduce the sticky top position

@a0m0rajab
Copy link
Contributor

a0m0rajab commented Aug 6, 2023 via email

Copy link
Member

@bdougie bdougie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. We need to wait on #1490 to merge before this is merged.

@dev-phantom
Copy link
Contributor Author

This looks good. We need to wait on #1490 to merge before this is merged.

It has been merged sir 🤔

@brandonroberts
Copy link
Contributor

Thanks @dev-phantom, this is good to go after the merge conflicts are resolved

@brandonroberts brandonroberts added the merge conflicts Needs merge conflict resolved label Aug 7, 2023
Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💅

@brandonroberts brandonroberts merged commit 31c1593 into open-sauced:beta Aug 8, 2023
open-sauced bot pushed a commit that referenced this pull request Aug 8, 2023
## [1.59.0-beta.8](v1.59.0-beta.7...v1.59.0-beta.8) (2023-08-08)

### 🍕 Features

* add support for highlight.new ([#1487](#1487)) ([3daa5c0](3daa5c0))
* improved the UX on the feeds page and scroll behaviour ([#1506](#1506)) ([31c1593](31c1593))
open-sauced bot pushed a commit that referenced this pull request Aug 8, 2023
## [1.59.0](v1.58.0...v1.59.0) (2023-08-08)

### 🧑‍💻 Code Refactoring

* replace supabase/ui in design system typography components ([#1438](#1438)) ([38cfb30](38cfb30))

### 🍕 Features

* add a user notifications page ([#1478](#1478)) ([022dc69](022dc69))
* add conditional routing to single highlight dialog close action ([#1473](#1473)) ([1341cba](1341cba))
* add github link to profile ([#1459](#1459)) ([d42bc6d](d42bc6d))
* add support for highlight.new ([#1487](#1487)) ([3daa5c0](3daa5c0))
* improved the UX on the feeds page and scroll behaviour ([#1506](#1506)) ([31c1593](31c1593))
* onboarding auto fetch timezone ([#1488](#1488)) ([ae5cdd7](ae5cdd7))

### 🐛 Bug Fixes

* Feed page responsiveness  ([#1490](#1490)) ([67662b2](67662b2))
* feeds page typography and styles improvements ([#1467](#1467)) ([a3b289e](a3b289e))
* on page reload Insights page redirecting to Dashboard ([#1517](#1517)) ([397c36e](397c36e))
* update environment variable for Sentry ([#1521](#1521)) ([56ac14b](56ac14b))
* update release workflow to use GitHub app for semantic versioning ([#1484](#1484)) ([3f1ce84](3f1ce84))
* update user interest logo error for machine learning ([#1474](#1474)) ([a286eda](a286eda))
* uses session to update user info for notifications check ([#1486](#1486)) ([60d787e](60d787e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge conflicts Needs merge conflict resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Feeds page UX improvements Feature: Fix feed asides on scroll
4 participants