finetuneing webplugin
This commit is contained in:
@@ -80,6 +80,16 @@ The browser extension defaults to `http://localhost:8000`.
|
||||
|
||||
The supplied `Logo.svg` is bundled as `frontend/static/logo.svg` for web pages and `webextension/logo.svg` for the Firefox popup and settings page.
|
||||
|
||||
## Regenerate Logo Assets
|
||||
|
||||
`LinkLog.svg` is the source logo. Install ImageMagick, then regenerate the web logo, extension logo, and Firefox toolbar icons with:
|
||||
|
||||
```sh
|
||||
make logos
|
||||
```
|
||||
|
||||
The generated files are `frontend/static/logo.svg`, `webextension/logo.svg`, and `webextension/icon-16.png`, `icon-32.png`, `icon-48.png`, and `icon-96.png`. Override the ImageMagick executable with `make MAGICK=magick logos` when needed.
|
||||
|
||||
Appending a username to the root URL, such as `/alice`, opens that user's public feed and profile information.
|
||||
|
||||
Configuration APIs require a bearer token returned by the login endpoint. User configuration uses the identity in that token. Plugin administration additionally requires an administrator account; the development `alice` account is seeded as an administrator, while `bob` is a standard user.
|
||||
@@ -104,6 +114,8 @@ PYTHONPATH=. PYTHONWARNINGS=error pytest backend/tests -q
|
||||
## Install The Firefox Extension For Development
|
||||
|
||||
The extension is an unpacked Firefox extension. No build step is required.
|
||||
The toolbar uses square PNG icons generated from the bundled dark-background logo; `logo.svg` remains available for the popup and settings branding.
|
||||
The manifest includes stable Firefox extension metadata and references the packaged PNG icons for toolbar and add-on installation.
|
||||
|
||||
1. Start the backend locally.
|
||||
2. Open Firefox and visit `about:debugging#/runtime/this-firefox`.
|
||||
|
||||
Reference in New Issue
Block a user