andrewbrg / codepad-chrome-app

An awesome multi-language IDE written in JavaScript, crafted for ChromeOS and released under the GNU general public license!
https://chrome.google.com/webstore/detail/code-pad-ide/adaepfiocmagdimjecpifghcgfjlfmkh
GNU General Public License v3.0
134 stars 86 forks source link

Migrating to new Chrome Apps API? #84

Open abalter opened 1 year ago

abalter commented 1 year ago

Unfortunately, this extension uses APIs that are no longer supported. I'm running Version 107.0.5304.88 (Official Build) (64-bit) and it says this extension/app is no longer supported and won't run it.

For example,

This API is part of the deprecated Chrome Apps platform. Learn more about migrating your app.

Are there plans to migrate to the new system?

More information: https://developer.chrome.com/docs/extensions/whatsnew/

coder0107git commented 1 year ago

@abalter Since Codepad is a chrome app it would be very involved to migrate from Chrome App APIs to a Chrome Extension or PWA (progressive web app). Google does provide a table of the different APIs counterparts here to make the transition easier than it would be otherwise. The user @coder0107 has a fork where they are trying to convert it to a PWA. At this point though for most people I would recommend using VSCode Web because it has more features than the underlying editor (Ace) that Codepad uses.

abalter commented 1 year ago

@coder0107git I apologize, Iwasn't aware of the difference between an app and an extension---CodePad installs from the extension store.

Although, I was never able to actually get it to install--I always get this error:

image

coder0107git commented 1 year ago

@abalter Are you using a Chromebook or a different device?

abalter commented 1 year ago

Chrome browser. Is that the problem?

coder0107git commented 1 year ago

It shouldn't be a problem since Codepad is designed for Google Chrome (it might work on other Chromium based browsers). Does the install error occur when you try to install other extensions (or apps) on Chrome?

coder0107git commented 1 year ago

@abalter Can this be closed?

abalter commented 1 year ago

Let me try to install it on chrome again and see what happens.

abalter commented 1 year ago

I see this image

and this is the details:

image

So, the problem is that I'm trying to use it as an extension, but it is really an app. I don't even know how to use an app in Chrome.

I assumed I could install it as a chrome extension from here:

https://chrome.google.com/webstore/detail/code-pad-text-editor/adaepfiocmagdimjecpifghcgfjlfmkh?hl=en-GB

image

I tried removing it from chrome and then adding it again from that button, but get this error.

image

coder0107git commented 1 year ago

@abalter Since I don't typically have great success with the Chrome Web Store, I don't think I would be much help with that. I usually just use crxextractor.com and then install it as an unpacked extension when the Chrome Web Store isn't working for me.

coder0107git commented 1 year ago

@abalter I am also encountering the logged URL error in your second attached picture. I just usually clear that error and then it doesn't come back for a while.

abalter commented 1 year ago

@coder0107git I know at one point I had downloaded the .crx, but now I can't remember. Now I can't even get it to download from the web store.

image

coder0107git commented 1 year ago

The odd thing is I get the same error whenever I try to install anything from the Chrome Web Store on my Chromebook but it works perfectly fine on my Windows computer.