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

fix: missing go back button on squads page #2906

Merged
merged 4 commits into from
Apr 3, 2024
Merged

fix: missing go back button on squads page #2906

merged 4 commits into from
Apr 3, 2024

Conversation

sshanzel
Copy link
Member

@sshanzel sshanzel commented Apr 2, 2024

Changes

  • Refactor the component to navigate to be used by other components.
  • Add the missing back button on Squads page.

Screenshot 2024-04-02 at 10 13 25 PM

Events

Did you introduce any new tracking events?
Don't forget to update the Analytics Taxonomy sheet

Log the new/changed events below:

Type event_name value
Change/New event name extra: { ... }

Please make sure existing components are not breaking/affected by this PR

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-262 #done

Preview domain

https://mi-262.preview.app.daily.dev

Copy link

vercel bot commented Apr 2, 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 Apr 3, 2024 9:40am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
storybook ⬜️ Ignored (Inspect) Apr 3, 2024 9:40am

@@ -0,0 +1,53 @@
import React, { PropsWithChildren, ReactElement } from 'react';
Copy link
Member Author

Choose a reason for hiding this comment

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

This was just a renamed file.

@sshanzel
Copy link
Member Author

sshanzel commented Apr 3, 2024

Devcard was also missing it, so I've included the fix here along the missing footer.

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 all good, just one check

@@ -211,7 +211,7 @@ const SquadPage = ({
};

SquadPage.getLayout = getLayout;
SquadPage.layoutProps = mainFeedLayoutProps;
SquadPage.layoutProps = { ...mainFeedLayoutProps, canGoBack: true };
Copy link
Contributor

Choose a reason for hiding this comment

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

Did only the squad page and dev card need this addition?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep. Based from their feedback.

@sshanzel sshanzel merged commit d16d5e1 into main Apr 3, 2024
10 checks passed
@sshanzel sshanzel deleted the MI-262 branch April 3, 2024 10:12
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