nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Clicking on an Avatar in a DashboardWidgetItem triggers the link / action

Open
#2,822 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage feature: avatar feature: dashboard
Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

Currently, in a DashboardWidgetItem, when clicking an user's Avatar to open the user's tooltip, the link is opened as well. This leads to an unexpected behaviour, as we get redirected to another page. The tooltip does open as well, as we can see if we come back to the previous tab.

The expected behaviour would be to prevent the main action if we click on the Avatar.

Example of such dashboards : Cospend, Recent activity

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at DashboardWidgetItem and trace how its Avatar opens the tooltip and how the item's main action is triggered. Verify the change by checking that clicking the Avatar opens only the tooltip while other item clicks still invoke the main action.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.