Skip to content

fix feedback email url #452

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

Merged
merged 1 commit into from
May 26, 2025
Merged

fix feedback email url #452

merged 1 commit into from
May 26, 2025

Conversation

joshreisner
Copy link
Contributor

@joshreisner joshreisner commented May 26, 2025

currently the function to generate the feedback URL for meetings (when users see a "Update Meeting Info" button) is located in loadMeetingData, which is both wasteful and causes a bug:

it's wasteful because it runs for every meeting, whether the user even sees the button or not

it's buggy because the feedback email does not contain a link to the meeting even though it's supposed to:

before:
Screenshot 2025-05-26 at 8 15 46 AM

after:
Screenshot 2025-05-26 at 8 15 51 AM

this PR moves the logic to the Meeting component so it only runs when the user sees the button and the meeting slug is in the URL

@joshreisner joshreisner requested review from gkovats and pjaudiomv May 26, 2025 15:19
@joshreisner joshreisner self-assigned this May 26, 2025
Copy link

netlify bot commented May 26, 2025

Deploy Preview for tsml-ui ready!

Name Link
🔨 Latest commit 746981f
🔍 Latest deploy log https://app.netlify.com/projects/tsml-ui/deploys/683486999d0ee90008962826
😎 Deploy Preview https://deploy-preview-452--tsml-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@joshreisner
Copy link
Contributor Author

going to merge because i want to start a branch for #453 and also this is a bug we should fix

@joshreisner joshreisner merged commit a469e26 into main May 26, 2025
6 checks passed
@joshreisner joshreisner deleted the fix-feedback-email branch May 26, 2025 20:59
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.

1 participant