Closed li-xin-yi closed 1 year ago
Though it extends the application scenarios for Codeium further, it may not work on many websites even if they apply Monaco or CodeMirror as their online editors (for example, online vs code/github.dev, codesandbox). The rules are too rough to support them well for now.
We have an internal issue tracking github.dev -- this would require a modification of our vscode extension to support the web environment.
I've previously looked at CodeSandbox. I think it doesn't work for a similar reason as described in https://github.com/Exafunction/codeium-chrome/issues/4#issuecomment-1519231767
@pqn
Thank you so much for reviewing this PR and valuable suggestions. I pushed some new commits to complete:
Can you take a look and give more feedback?
@pqn Thanks for your comment. I updated the code as you suggested. Now, the new UI looks like:
I'm uncertain whether it should be "allow list" or "allowed list" (since I'm not a native English speaker...)
Looks like the rebase or merge had some issue and the commits are showing up in the PR history.
Update: add the reset button and remove the exit button.
Thanks! 🎉
I really appreciate this project and look forward to a new version that I can use on more websites more flexibly. I attempted to modify a few lines of code as below:
script.ts