Second revision: MCP servers, shared-link AI, flashcard modes, document previews
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 30s
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 30s
Generation - Every quiz is NCLEX style; "Practice exam" writes 50 questions. - Calculation questions only when the material involves calculations (max 5 per exam). - Broad topics: the class's topics are listed in the prompt, a quick grouping call maps narrow labels onto broad ones, and leftover variants are merged. - Exact select-all count per batch; option order shuffled. - Python check: at most 3 runs, fixed problems count as passed, cosmetic remarks ignored. Assistant - Text, tool steps and cards appear in the order they happen, with paragraph breaks between steps. - Optional thinking box: fixed height, follows the newest text, can be scrolled back. - "+" opens a material picker listing recent items; items can be dragged in from class pages; shorter placeholder. MCP servers - Streamable HTTP client; encrypted headers. - Per-server instructions and switches for chat, Explain, generation and the quiz check. - Settings UI. Share links - Optional "Explain this" and "Ask about this material" per link, off by default. - Items are loaded on the server and checked against the share; no tools; rate-limited. - Migration 4 stores the switches. Study and documents - Standard flashcard mode (optionally repeat missed cards until known) next to spaced repetition. - Streak visuals restyled in the app palette. - Side by side / Original document views, with sandboxed previews of Word and PowerPoint files. Other - Built-in embedding model baked into the image; sharp stubbed if it cannot load; real load error shown in Settings. - Python runner blocks network and process modules in JavaScript too. - "View questions and answers" removed from the quiz start screen. - Docs updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ea61c882c
commit
031f7bec31
45 changed files with 2918 additions and 397 deletions
|
|
@ -456,38 +456,54 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Streak flames. The yellow-to-orange ramp is the same in both themes on purpose. */
|
||||
/* Streaks, in the app's own palette: accent ink with a highlighter (marker) sheen. */
|
||||
.streak-bar {
|
||||
background-image: linear-gradient(100deg, #fbbf24, #fb923c 35%, #ea580c 55%, #fb923c 75%, #fbbf24);
|
||||
background-size: 200% 100%;
|
||||
animation: sd-flame-flow 2.6s linear infinite;
|
||||
box-shadow: 0 0 12px rgb(234 88 12 / 0.5);
|
||||
background-color: var(--accent);
|
||||
background-image: linear-gradient(100deg, transparent 0 38%, color-mix(in srgb, var(--marker) 85%, transparent) 50%, transparent 62% 100%);
|
||||
background-size: 260% 100%;
|
||||
animation: sd-flame-flow 2.4s linear infinite;
|
||||
}
|
||||
.streak-chip {
|
||||
animation: sd-pop 280ms cubic-bezier(0.2, 0.9, 0.3, 1.3);
|
||||
}
|
||||
.streak-chip-hot {
|
||||
color: #451a03;
|
||||
background-image: linear-gradient(100deg, #fbbf24, #ea580c);
|
||||
box-shadow: 0 2px 12px rgb(234 88 12 / 0.4);
|
||||
color: var(--marker-ink);
|
||||
background: var(--marker);
|
||||
}
|
||||
.streak-scrim {
|
||||
background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--surface) 94%, transparent) 0%, color-mix(in srgb, var(--surface) 78%, transparent) 42%, transparent 76%);
|
||||
background: radial-gradient(circle at 50% 46%, var(--surface) 0%, var(--surface) 34%, color-mix(in srgb, var(--surface) 88%, transparent) 52%, transparent 80%);
|
||||
animation: sd-streak-scrim var(--streak-ms, 1800ms) ease-out forwards;
|
||||
}
|
||||
.streak-pop {
|
||||
animation: sd-streak-pop var(--streak-ms, 1800ms) cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
|
||||
animation: sd-streak-pop var(--streak-ms, 1800ms) cubic-bezier(0.2, 0.9, 0.3, 1.1) forwards;
|
||||
}
|
||||
.streak-flame {
|
||||
animation: sd-flicker 0.9s ease-in-out infinite;
|
||||
transform-origin: 50% 85%;
|
||||
filter: drop-shadow(0 6px 22px rgb(234 88 12 / 0.55));
|
||||
}
|
||||
.streak-heading {
|
||||
background-image: linear-gradient(180deg, #fbbf24, #ea580c);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
/* A highlighter stroke drawn behind the number. */
|
||||
.streak-mark {
|
||||
--streak-marker: var(--marker);
|
||||
background-image: linear-gradient(var(--streak-marker), var(--streak-marker));
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 82%;
|
||||
background-size: 0% 46%;
|
||||
border-radius: 4px;
|
||||
animation: sd-streak-mark var(--streak-ms, 1800ms) cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
|
||||
}
|
||||
/* Same softened highlighter as .marker in dark mode, so light text stays readable on it. */
|
||||
:root[data-theme='dark'] .streak-mark {
|
||||
--streak-marker: color-mix(in srgb, var(--marker) 42%, transparent);
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.streak-bar,
|
||||
.streak-flame {
|
||||
animation: none;
|
||||
}
|
||||
.streak-mark {
|
||||
animation: none;
|
||||
background-size: 100% 46%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -541,6 +557,16 @@
|
|||
transform: translateY(-14px) scale(0.96);
|
||||
}
|
||||
}
|
||||
@keyframes sd-streak-mark {
|
||||
0%,
|
||||
16% {
|
||||
background-size: 0% 46%;
|
||||
}
|
||||
42%,
|
||||
100% {
|
||||
background-size: 100% 46%;
|
||||
}
|
||||
}
|
||||
@keyframes sd-streak-scrim {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue