Giter Site home page Giter Site logo

wustep / highlighty Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 3.51 MB

๐Ÿ•ธ WebExtension to highlight phrases from given phrase lists

Home Page: https://chrome.google.com/webstore/detail/highlighty/nfpmjbgochfndeckobojgdbihjdbhnhl

License: MIT License

JavaScript 62.25% HTML 35.12% CSS 2.63%

highlighty's Introduction

highlighty's People

Contributors

wustep avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

highlighty's Issues

Instructional / Promotional Video

Google extensions lets us attach a promotional video. Could be nice to make either an instructions video, a promotions video, or both.

Add quick search bar to highlight phrases quickly

If someone wants to highlight phrases on the fly, it's a little harder with the extension in its current state.

We might want to add an interface and a storage to search multiple phrases quickly.

There's a lot of UI/UX considerations here, since there's essentially two sets of phrases (1) on-the-fly and (2) stored.

โš ๏ธ Auto-highlight feature

Need 2 modes of Highlighty that users can toggle between:

Clicking extension button or keyboard shortcut either:

  • Highlights phrases in current window.
  • Toggles "Auto-Highlight" mode, where highlight happens on each new page.

This is kinda tricky to do right from a UI/UX perspective. Need some more thought on this.

Related:

Search bar to filter through phrases on Options page

Add search bar to options page. When letters are added or removed, the phrase lists that are shown have phrases that contain the text in the search bar.

Super low priority, the only usecase is to remove phrases quickly if there's a lot of them.

Import / Export (Per List)

Should be able to import / export individual lists and the entire configuration.

Import should also support different delimiters (space, new line, etc.) as well as maybe a JSON-based format.

Thinking through which settings should be converted to per-phrase list

Some settings could be moved to a phrase list level instead of a global level -- e.g. URL allowlist & URL denylist.

This requires some thinking through the backwards compatibility though!

--

For example, I may want some phrase lists to only apply for some specific URLs. Or I may want auto highlight for some phrase lists but not others.

Improved context hover tooltip

Right now, the "Enable mouseover for list title info" setting uses the HTML "title" attribute which adds a mouseover text to display the list title. This would better as a tooltip that's a Bulma element, especially since the hover takes a second to actually trigger and is kinda easy to miss.

Add toggle per phrase list

Find appropriate Bulma component for a toggle, add "enabled" boolean to options, and set up triggers.

Add phrase list phrase count

Add a little badge or some other element that shows how many phrases are in each phrase list (maybe even the total # of phrases is useful too)

Improved Color Picker

Replace the current color input with an improved color picker using a library like this, or some other library, or making your own element.

Audit highlight icon behavior

Sometimes the icon is the wrong color -- or the auto/manual highlight behavior is kinda weird.

Figure this out...

Add count of highlighted phrases / phrase navigator?

We can add an element that appears when highlighting that lets users see count of highlighted phrases and navigate between them.

e.g.

[   Highlighty  ]
[---------------]
[ <-- 32/44 --> ]

Alternatively (or additionally), you can add the count to the extension button.

Getting the scroll-to-word right may be tricky; transition in rather than an immediate jump would be best. We probably want the word to be centered vertically on the browser. We should also animate or style the navigated element so it's clear that the word is in focus.

URL Whitelist / Blacklist (General & per List)

Users should be able to set up a whitelist or blacklist of URLs that where Auto-highlight is enabled.

Also tricky to get the UI/UX right here. Need the right instructions to let people know how to set up the right link syntax.

  • Given that the link is "https://google.com/whatever", will "google.com" work or should the user use "*.google.com/*"?
  • Should white or blacklist be used? Or both?
    • Probably just whitelist

Related:

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.