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

Activity list not treated as hyperlinks #651

Open
emmajclegg opened this issue Aug 18, 2023 · 3 comments
Open

Activity list not treated as hyperlinks #651

emmajclegg opened this issue Aug 18, 2023 · 3 comments

Comments

@emmajclegg
Copy link

Activities listed on d-portal (for a specific publisher, e.g. XM-DAC-3-1, or search query) are not treated as hyperlinks, so it is not possible to open activities in separate tabs from a right-click option.

The reason appears to be that links are defined as a JavaScript Function rather than through a <a href> tag in HTML, which browsers do not recognise as links (see screenshot below).

Having the links function as normal tags would help users avoid needing to navigate back to the overview page each time, losing where they were in the list.

image

@notshi
Copy link
Collaborator

notshi commented Aug 18, 2023

Thanks for raising, @emmajclegg

The reason they are Javascript functions is to remember all the state information; ie. which search queries and filters were used to get to this point.

They used to be proper <a href> links but the Generator was opening multiple tabs so the href attribute was dropped.

We agree that they should be reinstated but will need some time to figure out what's best for all conditions to be met.

@emmajclegg
Copy link
Author

Thanks @notshi - this feedback came via the IATI Support helpdesk. I'll keep an eye out for similar queries and signpost to the background here.

@stevieflow
Copy link

I get caught often by this and agree it would be good to reinstate / resolve. Great to see this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants