feat(web): add share link on asset-viewer #7595
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a sharing link on the individual asset viewer. This matches the functionality on mobile to share a single image rather than going back to grid view and selecting it. Mentioned in #7561 as well.
before
![before](https://private-user-images.githubusercontent.com/3507151/309527138-e8230ac7-9bbe-42a2-9f4b-a66bf81b2247.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTE2NjEsIm5iZiI6MTczODk1MTM2MSwicGF0aCI6Ii8zNTA3MTUxLzMwOTUyNzEzOC1lODIzMGFjNy05YmJlLTQyYTItOWY0Yi1hNjZiZjgxYjIyNDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTgwMjQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTkyNTA0YmY5YzYwYWFhNjE2OWQ2YTJlNzllNDI1MGJmNDVjN2I2NzUwODBmZWQzNTRmYTY3MjkwYTcwZWVjNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.u10IY46W7YZoQb-sX5CrmLHaTWWFMd7Zyuo909yIg_4)
after
![after](https://private-user-images.githubusercontent.com/3507151/309581379-c65698ab-e810-4e25-abd0-c5eb77d09383.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTE2NjEsIm5iZiI6MTczODk1MTM2MSwicGF0aCI6Ii8zNTA3MTUxLzMwOTU4MTM3OS1jNjU2OThhYi1lODEwLTRlMjUtYWJkMC1jNWViNzdkMDkzODMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTgwMjQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjkxY2I4NGEyZWIwOGFiNWVhZjVlMjliMGE5YjU4YTExZTM4NDgwYTc4ODBlN2U0OGEyYWIwZjRkMzk2Mjg2ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-LYRwevZonBC0jsMSmYliUi-t1jhfBTJa2jLZoGZyp0)