Closed AmoabaKelvin closed 9 months 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 | Jan 7, 2024 11:14am |
Addition of "enable link" functionality
We have added a new function called enableLink
that allows for enabling a link. This function updates the disabled status of a link to become active or "enabled". It includes protective measures to make sure only the link's owner can perform this action.
Update to the link management component
DropdownMenuShortcut
), and updated the LinkActions
component.Integration of "enable link" function to the link display
enableLink
function is available in the link display component (link-showcase.tsx
). handleLinkEnabling
that calls enableLink
to activate a link.LinkActions
component has been updated to use the handleEnable
function and also to know the current status of the link.Overall, this update adds the new capability to make a link active. This includes changes to both the actions/functions able to be performed, and how they are handled in the component parts of the system.
This fixes #63
Initially when a user disables a link, they had no way to re-enable it, but currently, that has been introduced in this fix