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

Regression: Fix marketplace releases tab crash bug #26162

Merged
merged 8 commits into from
Jul 14, 2022

Conversation

rique223
Copy link
Contributor

@rique223 rique223 commented Jul 6, 2022

Proposed changes (including videos or screenshots)

Fixed a bug where RC would crash because the marketplace releases tab was trying to display undefined data from manually installed apps.
Demo gif:
app-releases-tab-crash-error

Issue(s)

Steps to test or reproduce

Further comments

Fixed a bug where RC would crash because the marketplace releases tab was trying to display undefined data from manually installed apps.
@rique223 rique223 requested a review from a team as a code owner July 6, 2022 20:47
@rique223 rique223 requested a review from ggazzo July 6, 2022 20:47
Copy link
Contributor

@graywolf336 graywolf336 left a comment

Choose a reason for hiding this comment

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

If they only provide one link, such as terms but not the privacy, I would vote we show whichever one we get back. Thoughts?

@rique223
Copy link
Contributor Author

rique223 commented Jul 7, 2022

If they only provide one link, such as terms but not the privacy, I would vote we show whichever one we get back. Thoughts?

Makes sense, when I did this logic I believed both informations were mandatory. Will adapt it in a sec.

Refactored the policies section to allow situations where only the tosLink or privacyLink where received from the back-end.
@rique223 rique223 requested a review from graywolf336 July 7, 2022 14:49
@ggazzo ggazzo added this to the 5.0.0 milestone Jul 12, 2022
graywolf336
graywolf336 previously approved these changes Jul 13, 2022
@ggazzo ggazzo added the stat: ready to merge PR tested and approved waiting for merge label Jul 13, 2022
geekgonecrazy
geekgonecrazy previously approved these changes Jul 13, 2022
…tChat/Rocket.Chat into fix/marketplace-releases-tab-crash
@ggazzo ggazzo dismissed stale reviews from geekgonecrazy and graywolf336 via 0a49b18 July 13, 2022 18:54
@rique223 rique223 requested a review from a team as a code owner July 13, 2022 18:54
Added missing translation keys for the Terms of use and Privacy Policy links on the AppSecurity component.
@rique223 rique223 marked this pull request as draft July 13, 2022 20:41
Fixed a problem where the lift of the useEndpointData from AppReleases to AppDetailsPage caused an unwanted toast to be fired. The hook was lifted to solve the releases tab appearing for manually installed apps, now it uses the marketplace field of the manually installed app to do this.
@rique223 rique223 marked this pull request as ready for review July 13, 2022 20:49
@ggazzo ggazzo merged commit 1731078 into develop Jul 14, 2022
@ggazzo ggazzo deleted the fix/marketplace-releases-tab-crash branch July 14, 2022 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA skipped stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants