Git Product home page Git Product logo

vocab-forager's People

Contributors

chrisero avatar

Stargazers

 avatar  avatar

Watchers

 avatar

vocab-forager's Issues

Improve Dictionary UI

Every time VocabForager defines a highlighted text, it opens a new tab using the selected dictionary site. This can result in a pore user experience when looking up several different highlights. It can also cause performance issues, as each tab spins up a new process by default.

To improve the dictionary search feature, we should implement (at least) one of 2 UI changes:

  1. Open up a new tab if not already done, but for future highlights, use the same tab. Ideally, whatever method we use should allow users to visit the previous definition page queried using the back button; the forward button should allow users to visit the newer definition page queried.
  2. Open up some "frame" inside the current webpage with the definition page every time user queries for definition. Frame should close and reopen every time a new definition is queried for.

Adjust to Dynamic DOMA

Right now, extension works by waiting for some time (e.g. 800 milliseconds) and the highlighting text in website. This works well for static websites whose content is finalized by that time, but not so well for dynamic pages (those whose DOM may change over time, or at least after the expected length). This would result in a lot of text getting placed in missing section unnecessarily.

To resolve this issue. I propose adding some listener to see if the DOM changes (for reasons other than highlighting) and if so, perform a search (at least on the changed DOM nodes) for text in missing and highlight if found.

Not sure if this is a real problem the at needs fixing.

Add different highlight styling

Right now, all highlights are done with a yellow background and the text contents retain the original source styling, including color. This results in text being illegible in dark-themed sites. Please see here as an example.

This ticket is to resolve this issue, ideally with adding custom highlight styling Add functionality to change the styling of highlighted text at a page-level. These changes should persist across sessions (stored in non-volatile storage).

Not deleting site data when no urls are present

With last update, background-script/web-worker no longer deletes sites for which there are neither any missing words nor any highlighted words. This functionality ought to be reintroduced, as it was removed by mistake

Addressing issues with IndexedDB Usage

As discussed in issue 31, we are having issues, likely, due to the way Chrome restarts the background-script web worker after 5-or-so minutes of inactivity. In addition to the aforementioned issue, there also appear to be hick-ups with simple usage of the extension: activating extension does not immediately show highlighted words and some highlight commands may be missed.

These last few issues are likely due to primitive error handling, which avoids the usage of locks. If the Chromium bug is not addressed in a timely manner, we may be forced to use such techniques, at least for setting up the db connection

Augment Highlighted Sites

Improve how highlighted sites are grouped. One idea is have 2 pages, one to select host+protocol and the second to select sites belonging to that host

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.