MaayanLab / DRC-Portals

0 stars 0 forks source link

After "blood" search finished, nothing happens when clicking on the text #309

Closed AviMaayan closed 1 month ago

AviMaayan commented 3 months ago

https://github.com/user-attachments/assets/e3f4e730-78ea-4a4f-80bd-1063a984384f

u8sand commented 3 months ago

I'm not sure I understand -- this menu item is already selected, that's why nothing happens when it is clicked.

I suppose you mean for the issue to be referring to the missing cross-cut metadata model tab.

mano-at-sdsc commented 3 months ago

Now, at the data portal, if you search for blood, it shows the moving bar below the tab, but then C2M2 tab doesn't show up at all. image

mano-at-sdsc commented 3 months ago

Also, in top/right search box, the text 'blood' doesn't appear. In our local repo, after the search is done, C2M2 tab still shows up. image

mano-at-sdsc commented 3 months ago

Is this because it didn't get any results from C2M2 within the time-limit, so not even showing the C2M2 tab and some warning for that?

susrinivasan commented 3 months ago

Yes I suppose. The time taken to completely load the page may be more than 2 mins which is the time limit Daniel has set. We can expect some improvement in performance when we have a dedicated db server.

Sumana

On Fri, Aug 2, 2024 at 1:40 PM Mano Maurya @.***> wrote:

Is this because it didn't get any results from C2M2 within the time-limit, so not even showing the C2M2 tab and some warning for that?

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/MaayanLab/DRC-Portals/issues/309*issuecomment-2266117802__;Iw!!Mih3wA!DocQdpuphni8KikHLfXmJh5KATTWsM72URBqdpbU-bi7FkuhVHzF1xnn1hKxbejpXOc34Y29U4bSLjjbi0xAOcnPQWY$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AV52TGEPGZWM2NEUJOD34QDZPPVCBAVCNFSM6AAAAABLBZLAB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGEYTOOBQGI__;!!Mih3wA!DocQdpuphni8KikHLfXmJh5KATTWsM72URBqdpbU-bi7FkuhVHzF1xnn1hKxbejpXOc34Y29U4bSLjjbi0xAB6-4VvQ$ . You are receiving this because you were assigned.Message ID: @.***>

u8sand commented 3 months ago

It hides the tab altogether because an error was encountered. It doesn't show it loaded because it's already been cached (with the error)

The way to fix it is, as @susrinivasan said, to decrease the time the query takes.

susrinivasan commented 1 month ago

The query blood now take less than 8 seconds to load.