Parcourir la source

Removes holiday snowing easter egg

main
Eric Amodio il y a 3 ans
Parent
révision
15c7046d94
10 fichiers modifiés avec 18 ajouts et 18 suppressions
  1. +3
    -3
      src/webviews/apps/rebase/rebase.html
  2. +2
    -2
      src/webviews/apps/rebase/rebase.ts
  3. +1
    -1
      src/webviews/apps/scss/rebase.scss
  4. +1
    -1
      src/webviews/apps/scss/settings.scss
  5. +1
    -1
      src/webviews/apps/scss/welcome.scss
  6. +2
    -2
      src/webviews/apps/settings/settings.html
  7. +2
    -2
      src/webviews/apps/settings/settings.ts
  8. +2
    -2
      src/webviews/apps/shared/appBase.ts
  9. +2
    -2
      src/webviews/apps/welcome/welcome.html
  10. +2
    -2
      src/webviews/apps/welcome/welcome.ts

+ 3
- 3
src/webviews/apps/rebase/rebase.html Voir le fichier

@ -11,7 +11,7 @@
</head>
<body class="preload">
<canvas class="snow"></canvas>
<!-- <canvas class="snow"></canvas> -->
<div class="container">
<header>
@ -32,14 +32,14 @@
<button name="disable" class="button button--flat-subtle" data-action="disable" tabindex="-1">
Disable Rebase Editor<span class="shortcut">Will Abort Rebase</span>
</button>
<div class="snow__trigger-container">
<!-- <div class="snow__trigger-container">
<img
class="snow__trigger snow__trigger--centered"
title="Let it snow — Happy Holidays!"
alt="Let it snow — Happy Holidays!"
src="#{root}/images/snowman.png"
/>
</div>
</div> -->
<button name="start" class="button button--flat-primary button--right" data-action="start">
Start Rebase <span class="shortcut">Ctrl+Enter</span>
</button>

+ 2
- 2
src/webviews/apps/rebase/rebase.ts Voir le fichier

@ -16,7 +16,7 @@ import {
} from '../../protocol';
import { App } from '../shared/appBase';
import { DOM } from '../shared/dom';
import { Snow } from '../shared/snow';
// import { Snow } from '../shared/snow';
const rebaseActions = ['pick', 'reword', 'edit', 'squash', 'fixup', 'drop'];
const rebaseActionsMap = new Map<string, RebaseEntryAction>([
@ -433,4 +433,4 @@ class RebaseEditor extends App {
}
new RebaseEditor();
requestAnimationFrame(() => new Snow(false));
// requestAnimationFrame(() => new Snow(false));

+ 1
- 1
src/webviews/apps/scss/rebase.scss Voir le fichier

@ -354,4 +354,4 @@ $entry-padding: 5px;
}
}
@import 'snow';
// @import 'snow';

+ 1
- 1
src/webviews/apps/scss/settings.scss Voir le fichier

@ -687,7 +687,7 @@ section {
@import 'utils';
@import 'popup';
@import 'snow';
// @import 'snow';
.sidebar {
top: 12px;

+ 1
- 1
src/webviews/apps/scss/welcome.scss Voir le fichier

@ -563,7 +563,7 @@ section {
}
@import 'utils';
@import 'snow';
// @import 'snow';
.sidebar {
margin-right: 14px;

+ 2
- 2
src/webviews/apps/settings/settings.html Voir le fichier

@ -156,13 +156,13 @@
</template>
<body class="preload">
<canvas class="snow"></canvas>
<!-- <canvas class="snow"></canvas>
<img
class="snow__trigger snow__trigger--fixed-right snow__trigger--flipped"
title="Let it snow — Happy Holidays!"
alt="Let it snow — Happy Holidays!"
src="#{root}/images/snowman.png"
/>
/> -->
<div class="container">
<header>

+ 2
- 2
src/webviews/apps/settings/settings.ts Voir le fichier

@ -4,7 +4,7 @@ import '../scss/settings.scss';
import { IpcMessage, onIpcNotification, SettingsDidRequestJumpToNotificationType, SettingsState } from '../../protocol';
import { AppWithConfig } from '../shared/appWithConfigBase';
import { DOM } from '../shared/dom';
import { Snow } from '../shared/snow';
// import { Snow } from '../shared/snow';
export class SettingsApp extends AppWithConfig<SettingsState> {
private _scopes: HTMLSelectElement | null = null;
@ -229,4 +229,4 @@ export class SettingsApp extends AppWithConfig {
}
new SettingsApp();
requestAnimationFrame(() => new Snow());
// requestAnimationFrame(() => new Snow());

+ 2
- 2
src/webviews/apps/shared/appBase.ts Voir le fichier

@ -65,8 +65,8 @@ export abstract class App {
this.bindDisposables = this.onBind?.();
}
protected log(message: string) {
console.log(message);
protected log(_message: string) {
// console.log(message);
}
protected getState(): State {

+ 2
- 2
src/webviews/apps/welcome/welcome.html Voir le fichier

@ -11,13 +11,13 @@
</head>
<body class="preload">
<canvas class="snow"></canvas>
<!-- <canvas class="snow"></canvas>
<img
class="snow__trigger snow__trigger--fixed-right snow__trigger--flipped"
title="Let it snow — Happy Holidays!"
alt="Let it snow — Happy Holidays!"
src="#{root}/images/snowman.png"
/>
/> -->
<div class="container">
<header>

+ 2
- 2
src/webviews/apps/welcome/welcome.ts Voir le fichier

@ -3,7 +3,7 @@
import '../scss/welcome.scss';
import { WelcomeState } from '../../protocol';
import { AppWithConfig } from '../shared/appWithConfigBase';
import { Snow } from '../shared/snow';
// import { Snow } from '../shared/snow';
export class WelcomeApp extends AppWithConfig<WelcomeState> {
constructor() {
@ -13,4 +13,4 @@ export class WelcomeApp extends AppWithConfig {
}
new WelcomeApp();
requestAnimationFrame(() => new Snow());
// requestAnimationFrame(() => new Snow());

Chargement…
Annuler
Enregistrer