Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bugs #536

Merged
merged 38 commits into from
Apr 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
567e850
Easier Theme Selector
dragoonDorise Apr 14, 2023
ada388f
EmuDeck wip
dragoonDorise Apr 14, 2023
3a21513
Deck Theme
dragoonDorise Apr 14, 2023
979897f
Merge branch 'master' into master
dragoonDorise Apr 14, 2023
3ea3a1d
EmuDeck theme
dragoonDorise Apr 16, 2023
de0a447
Opacity
dragoonDorise Apr 16, 2023
063df1c
small fix setttings
dragoonDorise Apr 16, 2023
7ddca78
font
dragoonDorise Apr 16, 2023
c763a10
Fix routing issue (#1)
cbartondock Apr 16, 2023
4705a8c
EmuDeck Theme + fixes Classic and Deck theme
dragoonDorise Apr 17, 2023
b42ec2b
Merge branch 'master' into master
dragoonDorise Apr 17, 2023
b4fe764
Merge branch 'master' into master
cbartondock Apr 17, 2023
cc5ca6d
new bg + fix navarea buttons
dragoonDorise Apr 17, 2023
e892e8a
Merge branch 'master' into master
cbartondock Apr 17, 2023
9ac9d3c
Merge branch 'master' of https://github.com/dragoonDorise/steam-rom-m…
dragoonDorise Apr 17, 2023
691f3f3
Merge branch 'SteamGridDB:master' into master
dragoonDorise Apr 17, 2023
942599e
Merge branch 'upstream-master'
dragoonDorise Apr 25, 2023
e930087
Preview Screen Text + Lens Icon
dragoonDorise Apr 25, 2023
f7979a9
typo
dragoonDorise Apr 25, 2023
41a4362
streamlined button
dragoonDorise Apr 25, 2023
f9b427d
Merge branch 'upstream-master'
dragoonDorise Apr 25, 2023
ce2a6b2
add (bad) styling for required fields (#2)
cbartondock Apr 26, 2023
2332bcc
comma
dragoonDorise Apr 26, 2023
eeb1723
nicer colors
dragoonDorise Apr 26, 2023
d7792cd
Merge branch 'upstream-master'
dragoonDorise Apr 26, 2023
fbe84a4
small fixie
dragoonDorise Apr 26, 2023
203a312
Merge branch 'upstream-master'
dragoonDorise Apr 26, 2023
c3c7d60
Merge branch 'upstream-master'
dragoonDorise Apr 26, 2023
08b1c4c
Fix update alert
dragoonDorise Apr 26, 2023
9bbf1c6
fix chunky boy
dragoonDorise Apr 26, 2023
2db8fca
Merge branch 'upstream-master'
dragoonDorise Apr 26, 2023
17c8f0d
label switcharoo
dragoonDorise Apr 26, 2023
de9255f
Merge branch 'upstream-master'
dragoonDorise Apr 28, 2023
d058daf
+ Log report + Exceptions
dragoonDorise Apr 28, 2023
47ac484
Fix logget
dragoonDorise Apr 29, 2023
28f3c7f
Merge branch 'SteamGridDB:master' into master
dragoonDorise Apr 29, 2023
04951be
Fix exceptions?
dragoonDorise Apr 29, 2023
170d103
Merge branch 'SteamGridDB:master' into master
dragoonDorise Apr 29, 2023
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
2 changes: 1 addition & 1 deletion src/renderer/components/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class AppComponent {

// EmuDeck special navigation
this.router.events.subscribe((val) => {
if (this.router.url === '/logger' && appSettings.theme === 'EmuDeck' || this.router.url === '/' && appSettings.theme === 'EmuDeck') {
if (this.router.url === '/logger' && appSettings.theme === 'EmuDeck' || this.router.url === '/user-exceptions' && appSettings.theme === 'EmuDeck' || this.router.url === '/' && appSettings.theme === 'EmuDeck') {
this.shouldHideComponent = true;
} else {
this.shouldHideComponent = false;
Expand Down
152 changes: 129 additions & 23 deletions src/renderer/styles/themes.global.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "mixins";

:root {
--color-app-loading-spinner: #31a0f4

Expand Down Expand Up @@ -397,34 +399,20 @@
background-size: cover;
}

navarea nav{
&.EmuDeck.EmuDeck.EmuDeck.EmuDeck.EmuDeck navarea nav{
justify-content: end;
margin: 0 10px;

nav-link:nth-child(6),
nav-expand:nth-child(4),
nav-link:nth-child(6)
{
display: none;
}

nav-link{
nav-link, nav-expand .items nav-link{
display: inline-flex;

padding: var(--padding-click-button);
border-radius: var(--radius-click-button);
white-space: nowrap;
cursor: pointer;
border-width: 1px;
border-style: solid;

align-items: center;


color: var(--color-click-button-text);
border-color: var(--color-click-button-border);
background-color: #666666;

fill: var(--color-click-button-text);
@include button();
@include clickButtonColor(click-button);


margin-left: 18px;
Expand All @@ -437,6 +425,7 @@

fill: var(--color-click-button-text-hover);
}


&:active {
color: var(--color-click-button-text-active);
Expand All @@ -450,8 +439,20 @@
}
}

nav-expand{
margin-left: 18px;
nav-link{
margin-left:0 !important;
&:before{
display: none !important;
}
}
}

}



navarea{
background: transparent;
display: flex;
Expand Down Expand Up @@ -563,10 +564,115 @@
}
}

&.EmuDeck.EmuDeck.EmuDeck.EmuDeck user-exceptions{
grid-template-areas:
"description description"
"upperMenu upperMenu"
"exceptions exceptions"
"menu menu";

grid-template-rows: auto auto 1fr auto;

.upperMenu{
max-width: 94vw;
width: 100%;
margin: 0 auto;
.search{
justify-content: left;
}
.searchExceptions,.searchExceptions:hover{
margin: 0;
background: #fff;
color: #444
}
}

.exception-entry{
background-color: rgb(255, 255, 255);
padding: 10px 14px;
margin-bottom: 10px;
margin-right: 10px;
border-radius: 4px;
transition: 0.8s;
.text{
color: #444;
}
.inputContainer{
margin-bottom: 0;
& > div:nth-child(4){
display: none
}
}
}

//Only Emudeck
.description{
grid-area: description;
color: #fff;
max-width: 94vw;
width: 100%;
margin: 0 auto;
overflow: hidden;
h1{
line-height: 1.25;
margin-top:0;
margin: var(--margin-markdown-hx);
padding-bottom: 0.3em;
font-size: var(--font-markdown-h1);
font-family: var(--font-family-markdown-h1);
color: var(--color-markdown-h1);
}
p{
color: var(--color-markdown-text);
}

}

markdown{
display: none
}

.userExceptions{
max-width: 94vw;
width: 100%;
margin: 0 auto;
.addItem{
display: none
}
label{
display: none;
}
label + div{
display: flex;
justify-content: space-between;
flex-wrap: wrap
}
> div > div{
margin-bottom: 16px;
border-bottom: 1px solid var(--color-click-button-background);
max-width: 40vw;
width: 100%;
}
}

.menu{
display: flex;
justify-content: end;
padding: 28px;
background: transparent;
border: 0;
nav-link{
margin: 0 0.25em;
@include button();
@include clickButtonColor(click-button);
}
}
}

&.EmuDeck.EmuDeck log{
grid-template-areas:
"messages messages"
"messages messages"
"messages bugreport"
"messages bugreport"
"menu menu";
.menu{
margin: 0;
Expand All @@ -580,7 +686,7 @@
background: rgba(0,0,0,.6)
}

.bugreport, .bugreportdocs{
.bugreportdocs{
display: none
}
}
Expand Down Expand Up @@ -797,7 +903,7 @@
--color-ng-toggle-button-fill-active-hover: var(--color--accent);
--color-ng-toggle-button-fill-hover: #2f2f2f;
--color-ng-toggle-button-text: #a0a0a0;
--color-parsers-menu-background: #050505;
--color-parsers-menu-background: transparent;
--color-parsers-user-form-background: rgba(29, 29, 29, 0.7);
--color-parsers-user-form-scrollbar-thumb: rgba(80, 80, 80, 0.5);
--color-parsers-user-form-scrollbar-track: rgba(80, 80, 80, 0.3);
Expand Down
1 change: 1 addition & 0 deletions src/renderer/styles/user-exceptions.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

grid-template-columns: 1fr 1fr;
grid-template-rows: auto 1fr auto;


.upperMenu {
grid-area: upperMenu;
Expand Down
10 changes: 9 additions & 1 deletion src/renderer/templates/user-exceptions.component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<div class="description only-emudeck">
<h1>Excluded Games & Exceptions</h1>
<p>Here you can see the games you've excluded on the Preview page in case you want to add them back</p>
</div>

<div class= "upperMenu">
<div class="search">
<ng-text-input class="searchExceptions" placeholder="Search Exceptions" [(ngModel)]="filterValue"></ng-text-input>
Expand All @@ -13,7 +18,7 @@
<div [formGroup]="exceptionsForm">
<div formArrayName="items"
*ngFor="let item of exceptionsForm.get('items').controls; let i=index;">
<div [formGroupName]="i" *ngIf="(item.controls['oldTitle'].value | fuzzyTest: filterValue) ">
<div class="exception-entry" [formGroupName]="i" *ngIf="(item.controls['oldTitle'].value | fuzzyTest: filterValue) ">
<div class="inputContainer">
<div class="inlineLeft">
<div class=text style="margin-right: 0.25em;">Extracted Title: </div>
Expand Down Expand Up @@ -50,5 +55,8 @@
<div class="dangerousButton" (click)=deleteAll()>{{lang.buttons.deleteAll}}</div>
<div (click)=save() *ngIf="exceptionsService.isUnsaved">{{lang.buttons.save}}</div>
<div *ngIf="exceptionsService.isUnsaved" (click)="undo()">{{lang.buttons.undoChanges}}</div>
<div class='addItem' class="only-emudeck" (click)="addItem()">{{lang.buttons.addItem}}</div>
<nav-link [routerLink]="['/parsers-list']" class="only-emudeck" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }"
>Back</nav-link>
</ng-container>
</div>