Skip to content
Merged

Deploy #1772

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@
>
{#if chore}
{#if chore.icon}
<IconifyWrapper icon={chore.icon} />
{#if typeof chore.icon === 'string'}
<ParsedText text={chore.icon} />
{:else}
<IconifyWrapper icon={chore.icon} />
{/if}
{/if}
{:else}
<ParsedText text={task.shortName} />
Expand Down
9 changes: 8 additions & 1 deletion apps/frontend/components/tooltips/task/TooltipTaskRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@
white-space: nowrap;
}
.status {
--scale: 1;

//padding-left: 0;
//padding-right: 0;
text-align: center;
white-space: nowrap;
width: 1rem;
}
.error-text {
Expand Down Expand Up @@ -168,7 +171,11 @@
]}"
>
{#if chore?.icon}
<IconifyWrapper icon={chore.icon} scale="1" />
{#if typeof chore.icon === 'string'}
<ParsedText text={chore.icon} />
{:else}
<IconifyWrapper icon={chore.icon} />
{/if}
{:else}
<IconifyWrapper
icon={[
Expand Down
28 changes: 26 additions & 2 deletions apps/frontend/data/tasks/11-midnight/12-0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const midChores12_0: Task = {
{
key: 'showdownNormal',
name: 'Showdown: Normal',
icon: uiIcons.squareN,
icon: 'S:squareN:',
minimumLevel: 80,
questReset: DbResetType.Weekly,
questResetForced: true,
Expand Down Expand Up @@ -313,7 +313,7 @@ export const midChores12_0: Task = {
{
key: 'showdownHeroic',
name: 'Showdown: Heroic',
icon: uiIcons.squareH,
icon: 'S:squareH:',
minimumLevel: 90,
questReset: DbResetType.Weekly,
questResetForced: true,
Expand All @@ -322,5 +322,29 @@ export const midChores12_0: Task = {
96718, // Showdown on Naigtal: Heroic
],
},
{
key: 'naigtalValWorldBossNormal',
name: 'Naigtal/Val World Boss [N]',
icon: 'B:squareN:',
minimumLevel: 80,
questReset: DbResetType.Weekly,
questResetForced: true,
questIds: [
96522, // Naigtal
96295, // Val
],
},
{
key: 'naigtalValWorldBossHeroic',
name: 'Naigtal/Val World Boss [H]',
icon: 'B:squareH:',
minimumLevel: 90,
questReset: DbResetType.Weekly,
questResetForced: true,
questIds: [
96942, // Naigtal
96941, // Val
],
},
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
libraryMaybe ||
iconStrings[dataString] ||
iconStrings.question,
scale: '0.75',
scale: 'var(--scale, 0.75)',
dropShadow,
},
});
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/types/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type Task = {
export type Chore = {
key: string;
name: string;
icon?: Icon;
icon?: Icon | string;
accountWide?: boolean;
alwaysStarted?: boolean;
noAlone?: boolean;
Expand Down
13 changes: 13 additions & 0 deletions apps/frontend/user-home/components/world-quests/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ export const zoneData: WorldQuestZone[] = [
slug: 'midnight',
mapName: '11-midnight/quelthalas',
children: [
{
id: 2600,
name: 'Naigtal',
slug: 'naigtal',
mapName: '11-midnight/naigtal',
},
{
id: 2599,
name: 'Val',
slug: 'val',
mapName: '11-midnight/val',
},
null,
{
id: 2395,
name: 'Eversong Woods',
Expand Down
Loading