Closed AmoabaKelvin closed 12 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ishortn-ink | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 20, 2024 11:34am |
Introduction of new LinkPreview component A new component called LinkPreview has been incorporated. This is aimed to display a preview of short links that includes the title, description, and a button that redirects the users to the original URL.
Enhancement in the LinkRedirectionPage This page has been altered to make use of the new LinkPreview component. The component is used especially when a link ends with an exclamation mark, providing a user-friendly preview instead of redirecting them immediately.
Optimization of domain handling code The code regarding domain handling in the LinkRedirectionPage has been optimized by introducing a new utility function called 'getDomain'. This has been done to make the conditions for determining the domain from incoming requests more understandable.
Update in LinkAnalyticsPage for Pro users An update has been made in the LinkAnalyticsPage. Now, the global link clicks distribution map will be visible only to the users subscribed to the pro plan.
Improved error handling for link aliases The way errors are handled for link aliases have been improved. Now, the system ensures that aliases only contain alphanumeric characters, dashes, and underscores. It will return specific error messages if the aliases don't meet these conditions.
Improved code formatting and readability Multiple improvements have been made throughout the code to enhance its formatting and readability. This is particularly apparent in async functions and database calls, contributing to better maintainability.
users will now be able to see the site that the shortened link points to if they append ! to the url.
This is a way to help improve security of the links when sharing