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

Increase share popup duration from 5s to 10s #4625

Merged
merged 5 commits into from
Oct 30, 2024

Conversation

tofarr
Copy link
Collaborator

@tofarr tofarr commented Oct 29, 2024

This PR doubles the duration of the share popup from 5 seconds to 10 seconds to give users more time to interact with the sharing functionality.

Changes

  • Modified the toast duration in frontend/src/components/feedback-modal.tsx from 5000ms to 10000ms

- Move NoCacheMiddleware to new middleware.py module
- Create LocalhostCORSMiddleware that allows any localhost/127.0.0.1 request
- Update listen.py to use new middleware
@tofarr tofarr marked this pull request as draft October 29, 2024 23:23
@tofarr tofarr marked this pull request as ready for review October 29, 2024 23:25
@tofarr tofarr enabled auto-merge (squash) October 30, 2024 13:52
@tofarr tofarr merged commit 75ee54b into main Oct 30, 2024
13 checks passed
@tofarr tofarr deleted the feat/increase-share-popup-duration branch October 30, 2024 14:14
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.

3 participants