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: mobile feed layout & nav bar #2856

Closed
wants to merge 9 commits into from

Conversation

DragosIorgulescu
Copy link
Contributor

@DragosIorgulescu DragosIorgulescu commented Mar 25, 2024

Changes

  • adding a FeedNav at the top of the feed layout
  • updating footer nav items
  • moving reading streaks to the top of the for you feed

TODO:

  • go through all pages and make sure the layout is not broken
  • validate the previous layout still looks the same if the feature flag is disabled

Previews

Screenshot 2024-03-25 at 10 20 32
Screenshot 2024-03-25 at 10 20 20

Describe what this PR does

  • Short and concise, bullet points can help
  • Screenshots if applicable can also help

Events

N / A

Manual Testing

On those affected packages:

  • Have you done sanity checks in the webapp?
  • Have you done sanity checks in the extension?
  • Does this not break anything in companion?

Did you test the modified components media queries?

  • MobileL (420px)
  • Tablet (656px)
  • Laptop (1020px)

Did you test on actual mobile devices?

  • iOS (Chrome and Safari)
  • Android

MI-130

Preview domain

https://mi-130-layout-feed.preview.app.daily.dev

@DragosIorgulescu DragosIorgulescu self-assigned this Mar 25, 2024
@DragosIorgulescu DragosIorgulescu requested a review from a team as a code owner March 25, 2024 08:22
Copy link

vercel bot commented Mar 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2024 10:30am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
storybook ⬜️ Ignored (Inspect) Mar 27, 2024 10:30am

Copy link
Contributor

@nensidosari nensidosari left a comment

Choose a reason for hiding this comment

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

Looks good, will give it a try on the preview link as well - oh it says 404 :(

packages/shared/src/components/MainLayout.tsx Outdated Show resolved Hide resolved
packages/shared/src/components/filters/MyFeedHeading.tsx Outdated Show resolved Hide resolved
Copy link
Member

@sshanzel sshanzel left a comment

Choose a reason for hiding this comment

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

Looking great overall, I don't have anything major as things have been covered by Nensi's comments.

packages/shared/src/components/feeds/FeedContainer.tsx Outdated Show resolved Hide resolved
@nensidosari
Copy link
Contributor

Screenshot 2024-03-25 at 4 17 15 PM Noticed this feed settings button staying in the middle here

- adding a `FeedNav` at the top of the feed layout
- updating footer nav items
- moving reading streaks to the top of the `for you` feed

TODO:
- go through all pages and make sure the layout is not broken
- validate the previous layout still looks the same if the feature flag is disabled
- applied to popular, upvoted and discussed feeds
- adding the selector to the feed empty screen component as well
- update layout margins to take into account the new sidebar for bookmarks and history
- otherwise it's clipped when there is a counter badge on it
@DragosIorgulescu
Copy link
Contributor Author

Closing this as we will be using #2855 to track and review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants