Skip to content

Commit eac782b

Browse files
authored
feat(quest-page): add auto expand and tab filters (#1168)
* tech(quests): remove QuestsSummaryTableWrapper and implement directly in page * feat(quest-page): add filtering * tech(quest-page): add loading for quest state * tech(quest-page): remove tab changes * tech(quest-page): add details styles * tech(quest-page): 3 row columns when a quest is selected * tech(quest-page): compare with visibleQuestId for border * tech(quest-page): add loading container * tech(quest-page): add missing styles * fix(quest-page): use searchFilteredQuests for suggested titles
1 parent 642ee3e commit eac782b

File tree

4 files changed

+176
-186
lines changed

4 files changed

+176
-186
lines changed

src/frontend/screens/Quests/components/QuestsSummaryTableWrapper/index.module.scss

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/frontend/screens/Quests/components/QuestsSummaryTableWrapper/index.tsx

Lines changed: 0 additions & 163 deletions
This file was deleted.

src/frontend/screens/Quests/index.module.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '@hyperplay/ui/utilities/_variables.scss';
2+
13
.root {
24
display: grid;
35
grid-template-columns: 1fr auto;
@@ -35,11 +37,38 @@
3537
width: 800px;
3638
max-width: unset !important;
3739

40+
background-color: var(--color-neutral-800);
41+
border: none;
42+
3843
@media (max-width: 1300px) {
3944
width: 540px;
4045
}
4146
}
4247

48+
.tableContainer {
49+
background-color: var(--color-neutral-800);
50+
overflow-y: hidden;
51+
}
52+
53+
.questSelectedLayout {
54+
@include for-big-desktop-up {
55+
grid-template-columns: repeat(3, minmax(0, 1fr));
56+
}
57+
}
58+
59+
.loadingContainer {
60+
padding: var(--space-2lg);
61+
height: 100%;
62+
63+
display: flex;
64+
justify-content: center;
65+
align-items: center;
66+
}
67+
68+
.loadingSpinner {
69+
font-size: var(--text-3xl);
70+
}
71+
4372
.toast {
4473
position: fixed;
4574
bottom: 24px;

0 commit comments

Comments
 (0)