Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

[BUG] Links under "Your links" in the Statistics page are not clickable/do not redirect #10334

Closed
1 task done
MalekAchich opened this issue Apr 12, 2024 · 2 comments
Closed
1 task done
Labels
🛠 goal: fix undefined 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)

Comments

@MalekAchich
Copy link

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?

Production

Version of BioDrop (for example "v1.2.3")

v2.100.2

Description

When on the profile statistics page, the links under "Your links" are not clickable and do not redirect to that URL.

Steps to Reproduce

Steps to Reproduce:

  1. Go to your profile page.
  2. Click on Statistics to go there.
  3. Scroll down to the very end of the statistics until you see your links under "Your links".
  4. URLs under "Your links" are not clickable.

Screenshots

2024-04-12.21-05-45.mp4

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this

under pages\account\statistics\index.js, inside:

<tbody className="divide-y divide-primary-low dark:divide-primary-medium bg-white dark:bg-primary-high"> {data.links && data.links.individual.map((link) => ( <tr key={link._id}> <td className="md:whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-primary-high dark:text-primary-low sm:pl-6 text-ellipsis overflow-hidden"> {session && session.accountType === "premium" && ( <Link href={/account/statistics/link/${link._id}}> {link.url} </Link> )} {session && session.accountType === "free" && ( <>{link.url}</> )} </td> <td className="whitespace-nowrap px-3 py-4 text-sm text-primary-medium dark:text-primary-low"> {abbreviateNumber(link.clicks)} </td> </tr> ))} </tbody>

  • Replace the Link component with an a tag using href attribute.
@MalekAchich MalekAchich added 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet) 🛠 goal: fix undefined labels Apr 12, 2024
Copy link
Contributor

To reduce notifications, issues are locked until they are 🏁 status: ready for dev You can asked for this issue to be assigned (if not already assigned) and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md

@eddiejaoude
Copy link
Member

Thank you for the suggestion.

But these links do not go anywhere on the free account, but on premium they redirect to get more detailed statistics of that url. So I will close this issue for now.

@eddiejaoude eddiejaoude closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2024
@EddieHubCommunity EddieHubCommunity unlocked this conversation Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛠 goal: fix undefined 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)
Projects
None yet
Development

No branches or pull requests

2 participants