jomarko commented on issue #151:
URL:
https://github.com/apache/incubator-kie-issues/issues/151#issuecomment-1899911437
@kbowers-ibm yay, great idea, for sure I can add some content into readme.
@yesamer I believe yes, in pseudocode, somewhere really near after the entry
point we should have:
```
if (github UI is supported by chrome-extension) {
log into chrome-extension logs
return;
}
```
Now big question is, what is `github UI is supported by chrome-extension`,
or better to say, how to detect, github instance is the latest available or not.
I had no luck in searching trough github REST api. To me it seems there is
no information about gthub UI instance version. I think there is only
information about REST api version, in respense header [1] or
[here](https://api.github.com/versions).
I think the only ways is to try some jquuery/css locators , if they exists
somehow decide if the extension can be active or not. For example entrprise
github instances have some information in the UI [2]. Public github.com
instance do not have similar information.
[1]

[2]

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]