Coder Social home page Coder Social logo

Search is non-functional about imagej.github.io HOT 6 OPEN

mkitti avatar mkitti commented on August 22, 2024 1
Search is non-functional

from imagej.github.io.

Comments (6)

mkitti avatar mkitti commented on August 22, 2024 1

I did a quick test, and it is still not working on Chrome or Firefox on Windows from Janelia. I will do a more extensive diagnostic.

from imagej.github.io.

ctrueden avatar ctrueden commented on August 22, 2024

This was intended to document fiji.sc's non-functional search, right? The search on imagej.net is working for me.

With fiji/fiji.github.io@c63e16e, I removed the fiji.sc search bar—at least for now.

The search on imagej.net is powered by TypeSense+InstantSearch.js, in case you were curious. See https://github.com/imagej/imagej.github.io/tree/main/_search for details. We tried various Jekyll-based search solutions, but they are all too limited for our needs. We want to index content beyond only the wiki, which the Jekyll-based search solutions would not be able to do.

from imagej.github.io.

mkitti avatar mkitti commented on August 22, 2024

I may be confused, but the imagej.net search at the top of the page is also broken for me using Chrome and Firefox on Windows.

Uncaught TypeError: Cannot read properties of undefined (reading 'parentElement')
    at visitSelected (search-tweaks.js:43:30)
    at HTMLInputElement.searchInput.onkeydown (search-tweaks.js:91:29)
visitSelected @ search-tweaks.js:43
searchInput.onkeydown @ search-tweaks.js:91
Uncaught TypeError: Cannot read properties of undefined (reading 'click')
    at selectPage (search-tweaks.js:84:28)
    at HTMLDocument.<anonymous> (search-tweaks.js:106:31)
selectPage @ search-tweaks.js:84
(anonymous) @ search-tweaks.js:106

from imagej.github.io.

ctrueden avatar ctrueden commented on August 22, 2024

Ahh, thanks @mkitti, that is indeed a different issue, which I have not seen. I will check later today whether I am able to reproduce. Does it happen on all pages including the front page?

from imagej.github.io.

ctrueden avatar ctrueden commented on August 22, 2024

@mkitti I updated imagej.net to get rid of a couple of JS console errors that I noticed. Are you still seeing a non-working search bar? I tested on macOS and on Windows in Firefox, as well as Chrome on macOS, and I cannot reproduce the error. You might need to dig into the JS code yourself on the affected machine; it's likely something you can fix or work around in search-tweaks.js.

from imagej.github.io.

ctrueden avatar ctrueden commented on August 22, 2024

@mkitti Maybe it's something with the Janelia firewall? That beast has caused problems with the ImageJ Updater in the past.

from imagej.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.