geneontology / noctua-annotation-review

0 stars 0 forks source link

ART - browser search #45

Open lpalbou opened 3 years ago

lpalbou commented 3 years ago

Some users want to use the browser search (Ctrl+F / Cmd+F).

On chrome I didn't have any issue, but it seems on firefox, Karen was not able to search for her PMID which was visible on the page.

My guess is that the focus was not on the correct section of the page, maybe on the left panel ? It's still a very strange behavior. @tmushayahama ideas ?

This search/highlight was only working after clicking on the table part of the page.

Screen Shot 2021-05-06 at 11 33 12 AM
ukemi commented 3 years ago

I just repeated on Firefox making sure my focus was on the main window. It didn't scroll to the term.

tmushayahama commented 3 years ago

This is a very special case and not on the todo list for now. I think for now one has to manually scroll to view highlighted text if they wish to use the browser find. This text search is outside the scope of ART or landing page as sometimes.

lpalbou commented 3 years ago

Well I am not about over prioritizing but I do believe it’s a fair and probably rather frequent use case so I would prefer Kimberly and David to decide wether it’s a must or nice to have for a v1.

I believe upon the async loading of the table, and after a search with left panel, you should be able to set the focus there.

I am actually a bit confused as to why this would be needed in the first place and it probably relates to your html layout somehow.

On May 6, 2021, at 6:12 PM, Tremayne @.***> wrote:

 This is a very special case and not on the todo list for now. I think for now one has to manually scroll to view highlighted text if they wish to use the browser find. This text search is outside the scope of ART or landing page as sometimes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ukemi commented 3 years ago

I agree with you both. Although noted, it is certainly not a show stopper and can be in our sights with a lower priority. If we decide to address it I think (you're going to be shocked) that we should do a systematic test of the most common browsers to see which have the behavior and which do not. Then go from there. But I repeat, I think this should be a lower priority item.

vanaukenk commented 3 years ago

I don't think this needs to be completed for release of ART v1. I'd like some more input from @tmushayahama and @lpalbou about the effort that might be needed to address it in a future release, though. I only test on Chrome, but we've talked in the past about how extensive we should test wrt different browsers.
In all our Noctua documentation, we should be very clear about what browsers we test and support. Let's discuss further on today's workbenches call.

vanaukenk commented 3 years ago

I added some text to the first page of ART documentation about browser testing and support. Let's review today.
https://docs.google.com/document/d/1Yo2O7LWj1wdRGbbOlaxX_AFDl99T-P59JOf5YoebX0Q

lpalbou commented 3 years ago

The global testing of ART on multiple browsers should be done indeed and then we can mention in the doc “tested on XX and YY”. Depending of the depth of testing and targeting safari (OS X), Firefox and chrome (OS X + windows) and edge + IE (windows) would probably take around 2 days.

As for fixing that focus issue, I will let Tremayne speak. IMO not so long as it’s a question of selecting the table container and asking for the browser focus.. but there may be more to it as it’s an unusual bug for me (even out of focus, the search should have worked)

vanaukenk commented 3 years ago

Decision made on 2021-05-14 call: we will not address this issue for v1 ART. @tmushayahama will look into it for a possible future fix.