Skip to content

Commit

Permalink
Significant milestone cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaslin committed Jun 30, 2024
1 parent cc8da12 commit 17d852b
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 410 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d2-checklist",
"version": "24.2.3",
"version": "24.3.0",
"manifest": "226342.24.06.19.1730-2-bnet.56014",
"license": "MIT",
"scripts": {
Expand Down
36 changes: 0 additions & 36 deletions src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,42 +154,6 @@
</mat-card-content>
</mat-card>
</div>
<div *ngIf="today.publicMilestones.strikes||today.publicMilestones.crucible">
<mat-card *ngIf="today.publicMilestones.strikes as strikes">
<mat-card-header>
<mat-card-title>Strike Playlist <span *ngIf="strikes.doubled" class="warn-text pad-left">Double ranks!</span></mat-card-title>
</mat-card-header>
<mat-card-content>
<mat-list *ngIf="strikes.activities[0] as strike">
<mat-list-item *ngFor="let n of strike.modifiers">
<span mat-list-icon class="list-icon" [class.invert]="n.icon.endsWith('png')"
[class.brighten]="n.icon.endsWith('jpg')" *ngIf="n.icon"
[style.background-image]="'url(//www.bungie.net' + n.icon + ')'"></span>
<div mat-line [matTooltip]="n.desc"> {{n.name}}
<span class="tiny" *ngIf="debugmode|async">{{n.hash}}</span>
</div>
</mat-list-item>
</mat-list>
</mat-card-content>
</mat-card>
<mat-card *ngIf="today.publicMilestones.crucible as crucible">
<mat-card-header>
<mat-card-title>Crucible <span *ngIf="crucible.doubled" class="warn-text pad-left">Double ranks!</span></mat-card-title>
</mat-card-header>
<mat-card-content>
<mat-list>
<mat-list-item *ngFor="let n of crucible.activities ">
<span mat-list-icon class="list-icon" [class.invert]="n.icon.endsWith('png')"
[class.brighten]="n.icon.endsWith('jpg')" *ngIf="n.icon"
[style.background-image]="'url(//www.bungie.net' + n.icon + ')'"></span>
<div mat-line> {{n.name}}
<span class="tiny" *ngIf="debugmode|async">{{n.hash}}</span>
</div>
</mat-list-item>
</mat-list>
</mat-card-content>
</mat-card>
</div>
<div>
<mat-card *ngIf="today.weeklyDungeon">
<mat-card-header>
Expand Down
9 changes: 1 addition & 8 deletions src/app/service/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ export interface ItemPerks {

export interface PublicMilestonesAndActivities {
publicMilestones: PublicMilestone[];
crucible: PublicMilestone;
strikes: PublicMilestone;
nightfall: PublicMilestone;
weekStart: Date;
}
Expand Down Expand Up @@ -1339,14 +1337,9 @@ export class Const {

public static readonly HIDE_MILESTONES: string[] = [
'1960571846', '2092845811', '2441610527', '3044632693', // daily focus for Guardian Games
'534869653', // xur
'3341030123', // rewiring the light
'243742733', // For the Light… Against the Light 243742733
'3581618338', // Master class - guardian games
// '3031052508','2953722265','3632712541' // battlegrounds
'4043054273', // Sweetness and Light for FotL
'1390643273', // Sweetness and Light for FotL
'1719934518', // Dawning Duty
'1194402836', // Astral Seas
];

public static readonly PLATFORMS_ARRAY = [
Expand Down
Loading

0 comments on commit 17d852b

Please sign in to comment.