Skip to content

feat(authy): add filter and display features - #848

Merged
fe9lix merged 4 commits into
raycast:mainfrom
lukekarrys:lk/authy-updates
Feb 10, 2022
Merged

fe9lix merged 4 commits into
raycast:mainfrom
lukekarrys:lk/authy-updates

Conversation

@lukekarrys

@lukekarrys lukekarrys commented Feb 10, 2022 •

Copy link
Copy Markdown
Contributor

Hi @guga4ka! This PR will close the request I made in #845. I originally set out to just fork and maintain my own copy locally, but ended up deciding to make this PR. That's why there are a few additional features that I will outline below. It is currently all in one commit, but I'm happy to back out anything or make changes or open separate PRs.

Some of the features I added were also made easier by refactoring some of the code. Hopefully my changes aren't too subjective but in the case that it's harder to understand, I'm open to suggestions or I'm willing to take on CODEOWNERship to help with future maintenance.

Description

Adds excludeNames preference to optionally exclude accounts by name

This is the main feature I requested in #845. This implementation takes a preference as a comma separated list of values and removes any account matching one of those values. The comparison is done via name.trim().toLocaleLowerCase().

Adds separateAccounts preference to optionally not separate accounts by type

I personally prefer to see all my accounts together regardless of type like the Authy native apps do. I added a preference for this behavior which defaults to true to match the current behavior, but depending on how others feel about it I think it might be better as the only possible behavior.

Adds support for looking up icons by the preferred name property as an additional fallback

Previously logo and accountType were looked up to find an icon match, and this adds name to the end of that list.

Hides item subtitle if it is the same as the name

This removes the subtitle if it would be redundant in addition to the name.

Refactors logos in constants for easier aliases

I noticed that aws was mapped to amazonaws already in the code, and I had a similar need to map google apps to google. So I update the data structure in constants.js to make this easier.

Adds some icons that I use personally

I realize this doesn't scale to have everyone add the icons they want, but I thought I'd try to sneak this in while working on this extension 😄.

Type of change

  • Bug fix / improvement for somebody else's extension. Extension author: @guga4ka

Screencast

Here's a screenshot of the new preferences screen. The rest of the behavior is hard to show while maintaining my desired level of security hygiene 🤓.

Screen Shot 2022-02-09 at 5 39 53 PM

Checklist

closes #845

- Adds `excludeNames` preference to optionally exclude accounts by name
- Adds `separateAccounts` preference to optionally not separate accounts by type
- Adds support for looking up icons by the preferred `name` property as an additional fallback
- Refactors logos in `constants` for easier aliases
- Hides item subtitle if it is the same as the name
- Refactors `OtpList` components to make this easier
- Adds some icons that I use personally
@fe9lix fe9lix added the extension fix / improvement Label for PRs with extension's fix improvements label Feb 10, 2022

@guga4ka guga4ka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job @lukekarrys 🔥. Thx for your PR!

Regarding the app's icon, I've tried to use favico for it, but I don't have the right url to get it. Currently, there isn't another way to add an icon, except a PR. In case you have ideas how to improve this process, I would be happy to do it.

Comment thread extensions/authy/package.json Resolved
@lukekarrys

Copy link
Copy Markdown
Contributor Author

As for arbitrary icons at runtime, I don't have any ideas currently but might take some time to hack on this and see if I can come up with something.

@guga4ka guga4ka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pernielsentikaer I think we are good to merge.

@pernielsentikaer pernielsentikaer left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lukekarrys and @guga4ka 👋

Awesome that youre working to great together making this extension even better 🔥

Could you rename the folder readme to media (and update references)

Remember that you can add yourself as contributor by adding this to package.json

  "contributors": [
    "lukekarrys"
  ],

Request a new review when you are ready, feel free to contact me here or at Slack if you have any questions.

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🔥 I'm going to approve it, let's await final review before merge 💪

Thanks again for a lovely addition 💯

@fe9lix
fe9lix merged commit 20c3fe7 into raycast:main Feb 10, 2022
@raycastbot

Copy link
Copy Markdown
Collaborator

@lukekarrys
lukekarrys deleted the lk/authy-updates branch February 11, 2022 01:39
raycastbot added a commit that referenced this pull request Oct 27, 2026
* Update teak-raycast extension

- docs(raycast): match the changelog to the store\'s published history
- feat(raycast): tidy lists, fix empty states, and refresh store images (#871)
- docs(agents): log the 2026-10-27 self-driving run (#870)
- refactor(files-worker): run the link fetcher on Bun (#869)
- build: take shared dependency versions from a root Bun catalog (#868)
- test(web): run the web suite with bun test --parallel (#867)
- fix(docs): unblock docs deploys by dropping the CSS budget
- feat(docs): redesign the pricing page
- fix(docs): list the Firefox extension on the homepage
- feat(docs): polish the homepage audiences and testimonials, and the changelog
- feat(docs): redesign the marketing footer
- feat(docs): give Safari its own card and lay out /apps in two columns
- fix(convex): retry failed tag summary recomputes instead of stranding them (#864)
- fix(convex): retry failed dispatch claims instead of stalling (#851)
- test(e2e): list the four highlight tools the MCP server now exposes (#854)
- ci(e2e): upload the journeys traces, which hidden-file rules were dropping (#838)
- test(e2e): match the renamed createCardWithOutcome mutation (#837)
- fix: stop the errors PostHog reported this week (#863)
- ci(apple): start the Mac release once iOS is live (#862)
- fix(apple): key App Intents text without "apple" so the build passes App Store checks (#861)
- chore(release): 1.0.91 (#859)
- feat(web): install the web app, and share pages and files to it (#858)
- feat(apple): Shortcuts, Spotlight, controls and share-sheet folders (#856)
- docs(agents): log 2026-10-26 self-driving run (#857)
- feat: Empty Trash and native card and library parity (#855)
- fix(apple): keep TeakKit tests from reading text while another test switches the language (#853)
- chore(convex): regenerate api.d.ts for three unlisted modules (#852)
- feat(apple,android): note tables, checklists, [[ links and search operators in the native apps (#849)
- feat(agents): make cloud sessions work end to end, and add bun run dev --local (#850)
- feat(apple,android): the native apps in eight languages, and one word for each action (#848)
- fix(deps): patch undici and happy-dom security advisories (#847)
- feat(docs): an image on every docs page, and a polish pass on the docs and site (#846)
- chore(convex): remove the stale card reprocess after its production run (#843)
- feat(web): redesign Settings as pages with a nav and summaries (#842)
- fix(files-worker): keep reading order for content stranded before <body> (#845)
- fix(files-worker): read articles from pages with content outside <body>; make screenshot cleanup best effort (#844)
- fix(convex): reprocess cards stuck "processing" since before runs were numbered (#841)
- chore(convex): remove the page archive and article backfills after their production runs (#840)
- chore(release): 1.0.90 (#839)
- feat: saved copies of pages, a reader and highlights (roadmap v3 phases 6–8) (#836)
- feat(web,extension): replace Lucide icons with Vadivam (#835)
- feat(import): import links from any CSV or text file of links (roadmap v3 phase 5) (#834)
- feat(web): paste a list of links, and say when a link was already saved (roadmap v3 phase 2b, part 3) (#832)
- docs(plans): parity roadmap for the native apps and the web (#833)
- docs(agents): keep the empty plans folder AGENTS.md points to
- test(e2e): fix stale settings and keyboard assertions (#817)
- fix(convex): schedule dispatch flushes without a shared range read (#818)
- docs(agents): delete the roadmap v3 plans
- feat: re-save in the extension, Raycast and Safari, and "Saved again" in card details (#831)
- feat: saving a link again moves it to the top; lists order by when a card was saved (#830)
- fix(extension): drop the list of sites from the store descriptions (#829)
- docs: move contributor guides into the public docs, fix the header; Bun 1.4.4 (#827)
- chore(release): 1.0.89 (#828)
- feat(ai): summaries and tags in the content\'s language (#825)
- fix(release): let the SDK provenance check wait for npm to resolve the new version (#826)
- test(tests): check the Firefox add-on is listed on AMO (#773)
- feat(web,extension): Teak in seven more languages (#824)
- feat(search): exclude with -, combine with OR and parentheses (#822)
- docs(agents): self-driving log for 2026-10-24 (#823)
- feat(web): tables in notes (#821)
- feat(convex): recognise a saved link under any of its addresses, and add savedAt (#820)
- feat(extension): save a page with Alt+Shift+S and show when it\'s already in Teak (#819)
- feat(web): faster sign-in from teakvault.com to the first card (#816)
- docs(plans): trim roadmap v3 to 10 phases (#815)
- refactor(convex): link WorkOS users by ID only (#814)
- refactor(convex): let WorkOS user deletion revoke sessions and grants (#812)
- refactor(convex): drop the workosEvents ledger (#813)
- refactor(files-worker,convex): send WorkOS webhooks straight to Convex (#811)
- fix(web): upgrade Next.js to 16.4.1 for three security advisories (#810)
- chore(plans): delete the native Apple app and WorkOS lean plans
- chore(convex,docs,plans): lean WorkOS deletion reads, catch-up cursor and AuthKit config (#809)
- fix(web): faster search and scrolling, reliable uploads, no lost card edits (#808)
- fix(web): fix 31 UI and UX bugs from the web bug bash (#806)
- docs: self-driving log for 2026-10-23 (#807)
- fix: close 22 bugs across the web app, Files Worker, API, MCP, CLI, extension and Raycast (#805)
- fix: close 16 bugs across the API, Files Worker, web app, CLI and SDK (#804)
- fix(files-worker): stop Workflows scaling retry delays our functions already compute (#803)
- fix(files-worker): let a failed write\'s lease expire so account deletion can finish (#802)
- chore(convex): drop the fallbacks #799 kept until its backfills ran (#801)
- fix(convex): harden background jobs, close unused public endpoints, cut search and list reads (#799)
- chore(convex): remove the EXIF clock backfill after its production run (#800)
- feat(convex): backfill a photo\'s camera clock time from its EXIF (#798)
- fix(files-worker): store a photo\'s camera clock time and EXIF offset (#797)
- fix(web): show a photo\'s Taken time as the camera\'s clock (#796)
- fix(files-worker): keep resumed export archives valid (#795)
- fix(convex): normalize tags in bulk card create and update (#793)
- fix(files-worker): fresh refresh pages, no edge copies of deleted files, gated podcast audio (#794)
- test(convex): guard tag paging ties against the cardSearchTags index order (#792)
- fix: twelve small bugs across convex, sdk, cli, web and files worker (#791)
- docs: log 2026-10-22 self-driving run (#790)
- fix(convex): make the signed-url window test deterministic (#789)
- fix(web): lower the feedback tab below the card\'s Next button (#788)
- feat(web): minimal card dialog with steady arrows and a compact shortcuts list (#787)
- chore(files-worker): keep Issues on and signed links out of Workers logs (#786)
- fix(android,web): stop the launch crash on API 30 devices and drop stackless browser noise (#785)

* build(raycast): keep the done-verbs generator out of the published extension

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: raycastbot <[email protected]>
bucharitesh added a commit to bucharitesh/raycast-extensions that referenced this pull request Nov 27, 2026
- Raycast: dynamic codes from your QRdx account
- Raycast: draw a logo given by its address
- Merge pull request raycast#895 from qrdxinc/fix/segment-followups
- Merge pull request raycast#894 from qrdxinc/fix/generator-download-grid
- Merge pull request raycast#887 from qrdxinc/feat/svelte-328
- Keep GeneratorPanel\'s doc comment above it
- Merge pull request raycast#892 from qrdxinc/ci/cloud-batched-deploys
- Data-out follow-ups: keep turned-off streams off, no Segment resends
- Fix the generator\'s download buttons overflowing
- Build action: an output description Biome formats as it is
- Merge pull request raycast#888 from qrdxinc/fix/micro-qr-scan-check
- Merge pull request raycast#889 from qrdxinc/feat/segment-315
- Merge pull request raycast#890 from qrdxinc/fix/calendar-time-zone-names
- Merge pull request raycast#891 from qrdxinc/feat/wikidata-sameas
- Svelte DOM test: drop hydration comments through the DOM, not a regex
- Deploy the marketing site and console every 6 hours too
- Link QRdx\'s Wikidata item from the Organization\'s sameAs
- feat(integrations): Segment, scans and form responses as Track events
- fix(barcode): draw Micro QR at a mask ZXing\'s detector finds
- Time zones by their current names: Asia/Kolkata, not Asia/Calcutta
- qrdx 0.0.67: qrdx/svelte, a Svelte action on the core
- Merge pull request raycast#883 from qrdxinc/feat/sameas-substack-reddit
- Merge pull request raycast#885 from qrdxinc/ci/batched-production-deploys
- Merge pull request raycast#884 from qrdxinc/fix/barcodes-indexed-short-list
- Deploy production every 6 hours instead of on every merge
- i18n: index the barcode generators\' translations again (outer gate)
- Link QRdx\'s Substack and r/qrdx from the Organization\'s sameAs
- Merge pull request raycast#880 from qrdxinc/feat/calendar-event-310
- Merge pull request raycast#881 from qrdxinc/feat/micro-qr-384
- Merge pull request raycast#879 from qrdxinc/fix/domain-connect-v2
- Calendar event form: stack date and time on phones
- wip: save a Micro QR through the API; Kanji comment
- Calendar event QR codes: an iCalendar VEVENT content type
- wip: the docs build reads micro-qr.ts through formats.ts
- wip: format
- wip(i18n): translate the Micro QR strings
- wip(barcode): Micro QR tests
- wip(barcode): Micro QR in the catalogue, API, MCP, docs and n8n
- wip(barcode): Micro QR symbol choice, ported from bwip-js
- Domain Connect: template version 2, Vercel\'s TXT in its own apply, button only where live
- Merge pull request raycast#878 from qrdxinc/fix/mcp-client-name-qrdx
- Merge pull request raycast#874 from qrdxinc/feat/mkt-lifecycle
- fix(mcp): let Claude Code sign in when its server is named QRdx
- Webhook test: mock trackServerAfter, which staging\'s subscription events use
- Failed-payment email: always sent, as a billing notice
- Rewrap two comments
- Format
- Translate the lifecycle emails and the past-due banner
- Tests for the lifecycle emails, the grace period and the webhook
- WIP: failed-payment and new-customer emails from the webhook, past-due banner
- WIP: nudge from the cron, Free 100-scan email, invite line, first_real_scan
- WIP: payment-failed and new-customer templates, copy
- WIP: lifecycle claims, invite line, nudge and Free milestone templates
- Billing: a failed payment keeps paid features for 7 days
- Merge pull request raycast#873 from qrdxinc/feat/mkt-app-copy
- Merge pull request raycast#872 from qrdxinc/feat/mkt-ai-search
- Translate the LinkedIn, press kit and switcher refund strings
- LinkedIn company page, a footer link to the press kit, and the switcher refund on /pricing
- Product facts: format plan storage without a new import for the docs
- Translate the new and changed strings
- Format with Ultracite
- Home: first steps, an invite card after the first scan, and Where did you hear
- WIP Home first run: rules, server data, where-heard storage
- Docs: storage, file size, form responses and Pro seats from {facts.*} tokens
- Scan score: logo and contrast problems link to the scan study
- Made with QRdx badge opens the page templates at the page\'s type; Pro badge says Recommended
- Positioning copy: guarantee-led hero, meta and footer line; footer Guides column
- Merge pull request raycast#875 from qrdxinc/fix/bun-lock-qrdx-version
- Merge pull request raycast#870 from qrdxinc/feat/mkt-measure
- Merge pull request raycast#868 from qrdxinc/feat/print-ready-paths
- Merge pull request raycast#867 from qrdxinc/feat/download-look-analytics
- Merge pull request raycast#824 from yashraj-19/feat/pipedrive-integration
- chore: update bun.lock for qrdx 0.0.66
- Site zone: route /press to the site (opt-in press group)
- Licensing: the scan study\'s charts and data are CC BY 4.0, its code AGPL
- Docs: link logos, error correction, contrast and print size to the scan study (C-04)
- llms.txt: read the site\'s links on a preview\'s host or qrdx.dev
- llms.txt: guides and research, the scan study\'s findings, the positioning line (C-05)
- Community: frame pages out of the sitemap and noindex, follow (C-02)
- i18n: stop indexing the barcode generators\' translations (C-01)
- Search engines: tests for the Bing priority order and the sitemap sample
- Search engines: priority pages first for Bing, sitemap sample check
- Merge pull request raycast#869 from qrdxinc/chore/remove-salesforce
- Analytics: pricing → plan → checkout → paid, product channel, from_page
- Remove the Salesforce integration
- Point people who mean to print to Print-ready
- Analytics: say how a downloaded code looks
- Merge pull request raycast#865 from qrdxinc/fix/qrdx-old-toolchains
- Merge pull request raycast#866 from qrdxinc/feat/salesforce-leads-311
- Merge pull request raycast#864 from qrdxinc/fix/organize-i18n-668
- qrdx 0.0.66: builds with webpack 4, types for TypeScript 5.0 to 5.3
- Salesforce: form responses to leads (raycast#311)
- Say folder, tag and bulk messages in the person\'s language (raycast#668)
- Merge staging into feat/pipedrive-integration: hosted Pipedrive logo
- Merge pull request raycast#861 from qrdxinc/chore/remove-box
- Merge pull request raycast#862 from qrdxinc/ci/discord-notify
- Merge pull request raycast#860 from qrdxinc/feat/hosted-integration-logos
- Merge remote-tracking branch \'origin/staging\' into feat/pipedrive-integration
- Post QRdx news to the Discord from GitHub Actions
- Integrations: remove Box
- Serve logos we may show but not commit from R2
- Merge pull request raycast#859 from qrdxinc/feat/discord-community
- fix(pipedrive): de-duplicate leads by QRdx\'s own record, not origin_id
- fix(pipedrive): check leads on every delivery, page leads as the spec says
- Link the QRdx Discord from the site, docs and repo
- Merge pull request raycast#857 from qrdxinc/feat/analytics-icons-sidebar
- Sidebar: drop the What\'s new row, back arrow beside the area title
- Analytics: flags and icons on every breakdown row
- Merge pull request raycast#855 from qrdxinc/feat/email-redesign
- Emails: finish the round after merging the lanes
- Merge origin/staging into feat/email-redesign
- Merge the product lane\'s product and notification emails
- Merge the business lane\'s request emails, payout notice and personal notes
- Emails: invitations drop the line the footer now says; limit notices name their owners
- Merge pull request raycast#854 from qrdxinc/docs/workspace-addon-privacy
- Merge pull request raycast#850 from qrdxinc/fix/i18n-small-fixes
- Emails: the READMEs describe the frame, its pieces and the personal-note look
- Emails: product and notification emails on the new frame (WIP)
- Emails: business and personal templates on the new frame, recipient in the footer
- Emails: security and sign-in emails in the new look, with the recipient
- i18n: the English-only pages outside app/[lang] redirect permanently, the barcode generators with a 307
- i18n: the Spanish numbers check leaves prices as written
- i18n: the barcode generator hub\'s title and description fit search results in every language
- i18n: barcode generators in every language (opt-in), no 404 on translated URLs, Spanish numbers and Hindi QR कोड
- Emails: template tests expect the logo image and plain-text columns
- Workspace add-on: Sheets codes go in the cell (privacy policy and catalog)
- Privacy policy and /plugins: the Google Docs, Sheets and Slides add-on
- Merge pull request raycast#851 from qrdxinc/fix/english-only-308
- Emails: tests read the details rows as plain-text columns; document the logo
- Merge pull request raycast#848 from qrdxinc/fix/workspace-addon-syntax
- Emails: plain-text tables, link fallback, translated footer copy (WIP)
- Merge pull request raycast#845 from qrdxinc/docs/subprocessors-mailbox
- Google Workspace add-on: Sheets puts the code in the cell
- Google Workspace add-on: Sheets shows the inserted image, and says Allow access
- Google Workspace add-on: refuse image addresses over 2,000 characters
- Google Workspace add-on: no numeric separators, ES2020 syntax guard
- Merge pull request raycast#846 from qrdxinc/fix/small-fixes-a
- Emails: new frame, logo and building blocks (WIP)
- Merge pull request raycast#849 from qrdxinc/fix/tiff-lists-translations
- i18n: the English-only pages\' translated URLs redirect permanently (308)
- Merge pull request raycast#841 from qrdxinc/chore/raycast-store-shots
- tests: a legal page\'s date may be today in any time zone
- i18n: translate the strings raycast#838, raycast#819, raycast#808, raycast#837 and raycast#839 changed
- qrdx changelog: the scan score\'s quiet-zone warning, under Unreleased
- invites: settle a code\'s owner\'s invite when an admin switches it back on
- mcp: no error code in the 401 body when no token was sent
- legal: list the @qrdx.dev mailbox (Gmail, Cloudflare Email Routing) on the subprocessors page
- Merge pull request raycast#839 from qrdxinc/feat/invite-reward
- Merge pull request raycast#844 from qrdxinc/fix/mcp-sign-in-review-2
- Merge remote-tracking branch \'origin/staging\' into merge-839
- Merge pull request raycast#843 from qrdxinc/fix/default-quiet-zone
- Merge remote-tracking branch \'origin/staging\' into merge-844
- Merge pull request raycast#842 from qrdxinc/feat/mcp-sign-in
- Merge pull request raycast#840 from qrdxinc/feat/generators-i18n
- fix(invites): bound settling by the recheck\'s deadline; exact privacy text
- Merge remote-tracking branch \'origin/staging\' into merge-842
- fix(mcp-sign-in): second review: per-address token budgets, secret cache, batched cleanup
- Quiet zone warning is display-only; the print-size answer keeps its old arguments
- New designs start with a 2-module quiet zone; the scan score warns below 2
- fix(invites): settle from the database, one write for both rewards
- feat(invites): invite friends, both get 5 more dynamic codes
- Merge pull request raycast#838 from qrdxinc/fix/tiff-in-format-lists
- fix(mcp-sign-in): security review: MCP-only tokens, registration limits, cleanup
- Merge pull request raycast#837 from qrdxinc/feat/mcp-sign-in
- Generators\' hub description fits search results in es, fr, de, it and id
- Generators in every language: route /<lang>/qr-code-generator to the site behind an opt-in group
- Merge pull request raycast#836 from qrdxinc/fix/pdf-page-template-dropoff
- feat(mcp): sign in to QRdx from MCP clients, and dynamic-code tools
- TIFF in the format lists, frames in the last template line, @qrdx/cli 0.0.20
- Merge pull request raycast#834 from qrdxinc/feat/google-workspace-addon
- Pages: "This page isn\'t ready yet" until a page is first published
- Merge pull request raycast#833 from qrdxinc/feat/scan-study
- scan study: a reproducible test of what stops a QR code from scanning
- plugins: Google Workspace add-on for Docs, Sheets and Slides
- Pipedrive: translate the new strings
- Merge remote-tracking branch \'origin/staging\' into feat/pipedrive-integration
- feat(integrations): add Pipedrive (form responses to persons and leads)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide disabled/deleted authy accounts

5 participants