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

[no-jira] Add "Newer" and "Older" navigation to Posts page #53

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

cznrhubarb
Copy link

Motivation

Coaches suffer from an issue where there pages refresh due to excessive scrolling. We've been unable to pinpoint and fix the problem, so I want to introduce a work around that avoids the scrolling.

Changes

Added an "open in new tab" option to post context menus.
Added "Newer" and "older" navigation buttons to the posts page.

Testing Done

  • I have successfully ran the unit tests
  • I have successfully ran the integration tests
  • I have successfully completed the manual testing of my changes and the surrounding code

Screenshots

image

@cznrhubarb cznrhubarb requested a review from a team as a code owner February 21, 2024 22:35
@cznrhubarb cznrhubarb changed the title Add "Newer" and "Older" navigation to Posts page [no-jira] Add "Newer" and "Older" navigation to Posts page Feb 21, 2024
@@ -44,6 +44,7 @@
"post.myTimeline": "Mi Línea del tiempo",
"post.wasLive": "estuvo en vivo",
"post.copyPath": "Copiar camino",
"post.openInNewTab": "Open in new tab",
Copy link

Choose a reason for hiding this comment

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

Does not look spanish :D

Copy link
Author

Choose a reason for hiding this comment

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

Coach ops told me I can leave anything that's only coach facing in English, so I made this coach facing only even if it would be useful for users, just so I wouldn't have to translate it :D

return (
<Wrapper>
<CommunityInfo communityId={communityId} />

{
isCoach(currentUser) &&
Copy link

Choose a reason for hiding this comment

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

Nit: Add some margin to the bottom and adjust ButtonGroup spacing so it matches the spacing with the top card.

@cznrhubarb cznrhubarb merged commit c7f1577 into develop Feb 26, 2024
2 of 3 checks passed
@cznrhubarb cznrhubarb deleted the mike/next-prev-post-buttons branch February 26, 2024 19:41
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.

2 participants