Skip to content

Commit 081a63a

Browse files
committed
feat(ui): General|Math toggle + show/hide sections + persisted mode
1 parent 1843110 commit 081a63a

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

extension/sidepanel.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
</div>
6868
</div>
6969

70-
<h3>Problem</h3>
70+
<section class="for-math">
71+
<h3>Problem</h3>
7172
<textarea id="problem" name="problem" placeholder="Select text, then right-click → Send selection → Web-to-Quest."></textarea>
7273
<div class="row">
7374
<button data-btn="steps" id="btnSteps">Generate steps</button>
@@ -90,7 +91,14 @@ <h3>Outputs</h3>
9091
<div class="muted">Check Answer</div>
9192
<div class="out" id="outAnswer"></div>
9293

93-
<script src="prototype.js" defer></script>
94+
</section>
95+
<section class="for-general">
96+
<div class="info" id="generalIntro" style="border:1px solid #e0e0e0;background:#f9fbff;padding:10px;border-radius:8px;margin-bottom:12px;">
97+
<strong>General mode</strong>
98+
<div class="muted">Select text on any page, then open the side panel to <strong>Summarize</strong>, <strong>Rewrite/Proofread</strong>, <strong>Translate</strong>, or <strong>Extract</strong> answers/highlights.</div>
99+
</div>
100+
</section>
101+
<script src="prototype.js" defer></script>
94102
<script src="ai-stubs.js" defer></script>
95103
<script src="sidepanel.js" defer></script>
96104
</body>

0 commit comments

Comments
 (0)