Ignore more password managers by default (KeePass, Enpass, NordPass, RoboForm)

Aperta Adatta ai principianti
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
85/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
desktop

Direzione di ricerca

Inizia con DEFAULT_IGNORED_APPS e isIgnoredApp in src/shared/settings.ts, tenendo presente che la corrispondenza non fa distinzione tra maiuscole e minuscole e che le voci con più di 3 caratteri corrispondono anche per sottostringa. Aggiungi le voci KeePass, Enpass, NordPass e RoboForm, e sostituisci KeePassXC con KeePass se il controllo di copertura dell'issue è confermato. Estendi poi i test di isIgnoredApp in tests/settings-color.test.ts con le nuove voci e un'app simile che deve comunque essere registrata, e conferma che pnpm test viene superato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue

OpenPaste never records copies from apps on the ignore list. The default list covers 1Password, Bitwarden, Dashlane, KeePassXC, Keychain Access, LastPass, Proton Pass and Passwords, but none of these match it today:

  • KeePass (the Windows app; the KeePassXC entry is longer than the name, so it doesn't match)
  • Enpass
  • NordPass
  • RoboForm

Most password managers also mark their copies as private, which OpenPaste already skips, but the ignore list is the safety net for the ones that don't.

Where to look
  • src/shared/settings.ts: DEFAULT_IGNORED_APPS, and isIgnoredApp for how entries match. It's case-insensitive, and entries longer than 3 characters also match when the app's name or id merely contains them
  • tests/settings-color.test.ts: the isIgnoredApp tests
Done when
  • The four apps above are ignored with the default list. Swapping KeePassXC for KeePass covers both
  • Because of the "contains" matching, check each new entry can't catch an unrelated app. For example, adding Keeper would also ignore the database tool Beekeeper Studio, so leave it out or use its exact name
  • Tests cover the new entries and one look-alike that must still be recorded, and pnpm test passes

People who already have OpenPaste keep the list saved in their settings, so this changes the default for new installs only. That's expected.

Suggested pull request title: feat(settings): ignore more password managers by default

New to OpenPaste? CONTRIBUTING.md covers setup, the code conventions and the checks to run before a pull request (pnpm typecheck, pnpm test, pnpm format, pnpm cleaner). Leave a comment if you're picking this up so nobody doubles up.


Generated by Claude Code

Lingua principale
TypeScript
Stelle
0
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di alexsilver8/openpaste

Tutte le issue di alexsilver8/openpaste

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.