do-me / SemanticFinder

SemanticFinder - frontend-only live semantic search with transformers.js
https://do-me.github.io/SemanticFinder/
MIT License
226 stars 16 forks source link

Updates to extension: UI, caching embeddings, temp logo #34

Closed varunneal closed 1 year ago

varunneal commented 1 year ago

Should be simple to build and test out.

Here's a 128x128 icon I made as an alternative to the default Xenova one. I'm not entirely happy with it (too pixelated at this resolution) but it's in for now.

logo128

do-me commented 1 year ago

Nice, that really catches the spirit! We can always reiterate on it, but I really like it for now :) 
Very curious about testing the new features for the extension!

do-me commented 1 year ago

I just wanted to test the extension but I'm bumping into some issues again. Seems like one icon/animation file AnimatedSquare is missing:

ERROR in ./src/popup/popup.vue?vue&type=script&lang=js (./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[3].use[0]!./src/popup/popup.vue?vue&type=script&lang=js) 5:0-50
Module not found: Error: Can't resolve './AnimatedSquare.vue' in '/mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup'
resolve './AnimatedSquare.vue' in '/mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup'
  using description file: /mnt/c/Users/dome/Downloads/SemanticFinder/extension/package.json (relative path: ./src/popup)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /mnt/c/Users/dome/Downloads/SemanticFinder/extension/package.json (relative path: ./src/popup/AnimatedSquare.vue)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup/AnimatedSquare.vue doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup/AnimatedSquare.vue.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup/AnimatedSquare.vue.json doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup/AnimatedSquare.vue.wasm doesn't exist
      as directory
        /mnt/c/Users/dome/Downloads/SemanticFinder/extension/src/popup/AnimatedSquare.vue doesn't exist
 @ ./src/popup/popup.vue?vue&type=script&lang=js 1:0-136 1:0-136 1:137-262 1:137-262
 @ ./src/popup/popup.vue 2:0-56 3:0-51 3:0-51 8:49-55
 @ ./src/popup/popup.js 2:0-32 5:10-15

webpack 5.88.2 compiled with 1 error in 2620 ms

Do you know how to fix this?

In case, do you think the extension would we ready for the public or is it too early yet? I was thinking that it would be quite a nice occasion to get more contributors on board and I'm quite eager to advertise SemanticFinder as soon as you agree too. :)

varunneal commented 1 year ago

See #37 for the fix.

Sure, let's release it to the public. I want to make the extension better but I haven't got much progress on it in the last couple weeks and it could certainly use a fresh set of eyes. Let me know when you go ahead and advertise. I'll try to boost the signal.