Skip to content

Commit

Permalink
0.6.7 (2020-03-18)
Browse files Browse the repository at this point in the history
## 0.6.7 (2020-03-18)

- add traditional chinese support (Garena)
- add simplified chinese support (Tencent)
- add seperate ui language
  - polish
- add search placeholder above stat list
- add stash highlight keybinding (#350)
- add stash navigation mode (disabled, normal, inverse)
- add alt modifier to bookmark hotkeys (#362)
- add unique select all (#360)
- update data to 3.10.0c
- fix uncaught exception on alert
  • Loading branch information
Kyusung4698 committed Mar 18, 2020
1 parent 59770fe commit 5b32d4a
Show file tree
Hide file tree
Showing 37 changed files with 64,248 additions and 453 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
## 0.6.7 (2020-03-18)

- add traditional chinese support
- add simplified chinese support
- add seperate ui language (polish)
- add traditional chinese support (Garena)
- add simplified chinese support (Tencent)
- add seperate ui language
- polish
- add search placeholder above stat list
- add stash highlight keybinding (#350)
- add stash navigation mode (disabled, normal, inverse)
- add alt modifier to bookmark hotkeys (#362)
- add unique select all (#360)
- update data to 3.10.0c
- fix uncaught exception on alert

## 0.6.6 (2020-03-17)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PoE Overlay 0.6.6
# PoE Overlay 0.6.7

An Overlay for Path of Exile. The ***core aspect*** is to blend in with the game. Built with Electron and Angular.

Expand Down Expand Up @@ -87,11 +87,11 @@ These instructions will set you up to run and enjoy the overlay.
#### Installing

1. Head over to [Releases](https://github.com/Kyusung4698/PoE-Overlay/releases) and download one of the following files
1. `poe-overlay-Setup-0.6.6.exe` to install locally. This supports auto update/ auto launch.
2. `poe-overlay-0.6.6.exe` portable version. This does not support auto update/ auto launch.
1. `poe-overlay-Setup-0.6.7.exe` to install locally. This supports auto update/ auto launch.
2. `poe-overlay-0.6.7.exe` portable version. This does not support auto update/ auto launch.
2. Run either of your downloaded file
3. Start Path of Exile
4. Wait until you can see `PoE Overlay 0.6.6` in the bottom left corner
4. Wait until you can see `PoE Overlay 0.6.7` in the bottom left corner
5. Hit `f7` and set `Language` and `League` to meet your game settings

#### Shortcuts
Expand All @@ -113,8 +113,8 @@ You can change these shortcuts in the user settings menu.
| `f6` | Toggle DND
| `f7` | Opens the user settings menu
| `f8` | Exits overlay
| `numpad1` | Open `https://www.poelab.com/`
| `numpad2` | Open `https://wraeclast.com/`
| `alt + num1` | Open `https://www.poelab.com/`
| `alt + num2` | Open `https://wraeclast.com/`
| `esc` | Close latest dialog
| `space` | Close all dialogs

Expand Down
106 changes: 106 additions & 0 deletions overlay.babel
Original file line number Diff line number Diff line change
Expand Up @@ -2655,6 +2655,59 @@
</translation>
</translations>
</concept_node>
<concept_node>
<name>stats-unique-check-all</name>
<definition_loaded>false</definition_loaded>
<description></description>
<comment></comment>
<default_text></default_text>
<translations>
<translation>
<language>de-DE</language>
<approved>false</approved>
</translation>
<translation>
<language>en-US</language>
<approved>false</approved>
</translation>
<translation>
<language>es-ES</language>
<approved>false</approved>
</translation>
<translation>
<language>fr-FR</language>
<approved>false</approved>
</translation>
<translation>
<language>ko-KR</language>
<approved>false</approved>
</translation>
<translation>
<language>pl-PL</language>
<approved>false</approved>
</translation>
<translation>
<language>pt-BR</language>
<approved>false</approved>
</translation>
<translation>
<language>ru-RU</language>
<approved>false</approved>
</translation>
<translation>
<language>th-TH</language>
<approved>false</approved>
</translation>
<translation>
<language>zh-CHS</language>
<approved>false</approved>
</translation>
<translation>
<language>zh-CHT</language>
<approved>false</approved>
</translation>
</translations>
</concept_node>
<concept_node>
<name>switch</name>
<definition_loaded>false</definition_loaded>
Expand Down Expand Up @@ -4750,6 +4803,59 @@
</translation>
</translations>
</concept_node>
<concept_node>
<name>search</name>
<definition_loaded>false</definition_loaded>
<description></description>
<comment></comment>
<default_text></default_text>
<translations>
<translation>
<language>de-DE</language>
<approved>false</approved>
</translation>
<translation>
<language>en-US</language>
<approved>false</approved>
</translation>
<translation>
<language>es-ES</language>
<approved>false</approved>
</translation>
<translation>
<language>fr-FR</language>
<approved>false</approved>
</translation>
<translation>
<language>ko-KR</language>
<approved>false</approved>
</translation>
<translation>
<language>pl-PL</language>
<approved>false</approved>
</translation>
<translation>
<language>pt-BR</language>
<approved>false</approved>
</translation>
<translation>
<language>ru-RU</language>
<approved>false</approved>
</translation>
<translation>
<language>th-TH</language>
<approved>false</approved>
</translation>
<translation>
<language>zh-CHS</language>
<approved>false</approved>
</translation>
<translation>
<language>zh-CHT</language>
<approved>false</approved>
</translation>
</translations>
</concept_node>
<concept_node>
<name>selected</name>
<definition_loaded>false</definition_loaded>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poe-overlay",
"version": "0.6.6",
"version": "0.6.7",
"private": true,
"description": "A Overlay for Path of Exile. Built with Electron and Angular.",
"main": "main.js",
Expand Down
4 changes: 2 additions & 2 deletions src/app/modules/bookmark/bookmark.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export class BookmarkModule implements FeatureModule {
bookmarks: [
{
url: 'https://www.poelab.com/',
shortcut: 'num1'
shortcut: 'Alt + num1'
},
{
url: 'https://wraeclast.com/',
shortcut: 'num2'
shortcut: 'Alt + num2'
}
]
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<mat-label>{{'evaluate.translate-language' | translate}}</mat-label>
<mat-select [(value)]="settings.evaluateTranslatedItemLanguage">
<mat-option *ngFor="let language of languages.keys" [value]="language">
{{languages.values[language]}}
{{'settings.languages.' + (languages.values[language] | lowercase) | translate}}
</mat-option>
</mat-select>
</mat-form-field>
Expand Down Expand Up @@ -78,8 +78,16 @@
</mat-select>
</mat-form-field>
</div>
</mat-card>

<label class="label"> {{'evaluate.stats' | translate}} </label>
<mat-card>
<mat-label> {{'evaluate.stats' | translate}} </mat-label>
<div class="toggle">
<mat-slide-toggle [checked]="settings.evaluateQueryDefaultStatsUnique"
(change)="settings.evaluateQueryDefaultStatsUnique = $event.checked">
{{'evaluate.stats-unique-check-all' | translate}}
</mat-slide-toggle>
</div>
<app-select-list [items]="stats$ | async" (itemsChange)="onStatsChange($event)">
<ng-template let-item>
<span class="stat" [title]="item.text">
Expand All @@ -93,6 +101,7 @@
<button mat-button (click)="onExportStats()">{{'evaluate.stats-export' | translate}}</button>
</div>
</mat-card>

<mat-card>
<mat-label> {{'evaluate.search.modifier' | translate}} </mat-label>
<label class="label"> {{'evaluate.search.modifier-range' | translate}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface EvaluateUserSettings extends UserSettings {
evaluateQueryDefaultMiscs: boolean;
evaluateQueryDefaultType: boolean;
evaluateQueryDefaultStats: any;
evaluateQueryDefaultStatsUnique: boolean;
evaluateQueryOnline: boolean;
evaluateQueryIndexedRange: ItemSearchIndexed;
evaluateModifierMinRange: number;
Expand Down Expand Up @@ -142,15 +143,20 @@ export class EvaluateSettingsComponent implements UserSettingsComponent {
const stats = this.statsProvider.provide(type);
Object.getOwnPropertyNames(stats).forEach(tradeId => {
const stat = stats[tradeId];
const predicate = Object.getOwnPropertyNames(stat.text[this.settings.language])[0];
const key = `${type}.${tradeId}`;
const item: StatSelectListItem = {
key,
type,
text: this.statsService.translate(stat, predicate, this.settings.language),
selected: !!this.settings.evaluateQueryDefaultStats[key],
};
items.push(item);
const localStat = stat.text[this.settings.language];
if (localStat) {
const predicate = Object.getOwnPropertyNames(localStat)[0];
const key = `${type}.${tradeId}`;
const item: StatSelectListItem = {
key,
type,
text: this.statsService.translate(stat, predicate, this.settings.language),
selected: !!this.settings.evaluateQueryDefaultStats[key],
};
items.push(item);
} else {
console.warn(`Stat with ${tradeId} not found in ${this.settings.language}.`);
}
});
});
this.stats$.next(items);
Expand Down
3 changes: 2 additions & 1 deletion src/app/modules/evaluate/evaluate.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class EvaluateModule implements FeatureModule {
evaluateQueryDefaultItemLevel: false,
evaluateQueryDefaultLinks: 5,
evaluateQueryDefaultMiscs: true,
evaluateQueryDefaultType: true,
evaluateQueryDefaultType: false,
evaluateQueryDefaultStats: {
'pseudo.pseudo_total_elemental_resistance': true,
'pseudo.pseudo_total_resistance': true,
Expand All @@ -49,6 +49,7 @@ export class EvaluateModule implements FeatureModule {
'explicit.stat_1479533453': true,
'enchant.stat_290368246': true
},
evaluateQueryDefaultStatsUnique: true,
evaluateQueryIndexedRange: ItemSearchIndexed.UpTo3DaysAgo,
evaluateQueryOnline: true,
evaluateModifierMinRange: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,14 @@ export class EvaluateQueryItemProvider {
}

if (item.stats) {
queryItem.stats = item.stats.map(stat => {
const key = `${stat.type}.${stat.tradeId}`;
return settings.evaluateQueryDefaultStats[key] ? stat : undefined;
});
if (item.rarity === ItemRarity.Unique && settings.evaluateQueryDefaultStatsUnique) {
queryItem.stats = item.stats;
} else {
queryItem.stats = item.stats.map(stat => {
const key = `${stat.type}.${stat.tradeId}`;
return settings.evaluateQueryDefaultStats[key] ? stat : undefined;
});
}
}

return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,19 @@ export class MapSettingsComponent implements UserSettingsComponent {

itemsContains[key] = true;

const predicates = Object.getOwnPropertyNames(stat.text[this.settings.language]);
const predicate = predicates.find(x => (x[0] === 'N' && stat.negated) || !stat.negated);
const item: SelectListItem = {
key,
text: this.statsService.translate(stat, predicate, this.settings.language),
selected: !!this.settings.mapInfoWarningStats[key],
};
items.push(item);
const localStat = stat.text[this.settings.language];
if (localStat) {
const predicates = Object.getOwnPropertyNames(localStat);
const predicate = predicates.find(x => (x[0] === 'N' && stat.negated) || !stat.negated);
const item: SelectListItem = {
key,
text: this.statsService.translate(stat, predicate, this.settings.language),
selected: !!this.settings.mapInfoWarningStats[key],
};
items.push(item);
} else {
console.warn(`Stat with ${tradeId} not found in ${this.settings.language}.`);
}
});
});
this.stats$.next(items);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
</mat-card>
<mat-card>
<mat-label>{{'misc.stash' | translate}}</mat-label>
<div class="toggle">
<mat-slide-toggle [checked]="settings.miscStashNavigation" (change)="settings.miscStashNavigation = $event.checked">
{{'misc.navigation' | translate}} (CTRL + SCROLL)
</mat-slide-toggle>
<mat-slide-toggle [checked]="settings.miscStashHighlight" (change)="settings.miscStashHighlight = $event.checked">
{{'misc.highlight' | translate}} (ALT + F)
</mat-slide-toggle>
</div>
<mat-form-field>
<mat-label>{{'misc.navigation' | translate}} (CTRL + SCROLL)</mat-label>
<mat-select [(value)]="settings.miscStashNavigationMode">
<mat-option *ngFor="let navigation of navigations.keys" [value]="navigation">
{{navigations.values[navigation]}}
</mat-option>
</mat-select>
</mat-form-field>
<app-accelerator [label]="'misc.highlight' | translate" [(value)]="settings.miscStashHighlightKeybinding">
</app-accelerator>
</mat-card>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
flex-wrap: nowrap;

> * {
width: 50%;
width: 25%;
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { UserSettings, UserSettingsComponent } from 'src/app/layout/type';
import { EnumValues } from '@app/class';


export enum MiscStashNavigation {
Disabled = 0,
Normal = 1,
Inverse = 2
}

export interface MiscUserSettings extends UserSettings {
miscStashNavigation: boolean;
miscStashHighlight: boolean;
miscStashNavigationMode: MiscStashNavigation;
miscStashHighlightKeybinding: string;
miscWikiKeybinding: string;
miscWikiExternalKeybinding: string;
miscPoedbKeybinding: string;
Expand All @@ -17,6 +25,8 @@ export interface MiscUserSettings extends UserSettings {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class MiscSettingsComponent implements UserSettingsComponent {
public navigations = new EnumValues(MiscStashNavigation);

public settings: MiscUserSettings;

public load(): void {
Expand Down
Loading

0 comments on commit 5b32d4a

Please sign in to comment.