chore: exclude local resource artifacts from main sync
This commit is contained in:
@@ -320,7 +320,6 @@ export function CbtPlayAppView() {
|
||||
const bookmarkQuestionIds = useMemo(() => new Set(storageState.bookmarks.map((item) => item.questionId)), [storageState.bookmarks]);
|
||||
const solvedCount = storageState.sessions.length;
|
||||
const wrongQuestionCount = storageState.wrongNotes.length;
|
||||
const bookmarkCount = storageState.bookmarks.length;
|
||||
const overallAccuracyRate = useMemo(() => {
|
||||
const totals = storageState.progressStats.reduce(
|
||||
(result, stat) => {
|
||||
@@ -334,7 +333,6 @@ export function CbtPlayAppView() {
|
||||
return totals.total > 0 ? totals.correct / totals.total : 0;
|
||||
}, [storageState.progressStats]);
|
||||
const sessionProgressPercent = activeSession ? Math.round(((currentQuestionIndex + 1) / activeSession.questionIds.length) * 100) : 0;
|
||||
const answeredCount = activeSession?.answers.filter((answer) => Boolean(answer.selectedValue)).length ?? 0;
|
||||
const deferredCount = activeSession?.answers.filter((answer) => answer.isMarked).length ?? 0;
|
||||
const submittedSession = activeSession?.submittedAt ? activeSession : null;
|
||||
const isActiveSolverSession = Boolean(activeSession && currentQuestion && activeAnswer && activeSection === 'solver');
|
||||
@@ -1244,7 +1242,16 @@ export function CbtPlayAppView() {
|
||||
</Button>
|
||||
{isSubmitted ? (
|
||||
currentQuestionIndex >= activeQuestions.length - 1 ? (
|
||||
<Button type="primary" icon={<ReloadOutlined />} onClick={() => handleRetrySession(submittedSession)}>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<ReloadOutlined />}
|
||||
onClick={() => {
|
||||
if (!submittedSession) {
|
||||
return;
|
||||
}
|
||||
handleRetrySession(submittedSession);
|
||||
}}
|
||||
>
|
||||
다시 풀기
|
||||
</Button>
|
||||
) : (
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
.test-play-app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
overflow: auto;
|
||||
@@ -13,6 +15,7 @@
|
||||
.test-play-app__hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
|
||||
align-items: start;
|
||||
gap: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
@@ -50,7 +53,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
min-height: 100%;
|
||||
min-height: 0;
|
||||
color: #f5f6f8;
|
||||
}
|
||||
|
||||
@@ -76,7 +79,8 @@
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.test-play-app {
|
||||
padding: 20px;
|
||||
min-height: 100dvh;
|
||||
padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.test-play-app__hero {
|
||||
@@ -86,4 +90,8 @@
|
||||
.test-play-app__hero-copy {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.test-play-app__spotlight .ant-card-body {
|
||||
min-height: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user