You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 03b35e2
Browse filesBrowse the repository at this point in the historyBrowse files
docs: changelog + README for floating button, Vite build, and extraction fix
Record the unreleased user-facing changes (default-on / draggable / themed
floating button with a close-to-disable control, and translating prose that
contains only icon buttons) in the CHANGELOG, and update the README features,
build description (Vite + CRXJS), dev-server instructions, and project layout.
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The extension is usable for normal article pages, legacy text-heavy pages, and s
35
35
- Support local OpenAI-compatible runtimes such as LM Studio, Ollama, llama.cpp server, and omlx (Apple Silicon), plus Anthropic Messages API-compatible endpoints.
36
36
- Fetch provider model lists from the options page.
37
37
- Choose integrated or highlighted translation display styles.
38
-
-Optionally show a floating page button that starts translation only after the user clicks it.
38
+
-Show a floating page button (enabled by default) that starts translation only after the user clicks it. The button can be dragged vertically along the screen edge, remembers its position, adapts its shell to the page's light or dark background, and can be turned off from its close (×) control or the options page.
39
39
- Use session-only translation caching by default, with persistent and disabled cache options.
40
40
- Show popup diagnostics for text detection, queue state, and provider errors.
41
41
- Observe dynamically inserted content.
@@ -157,6 +157,14 @@ corepack enable
157
157
pnpm install
158
158
```
159
159
160
+
Run the dev server with hot reloading (Vite + CRXJS). Load `apps/extension/dist/`
161
+
as an unpacked extension once, then edit source and the extension reloads
162
+
automatically:
163
+
164
+
```sh
165
+
pnpm --filter @margin/extension dev
166
+
```
167
+
160
168
Run type checks:
161
169
162
170
```sh
@@ -187,7 +195,7 @@ Build the extension:
187
195
pnpm build
188
196
```
189
197
190
-
The build uses Rolldown and writes the unpacked extension to `apps/extension/dist/`.
198
+
The build uses Vite with the CRXJS plugin (Rolldown under the hood) and writes the unpacked extension to `apps/extension/dist/`.
0 commit comments