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

fix: Display the domain url for links that was previously missing #1694

Merged
merged 6 commits into from
Apr 2, 2024

Conversation

knipec
Copy link
Contributor

@knipec knipec commented Mar 28, 2024

Description

Displaying the domain was tied to the info prop. The bug was caused when I removed/renamed info, such that it then only applied to files, and failed to pass the domain info through for links.
The info concept is now replaced by InfoComponent -- whose implementation will differ for files and links, as they will show different info with different layouts.

Checklist

  • New tests added
  • Verified on mobile
  • Verified on desktop

Related Issues

Fixes #1690
(which was caused by #1660)

Verification steps

See #1690

knipec added 5 commits March 27, 2024 15:33
…ink implementations with respect to that parent Grid item

It's not quite a refactor because the spacing changes very slightly, but I'm just gonna call it a refactor.
@knipec knipec requested review from paulschreiber and josebui March 28, 2024 21:22
@knipec knipec changed the title Fix/linkurl fix: Display the domain url for links that was previously missing Mar 28, 2024
src/sharedData/components/SharedDataEntryFile.js Outdated Show resolved Hide resolved
src/sharedData/components/SharedDataEntryFile.js Outdated Show resolved Hide resolved
@knipec
Copy link
Contributor Author

knipec commented Apr 2, 2024

Verified on staging by Derek.

@knipec knipec merged commit a5e14de into main Apr 2, 2024
9 checks passed
@knipec knipec deleted the fix/linkurl branch April 2, 2024 16:26
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.

Web URL missing from preview in shared file module
2 participants