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

feat: added copy production-urls to clipboard #192

Merged
merged 3 commits into from
Sep 22, 2024
Merged

Conversation

malmen237
Copy link
Contributor

Added a button to copy urls to clipboard when a production has successfully been created. The copied information looks like this, because the person copying them won't primarily be using the url:s only distributing them:

test-1: http://<${window.location.origin}>/production/139/line/1, test-2: http://<${window.location.origin}>/production/139/line/2, test-3: http://<${window.location.origin}>/production/139/line/3

When creation har been confirmed

Screenshot 2024-07-12 at 14 41 03

When copy has been clicked, reset in 1500 ms

Screenshot 2024-07-12 at 14 41 14

Fetch-error

Screenshot 2024-07-12 at 14 49 29

src/components/landing-page/create-production.tsx Outdated Show resolved Hide resolved
src/components/landing-page/create-production.tsx Outdated Show resolved Hide resolved
src/components/landing-page/create-production.tsx Outdated Show resolved Hide resolved
@birme birme merged commit 36c5331 into main Sep 22, 2024
2 checks passed
@birme birme deleted the feat/copy-production-urls branch September 22, 2024 16:47
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