Skip to content

Commit

Permalink
Final tweaks for first stab at renaming from sod to classic. Everythi…
Browse files Browse the repository at this point in the history
…ng seems to be working now.
  • Loading branch information
ericbtaylorjr committed Nov 20, 2024
1 parent bb7fa0c commit 2f83b9a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
artifacts: |
wowsimcli-amd64-linux.zip
wowsimcli-windows.exe.zip
wowsimsod-amd64-darwin.zip
wowsimsod-arm64-darwin.zip
wowsimsod-amd64-linux.zip
wowsimsod-windows.exe.zip
wowsimclassic-amd64-darwin.zip
wowsimclassic-arm64-darwin.zip
wowsimclassic-amd64-linux.zip
wowsimclassic-windows.exe.zip
2 changes: 1 addition & 1 deletion sim/web/dist.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import (
"embed"
)

//go:embed sod
//go:embed classic
var FS embed.FS
2 changes: 1 addition & 1 deletion ui/core/components/sim_title_dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class SimTitleDropdown extends Component {
<div className="sim-link-content">
<img src={this.getSimIconPath(data)} className="sim-link-icon" />
<div className="d-flex flex-column">
<span className="sim-link-label text-white">WoWSims - Season of Discovery</span>
<span className="sim-link-label text-white">WoWSims - Classic</span>
<span className="sim-link-title">{label}</span>
{this.launchStatusLabel(data)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/core/components/social_links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class SocialLinks extends Component {

static buildGitHubLink(): Element {
const anchor = (
<a href="https://github.com/wowsims/sod" target="_blank" className="github-link link-alt" dataset={{ tippyContent: 'Contribute on GitHub' }}>
<a href="https://github.com/wowsims/classic" target="_blank" className="github-link link-alt" dataset={{ tippyContent: 'Contribute on GitHub' }}>
<i className="fab fa-github fa-lg" />
</a>
);
Expand Down
4 changes: 2 additions & 2 deletions ui/core/constants/other.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const CURRENT_PHASE = Phase.Phase3;

export const LEVEL_BRACKETS = [25, 40, 50, 60];

// Github pages serves our site under the /sod directory (because the repo name is wotlk)
export const REPO_NAME = 'sod';
// Github pages serves our site under the /classic directory
export const REPO_NAME = 'classic';

// Get 'elemental_shaman', the pathname part after the repo name
const pathnameParts = window.location.pathname.split('/');
Expand Down
2 changes: 1 addition & 1 deletion ui/core/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export enum SimSettingCategories {
UISettings, // # iterations, EP weights, filters, etc
}

const WASM_CONCURRENCY_STORAGE_KEY = `sod_wasmconcurrency`;
const WASM_CONCURRENCY_STORAGE_KEY = `classic_wasmconcurrency`;

// Core Sim module which deals only with api types, no UI-related stuff.
export class Sim {
Expand Down
2 changes: 1 addition & 1 deletion ui/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<link rel="icon" href="/classic/assets/favicon_io/favicon.ico" type="image/x-icon" />

<meta name="description" content="Simulations for World of Warcraft® Classic Season of Discovery." />
<meta name="description" content="Simulations for World of Warcraft® Classic." />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="preload" href="/classic/assets/database/db.json" as="fetch" crossorigin="anonymous" />
Expand Down
4 changes: 2 additions & 2 deletions ui/raid/raid_sim_ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface RaidSimConfig {
}

const extraKnownIssues: Array<string> = [
//'We\'re still missing implementations for many specs. If you\'d like to help us out, check out our <a href="https://github.com/wowsims/sod">Github project</a> or <a href="https://discord.gg/jJMPr9JWwx">join our discord</a>!',
//'We\'re still missing implementations for many specs. If you\'d like to help us out, check out our <a href="https://github.com/wowsims/classic">Github project</a> or <a href="https://discord.gg/jJMPr9JWwx">join our discord</a>!',
];

export class RaidSimUI extends SimUI {
Expand Down Expand Up @@ -241,7 +241,7 @@ export class RaidSimUI extends SimUI {

// Returns the actual key to use for local storage, based on the given key part and the site context.
getStorageKey(keyPart: string): string {
return '__sod_raid__' + keyPart;
return '__classic_raid__' + keyPart;
}

getSavedRaidStorageKey(): string {
Expand Down

0 comments on commit 2f83b9a

Please sign in to comment.