Skip to content

Commit

Permalink
relocate import/export
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed Jun 18, 2024
1 parent ef4c32a commit 3814503
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
* Removed `Enable Title from Custom Variable` setting in parsers. Custom Variables are now enabled if and only if one or more groups are set.
* New Bubble UI for user accounts UI in parsers, settings, and splash pages. No more janky brackets where they don't belong.
* New Bubble UI for steam categories.
* Relocate import/export art to options panel in Add Games (as an added bonus one can now import/export art in the emudeck theme).
### Fixed
* Don't show provider filters if section if there aren't any for that provider.

Expand Down
7 changes: 6 additions & 1 deletion src/renderer/styles/preview.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
overflow-y: auto;
overflow: hidden;
background-color: var(--color-preview-background);

--preview-image-size: 0.4;
--image-width-max: 1196px;
--image-height-max: 559px;
Expand Down Expand Up @@ -506,6 +505,12 @@
font-size: 1em;
color: var(--color-preview-text);
}
.button {
@include button();
@include clickButtonColor(click-button);
margin-bottom: 1em;
margin-right: 1em;
}
}
}

Expand Down
9 changes: 6 additions & 3 deletions src/renderer/templates/preview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Add your games to Steam</h1>
<div class="fake-btn" (click)="generatePreviewData()">Parse</div>
</div>
<div class="upperMenu" *ngIf="previewVariables.numberOfListItems > 0">
<div class="filtersButton" (click)="toggleFilters()">View Options</div>
<div class="filtersButton" (click)="toggleFilters()">Options</div>
<div class="title" *ngIf="showDetails">
<span>Fix Match</span>
</div>
Expand Down Expand Up @@ -305,6 +305,11 @@ <h1>Add your games to Steam</h1>
>Has an exception
</ng-toggle-button>
</div>
<div class="filtergroup">
<div class="filterLabel"><span>Export/Import</span></div>
<div class="button" (click)="exportSelection()" [attr.title]="'Export image choices'">{{ lang.exportSelections }}</div>
<div class="button" (click)="importSelection()" [attr.title]="'Import image choices'">{{ lang.importSelections }}</div>
</div>
</div>
<ng-container *ngVar="getCurrentViewType() as currentViewType">
<div
Expand Down Expand Up @@ -743,8 +748,6 @@ <h1>Add your games to Steam</h1>
<div class="button dangerousButton" (click)="remove()">{{ lang.removeAppList }}</div>
</div>
<div class="lowerRight">
<div class="button" (click)="exportSelection()" [attr.title]="'Export image choices'">{{ lang.exportSelections }}</div>
<div class="button" (click)="importSelection()" [attr.title]="'Import image choices'">{{ lang.importSelections }}</div>
<div class="button" (click)="showExclusions()" *ngIf="!showExcludes">{{ "Exclude Games" }}</div>
</div>
</ng-container>
Expand Down

0 comments on commit 3814503

Please sign in to comment.