Skip to content

fix(cat-voices): sharing proposals url #2749

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

damian-molinski
Copy link
Contributor

Description

Fixes sharing proposal url. Problem was that "?" used for query version parameter was encoded which resulted later in router thinking 11111%3Fversion=123412412 is an id.

Related Issue(s)

Fixes #2743

Description of Changes

  • Refactor sharing resources logic as well as sharing logic into separate service

@damian-molinski damian-molinski self-assigned this Jun 9, 2025
@damian-molinski damian-molinski added bug Something isn't working review me PR is ready for review labels Jun 9, 2025
@damian-molinski damian-molinski added the dart Pull requests that update Dart code label Jun 9, 2025
@damian-molinski damian-molinski moved this from New to 👀 In review in Catalyst Jun 9, 2025
@damian-molinski damian-molinski marked this pull request as ready for review June 9, 2025 17:17
Copy link
Contributor

github-actions bot commented Jun 9, 2025

Test Report | ${\color{lightgreen}Pass: 783/787}$ | ${\color{red}Fail: 0/787}$ |

@@ -177,7 +180,7 @@ class _ReviewerCard extends StatelessWidget {
),
_StayInvolvedActionButton(
title: context.l10n.becomeReviewer,
urlString: VoicesConstants.becomeReviewerUrl(),
urlString: Uri.decodeFull(ShareManager.of(context).becomeReviewer().toString()),
Copy link
Contributor

@dtscalac dtscalac Jun 10, 2025

Choose a reason for hiding this comment

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

Do we need to call Uri.decodeFull here? Why can't the ShareManager give us directly what we need to share? If we need to remember to call Uri.decodeFull whenever we share then at some point we might forget about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dart Pull requests that update Dart code review me PR is ready for review
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

[Bug]: Sharing proposals does not work
2 participants