Thoughts:
- Unnecessary sophistication in research. I wonder how much more accessible fields would be if that didn't exist. I’ve been getting back into reading research and it feels like half of the super science sounding terms could have had a much cleaner simpler way of describing them
- Also a great learning tool as I’ve personally been using ChatGPT as a tutor and personal assistant.
From FastAI: "The reality is that for academics to get their papers published they need to make them sound as impressive and sophisticated as possible. One of the ways that they do that is to introduce jargon. Unfortunately, this has the result that the field ends up becoming far more intimidating and difficult to get into than it should be."
https://twitter.com/Aella_Girl/status/1602935357938360320
- End goal is to click on the extension and it replaces all complex words with definitions. ChatGPT can already do this
Development
https://github.com/SilenNaihin/simplify-ai-chrome-extension
- [x] Chrome extension skeleton with Typescript
- [x] Figure out Webpack and communication with content.ts and background.ts
- [x] Add extension to context menu
- [x] Only appear when selected text right click, on click get the contents of selection
- [x] Wrap with a span? to highlight the individual word
- [x] Connect to ChatGPT
- [x] Add trigger to background.ts from content.ts
- [x] Find a way to bypass the Cloudflare & Login
- [x] Return data to log
- [x] A box pops up which will display the output from gpt
- [x] Style GPT text
- [x] On click, click outside box disappears

ToDo
- Bug fixes for v1
- [x] Selecting already selected text
- Selecting across html elements. Selecting across different styles as you can see above destroys the formatting. Need to figure out how to maintain
- [x] styling
- [x] structure
- [x] highlights not working for multiple elements
- [ ] highlights when something is already highlighted
- [ ] other bugs
- [x] Add !important to styles and don’t assume any default styled or box text will take parent page styles
- [x] Overflow hidden parent component hiding the gpt
- [x] Contain: layout paint hiding extension
- [x] Z index box under other stuff
- [ ] Z-index to be only 1 higher than the context it is in (to avoid it being overlayed on the searchbar on scroll)
- [x] No wrap text
- [x] z-index not working when static like on Twitter
- [x] Other layout bug on Google with overlay
- [ ] Chatbot box seperate from the spans. Have a general onClick trigger (instead of a separate168585 one for each span)
- [ ] make the chatgpt box appear correctly on Google
- [ ] Not appearing for Notion
- [ ] Links click can’t open extension back up