Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chrome-ext] Update nightly download link and add version check #1720

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

MSNev
Copy link
Collaborator

@MSNev MSNev commented Nov 20, 2021

No description provided.


export const TelemetryViewerPopup = (): React.ReactElement => {
const [appPhase, setAppPhase] = React.useState<AppPhase>("Startup");
const [session, setSession] = React.useState<Session | undefined>(undefined);
const [configurationType, setConfigurationType] = React.useState<ConfigurationType>(undefined);
let newAvailableVersion: string;
// let newVersionDownload: string;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was originally planning on having some sort of dynamic update -- but that is more work so this is really a placeholder

if ((count % 2) == 0) {
document.title = orgTitle;
} else {
document.title = orgTitle + " *** v" + encodeURIComponent(newAvailableVersion) + " Available ***"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very simple "flashing" title to show the new available version number (really just a different version -- assumes that we only move forward)

@@ -462,7 +462,7 @@ const setPackageJsonRelease = () => {
}

if (theFilename.indexOf("/package.json") !== -1) {
let srcFolder = theFilename.replace("/package.json", "/**/*.ts");
let srcFolder = theFilename.replace("/package.json", "/**/*.ts", "/**/*.tsx", "/**/*.html");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just update our build level version replacement logic to support updating the build versions in *.tsx and *.html files -- this is used for manually updating versions via npm run setVersion -- 2.x.x and the nightly builds

@Karlie-777 Karlie-777 merged commit b1227e7 into master Nov 30, 2021
@MSNev MSNev deleted the MSNev/ChromeDebugExtension branch December 7, 2021 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants