Code Monkey home page Code Monkey logo

sefariasidebarextension's People

Contributors

dovops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sefariasidebarextension's Issues

Regression - position no longer fixed on logo button

By accident, I regressed the CSS while updating the logo button that floats on the page, and went with 'absolute' instead of 'fixed. This causes the button to flow off the screen with scrolling instead of permanently hovering at the top of the screen regardless of page position.

AllDaf change events are dispatching single-sided retrieval

When dual-amud events were supported, calls to getLinks were modified to support single/double mode (default being single). AllDaf change events don't call the correct method signature so they end up only defaulting to single mode. Fix is to call getLinks with DOUBLE as the second argument

Enable all sidebar categories

Currently this is hard coded to filter ner mitsva/ein mishpat as this started as a prototype for daf yomi sites and the focus was Halacha related resources.

There’s no reason this isn’t more flexible with filterable sidebar categories especially since all the data is retrieved already.

Remediate scrubbing and escaping issues reported by security

Clean up regexes used to scrub and escape parameters, and urls :

Incomplete string escaping or encoding
master
contentScript.js#L68 • Detected 5 days ago

Incomplete string escaping or encoding
master
contentScript.js#L68 • Detected 5 days ago

Incomplete URL substring sanitization
master
recognizers.js#L184 • Detected 5 days ago

Broken links when apostrophe in name (e.g. Yore De'ah)

Bug in certain links that have apostrophes due to links being generated with single quotes. This causes links to things like Yore De'ah to break when generated.

Either escape the names at link generation time, or use double quotes for links as a stopgap.

Add “free search option” to type ahead search

At the top of the side bar there is currently a "feeling lucky" to navigate to a specific Sefaria topic / text by name / number . It would also be good to allow free text searches by linking to that url as well in the type ahead results

Defer loading to sidebar open

Right now the api is called upon document load, that’s too greedy/aggressive.

Defer until sefaria logo is clicked and sidebar expanded.

If no results found, show a generic search bar

Make Sefaria reader maximize-able

Currently the reader displays in a fixed width - there should be an option to widen it to full or 90% width (and contract it back to original width)

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.