Review of "PromptKey" version 1

Details Page Preview

Execute reusable AI prompts with global keyboard shortcuts. Configure prompts and AI provider profiles (Gemini, Groq, OpenAI, or OpenAI-compatible endpoints). API keys stay on your machine in GSettings and are only sent to the provider you choose. Clipboard: PromptKey can write the AI response to the clipboard when you click Copy, or when auto-copy is enabled in preferences. It never reads the clipboard and never sends clipboard data to any service.

Extension Homepage
https://github.com/drowhann/prompt-key

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 3 manual_review 1

Shexli found 4 issues that may need reviewer attention.

EGO-A-005 manual_review

extensions should not access the clipboard directly

Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.

Review Guidelines

  • src/ui/prompt-window.js:680
    St.Clipboard.get_default()

EGO-P-006 warning

unnecessary build and translation artifacts should not be shipped

Compiled GSettings schemas should not be shipped for 45+ packages.

Don't include unnecessary files

  • schemas/gschemas.compiled
    schemas/gschemas.compiled

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:111
            this._window.connect('closed', () => {
                this._window = null;
            })

EGO-L-006 warning

preferences classes should not retain window-scoped objects on instance fields without close-request cleanup

Preferences code stores window-scoped objects on the exported prefs class without `close-request` cleanup.

Destroy all objects

  • prefs.js:193
    this._settings = this.getSettings()
  • prefs.js:194
    this._storage = new Storage(this._settings)
  • prefs.js:195
    this._promptManager = new PromptManager(this._storage)
  • prefs.js:196
    this._providerManager = new ProviderManager(this._storage)
  • prefs.js:427
            this._shortcutRow = new Adw.EntryRow({
                title: _('Open shortcut (GTK accel syntax)'),
            })
  • prefs.js:326
            this._profilesGroup = new Adw.PreferencesGroup({
                title: _('Profiles'),
                description: _('API keys are stored locally in GSettings and only sent to the configured provider.'),
            })
  • prefs.js:229
            this._promptsGroup = new Adw.PreferencesGroup({
                title: _('Saved prompts'),
                description: _('Click a row to edit. The global open shortcut is on the General page.'),
            })

All Versions

Version Status
2 Unreviewed
1 Rejected

Previous Reviews on this Version

drowhann auto- rejected
Auto-rejected because of new version 2 was uploaded