author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
244,461 | 12.11.2022 11:26:25 | -3,600 | 2c1ef3cecaf2412928eb5286cbdafff57f6856c0 | fix: remove scorer to simply get the first icon image | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "@@ -628,18 +628,6 @@ const metaDataRules: Record<string, RuleSet> = {\n(element) => element.getAttribute(\"href\"),\n],\n],\n- scorer: (element) => ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: remove scorer to simply get the first icon image |
244,472 | 14.11.2022 10:38:21 | -3,600 | b794d6fb8087922d7d610e8a98f42d3a7f362630 | fix: removed release drafter workflow | [
{
"change_type": "DELETE",
"old_path": ".github/workflows/release-drafter.yml",
"new_path": null,
"diff": "-name: Release Drafter\n-\n-on:\n- push:\n- branches:\n- - master\n-\n-jobs:\n- update_release_draft:\n- runs-on: ubuntu-latest\n- steps:\n- # Drafts your next Release notes as Pull Requests ar... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: removed release drafter workflow |
244,503 | 14.11.2022 12:47:41 | -3,600 | 1f24d369f3da715cbdf6bf56d07752b529ea11f6 | feat: show fiats formatted in locale | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/SettingsContext.tsx",
"new_path": "src/app/context/SettingsContext.tsx",
"diff": "@@ -82,6 +82,7 @@ export const SettingsProvider = ({\namount,\nrate,\ncurrency: settings.currency,\n+ locale: settings.locale,\n});\nreturn value;\n"
},
{
... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show fiats formatted in locale |
244,503 | 14.11.2022 19:57:08 | -3,600 | 05d30f1a0afefcc1460ac641843185824ec49232 | feat: format sats with Intl and locale | [
{
"change_type": "MODIFY",
"old_path": "src/common/utils/__tests__/currencyConvert.test.ts",
"new_path": "src/common/utils/__tests__/currencyConvert.test.ts",
"diff": "import { CURRENCIES } from \"~/common/constants\";\n-import { getFiatValue, getSatValue } from \"../currencyConvert\";\n+import {\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: format sats with Intl and locale |
244,503 | 14.11.2022 19:58:08 | -3,600 | 2affd97fd1866264aea92ca921492444752dce10 | feat(paymentSummary): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary/index.test.tsx",
"new_path": "src/app/components/PaymentSummary/index.test.tsx",
"diff": "@@ -2,7 +2,16 @@ import PaymentSummary, { Props } from \"@components/PaymentSummary\";\nimport { render, screen } from \"@testing-librar... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(paymentSummary): render formatted sats |
244,503 | 14.11.2022 19:59:11 | -3,600 | d27de5b757245a997041df438fca76e7c3ed1316 | feat(transactions): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/TransactionsTable/index.test.tsx",
"new_path": "src/app/components/TransactionsTable/index.test.tsx",
"diff": "@@ -3,11 +3,20 @@ import userEvent from \"@testing-library/user-event\";\nimport { act } from \"react-dom/test-utils\";\nimport { ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(transactions): render formatted sats |
244,503 | 14.11.2022 20:00:11 | -3,600 | e419335ac85a810c88ac7a38b6c6ac635e9e44d3 | feat(accountMenu): render and update formmated sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -95,7 +95,7 @@ function AccountMenu({ showOptions = true }: Props) {\n{balancesDecorated.satsBalance}\n</span>\n{!!balancesDecorated.fiatBalance && (... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(accountMenu): render and update formmated sats |
244,503 | 14.11.2022 20:22:28 | -3,600 | 8d02bf54cb666b471a97007423ac6d641dadffd0 | feat(testConnection): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"diff": "@@ -4,8 +4,10 @@ import Loading from \"@components/Loading\";\nimport React, { useState, useEffect } from \"react\";\nimport { useTransl... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(testConnection): render formatted sats |
244,503 | 14.11.2022 20:24:06 | -3,600 | a28ddefb181cc6330ec3a174dc8e546186af0ca6 | feat(lnurl): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay/index.tsx",
"new_path": "src/app/screens/LNURLPay/index.tsx",
"diff": "@@ -19,6 +19,7 @@ import { USER_REJECTED_ERROR } from \"~/common/constants\";\nimport lnurl from \"~/common/lib/lnurl\";\nimport msg from \"~/common/lib/msg\";\nimp... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(lnurl): render formatted sats |
244,503 | 14.11.2022 20:24:40 | -3,600 | 14794a4ea740c8265291bd983e6c451e62bd98f0 | feat(allowanceView): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/AllowanceView/index.tsx",
"new_path": "src/app/screens/Home/AllowanceView/index.tsx",
"diff": "@@ -13,6 +13,7 @@ import { Trans, useTranslation } from \"react-i18next\";\nimport { toast } from \"react-toastify\";\nimport { useSettings } fr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(allowanceView): render formatted sats |
244,503 | 14.11.2022 20:26:38 | -3,600 | 5222bafc452f8e853737c4d93789d45eee0c74d4 | feat(confirmpayment): render formatted sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.tsx",
"new_path": "src/app/screens/ConfirmPayment/index.tsx",
"diff": "@@ -17,6 +17,7 @@ import { useNavigationState } from \"~/app/hooks/useNavigationState\";\nimport { USER_REJECTED_ERROR } from \"~/common/constants\";\ni... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(confirmpayment): render formatted sats |
244,503 | 15.11.2022 11:50:04 | -3,600 | b5c81e267c5a3c4acf4ce37f9e9cd6e3b2afcdb3 | test: fallback to english locale | [
{
"change_type": "MODIFY",
"old_path": "src/common/utils/__tests__/currencyConvert.test.ts",
"new_path": "src/common/utils/__tests__/currencyConvert.test.ts",
"diff": "@@ -73,6 +73,17 @@ describe(\"Currency coversion utils\", () => {\nexpect(result).toBe(\"37.026,96\\xa0US$\");\n});\n+\n+ test(\"fal... | TypeScript | MIT License | getalby/lightning-browser-extension | test: fallback to english locale |
244,503 | 15.11.2022 11:50:33 | -3,600 | a13072e019185cb35d83bd015c6e9d569f474c4d | fix(allowanceView): correct helper | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/AllowanceView/index.tsx",
"new_path": "src/app/screens/Home/AllowanceView/index.tsx",
"diff": "@@ -13,7 +13,7 @@ import { Trans, useTranslation } from \"react-i18next\";\nimport { toast } from \"react-toastify\";\nimport { useSettings } fr... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(allowanceView): correct helper |
244,503 | 15.11.2022 12:56:20 | -3,600 | 194c0f2a4d4d2b03fb9c553e9c4f98be2c8e69be | refactor: rename -> getFormattedSats | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary/index.tsx",
"new_path": "src/app/components/PaymentSummary/index.tsx",
"diff": "import { FC } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSettings } from \"~/app/context/SettingsContext\";\n... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: rename -> getFormattedSats |
244,503 | 16.11.2022 18:20:53 | -3,600 | 8b3b5f85319d0b3c75e862a0f66a04b18a34866a | refactor: move formatting funcs to context | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary/index.tsx",
"new_path": "src/app/components/PaymentSummary/index.tsx",
"diff": "import { FC } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSettings } from \"~/app/context/SettingsContext\";\n... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move formatting funcs to context |
244,503 | 16.11.2022 18:22:18 | -3,600 | bdc6f1e5354e43f6eca5a78b4ff3261604c25478 | test: wrap components in SettingsProvider | [
{
"change_type": "MODIFY",
"old_path": "jest.setup.js",
"new_path": "jest.setup.js",
"diff": "@@ -10,6 +10,22 @@ import { server } from \"./tests/unit/helpers/server\";\n// fix \"This script should only be loaded in a browser extension.\" e.g. https://github.com/mozilla/webextension-polyfill/issues/... | TypeScript | MIT License | getalby/lightning-browser-extension | test: wrap components in SettingsProvider |
244,503 | 16.11.2022 18:23:20 | -3,600 | c889f35270462d141e49efc365e64b126c39e184 | test: extend useSettings mock where needed | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.test.tsx",
"new_path": "src/app/components/AllowanceMenu/index.test.tsx",
"diff": "@@ -14,6 +14,8 @@ jest.spyOn(SettingsContext, \"useSettings\").mockReturnValue({\nisLoading: false,\nupdateSetting: jest.fn(),\ngetFormatt... | TypeScript | MIT License | getalby/lightning-browser-extension | test: extend useSettings mock where needed |
244,509 | 17.11.2022 09:37:41 | -3,600 | 0f7162baefb84952da808e83d7b8adf614a43570 | Allow _ in Lightning addresses
This allows things like example_subdomain.example.com to be used as LN address | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -16,7 +16,7 @@ const fromInternetIdentifier = (address: string) => {\n// email regex: https://emailregex.com/\nif (\naddress.match(\n- /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\... | TypeScript | MIT License | getalby/lightning-browser-extension | Allow _ in Lightning addresses
This allows things like example_subdomain.example.com to be used as LN address |
244,472 | 25.11.2022 15:05:19 | -3,600 | 4cbf9cc5c31958e038e9e2a217d28433006142d8 | feat: implemented nip04 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"diff": "+import state from \"~/extension/background-script/state\";\n+import { MessageDecryptGet } from \"~/types\";\n+\n+const decryptOrPrompt = async (message: MessageDecryptG... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: implemented nip04 |
244,461 | 25.11.2022 10:00:53 | 21,600 | bddd05592b7478b520e60d120b62a14d86cc3b7b | chore: add webpack bundle analyzer to keep an eye on the bundle size | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@bitcoin-design/bitcoin-icons-react\": \"^0.1.9\",\n- \"@noble/secp256k1\": \"^1.7.0\",\n\"@headlessui/react\": \"^1.7.4\",\n+ \"@noble/secp256k1\": \"^1.7.0\",\n\"@tailwindcss/form... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add webpack bundle analyzer to keep an eye on the bundle size |
244,461 | 25.11.2022 10:04:42 | 21,600 | 6de7e03a58ada43e77c2e05978c2350858d0844d | chore: only open bundle anlyze file in production | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -210,6 +210,7 @@ var options = {\nanalyzerMode: 'static',\nreportFilename: '../bundle-report.html',\nstatsFilename: '../bundle-stats.json',\n+ openAnalyzer: nodeEnv !== \"development\",\n}),\n],\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: only open bundle anlyze file in production |
244,461 | 25.11.2022 10:20:10 | 21,600 | cf096683b0102a46bda75f858484ad967a48799a | feat: add publusher lnurl-auth badge | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Badge/index.tsx",
"new_path": "src/app/components/Badge/index.tsx",
"diff": "@@ -14,7 +14,7 @@ export default function Badge({ label, color, textColor, small }: Props) {\nreturn (\n<span\n- className={`inline-block leading-none rounded font-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add publusher lnurl-auth badge |
244,461 | 25.11.2022 13:59:13 | 21,600 | f0c35d03a8a6ae1b905bfd68d8072533a972dfc1 | fix: case insensitive bitcoin links | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -43,7 +43,7 @@ if (document) {\npaymentRequest = href.replace(\"lightning:\", \"\");\nlink = lightningLink;\n} else if (bitcoinLinkWithLighting) {\n- href = ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: case insensitive bitcoin links |
244,531 | 27.11.2022 10:14:23 | -3,600 | 0aeaedf495d518cda52123a40e60aba5b175a966 | added LNCal to Websites screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/websites.json",
"new_path": "src/app/screens/Publishers/websites.json",
"diff": "\"subtitle\": \"Earn sats for accomplishing tasks\",\n\"logo\": \"https://cdn.getalby-assets.com/alby-extension-website-screen/sats4likes.svg\",\n\"url\... | TypeScript | MIT License | getalby/lightning-browser-extension | added LNCal to Websites screen |
244,472 | 27.11.2022 14:33:11 | -3,600 | da31845d250d5ddfad29ea0ac1c44e436899a1dd | fix: refactored decrypt to crypto-js | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/nostr/index.ts",
"new_path": "src/extension/background-script/nostr/index.ts",
"diff": "@@ -5,7 +5,10 @@ import { signEvent } from \"../actions/nostr/helpers\";\nimport state from \"../state\";\nimport aes from 'browserify-ciphe... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: refactored decrypt to crypto-js |
244,472 | 27.11.2022 15:14:30 | -3,600 | 71dd5fc4cb6915c376f4b2a199f50a50c73b6f8a | fix: refactored encrypto to crypto-js | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/nostr/index.ts",
"new_path": "src/extension/background-script/nostr/index.ts",
"diff": "@@ -9,6 +9,7 @@ import { AES } from 'crypto-js';\nimport Hex from \"crypto-js/enc-hex\";\nimport Utf8 from \"crypto-js/enc-utf8\";\nimport B... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: refactored encrypto to crypto-js |
244,472 | 28.11.2022 11:34:35 | -3,600 | d74ac62ac2715953b94c4b49e7802fea6509c8d6 | Update src/extension/background-script/actions/nostr/decryptOrPrompt.ts | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"new_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"diff": "@@ -25,7 +25,7 @@ const prompt = async (message: MessageDecryptGet) => {\nreturn response;\n} catch (e) ... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/background-script/actions/nostr/decryptOrPrompt.ts
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,472 | 28.11.2022 11:34:48 | -3,600 | ea240b0e4b70973ea1eab531e93c6db2a3ba66cf | Update src/extension/background-script/actions/nostr/encryptOrPrompt.ts | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/nostr/encryptOrPrompt.ts",
"new_path": "src/extension/background-script/actions/nostr/encryptOrPrompt.ts",
"diff": "@@ -25,7 +25,7 @@ const prompt = async (message: MessageEncryptGet) => {\nreturn response;\n} catch (e) ... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/background-script/actions/nostr/encryptOrPrompt.ts
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,498 | 30.07.2022 15:19:48 | -28,800 | 3d2bfe9ee91d1a81b9ea7f3da3ed6d53ada3aec3 | chore: add workaround for swc above v205 | [
{
"change_type": "ADD",
"old_path": ".swc/plugins/v3/7ab397785d11b44dbaa6d72da9bc08793fe609b39284a1de794bcff940bcd0f0",
"new_path": ".swc/plugins/v3/7ab397785d11b44dbaa6d72da9bc08793fe609b39284a1de794bcff940bcd0f0",
"diff": "Binary files /dev/null and b/.swc/plugins/v3/7ab397785d11b44dbaa6d72da9bc08... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add workaround for swc above v205 |
244,498 | 18.11.2022 15:17:06 | -3,600 | 7939557c9f36016752081d0f8441e7c7b0eaa3d2 | chore(deps): update tests to get rid of extra dep | [
{
"change_type": "MODIFY",
"old_path": "jest.config.js",
"new_path": "jest.config.js",
"diff": "@@ -11,12 +11,6 @@ const swcConfig = {\n},\n},\ntarget: \"es2016\",\n- experimental: {\n- plugins: [[\"jest_workaround\", {}]],\n- },\n- },\n- module: {\n- type: \"commonjs\",\n},\nenv: {\ntargets: \"\",\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): update tests to get rid of extra dep |
244,498 | 29.11.2022 09:49:39 | -3,600 | 469bd2f37614ed3970c317bc561a3f54d613a6a1 | test(bluewallet): remove failing e2e test
we also test our own lndhub already | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/001-createWallets.spec.ts",
"new_path": "tests/e2e/001-createWallets.spec.ts",
"diff": "@@ -103,27 +103,6 @@ test.describe(\"Create or connect wallets\", () => {\nawait browser.close();\n});\n- test(\"successfully connects to BlueWallet\", async () =... | TypeScript | MIT License | getalby/lightning-browser-extension | test(bluewallet): remove failing e2e test
we also test our own lndhub already |
244,489 | 29.11.2022 18:22:48 | -28,800 | 8310a76f02d8620d3d43900647ce1cb41b6ccccc | docs: add alby banner to readme,modify readme | [
{
"change_type": "ADD",
"old_path": "doc/Alby-logo-figure-full.png",
"new_path": "doc/Alby-logo-figure-full.png",
"diff": "Binary files /dev/null and b/doc/Alby-logo-figure-full.png differ\n"
}
] | TypeScript | MIT License | getalby/lightning-browser-extension | docs: add alby banner to readme,modify readme |
244,489 | 29.11.2022 19:48:00 | -28,800 | e45cacc592e8d349d8042e2e63c6712ceed5257a | docs: add a svg alby logo | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "-<p align=\"center\" style=\" background-color: rgb(248,195,58)\">\n- <img width=\"300px\" src=\"/doc/Alby-logo-figure-full.png\">\n+<p align=\"center\">\n+ <img width=\"300px\" src=\"/doc/Alby-logo-figure-full.svg... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: add a svg alby logo |
244,525 | 29.11.2022 14:09:08 | -3,600 | e193dca0f1fff9f46a793c676bf67d88896c6e86 | Added translation using Weblate (Esperanto) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/i18n/locales/eo/translation.json",
"diff": "+{\n+ \"translation\": {\n+ \"welcome\": {\n+ \"title\": \"\",\n+ \"nav\": {\n+ \"welcome\": \"\",\n+ \"password\": \"\",\n+ \"connect\": \"\",\n+ \"done\": \"\"\n+ },\n+ \"intro\": {\n+ \"send\": ... | TypeScript | MIT License | getalby/lightning-browser-extension | Added translation using Weblate (Esperanto) |
244,461 | 29.11.2022 16:49:29 | 21,600 | db9d6c59fd2520b7308c55c9363b102de09a6922 | feat: nostr permissions | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Nostr/ConfirmGetPublicKey.tsx",
"new_path": "src/app/screens/Nostr/ConfirmGetPublicKey.tsx",
"diff": "@@ -2,6 +2,8 @@ import { CheckIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport ConfirmOrCancel from \"@components/ConfirmOr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: nostr permissions |
244,461 | 29.11.2022 18:15:57 | 21,600 | 732961272dfd0b6c6dcc3d273c0870f61f265abb | feat(nostr): add permissions to nostr nip04 methods | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -9,13 +9,14 @@ import LNURLChannel from \"@screens/LNURLChannel\";\nimport LNURLPay from \"@screens/LNURLPay\";\nimport LNURLWithdraw from \"@screens/LNURLWithdraw\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(nostr): add permissions to nostr nip04 methods |
244,489 | 30.11.2022 09:27:39 | -28,800 | b24ad55c1c9071365572486ba570f3b6369221a3 | docs: delete logo png file and run lint | [
{
"change_type": "DELETE",
"old_path": "doc/Alby-logo-figure-full.png",
"new_path": "doc/Alby-logo-figure-full.png",
"diff": "Binary files a/doc/Alby-logo-figure-full.png and /dev/null differ\n"
}
] | TypeScript | MIT License | getalby/lightning-browser-extension | docs: delete logo png file and run lint |
244,489 | 30.11.2022 15:46:09 | -28,800 | 35f359da79d84f587a61c926ec64a9e03f3e40c9 | test: extract test fixtures about allowances | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"new_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"diff": "import db from \"~/extension/background-script/db\";\n+import { mockAllowancesForAdd } f... | TypeScript | MIT License | getalby/lightning-browser-extension | test: extract test fixtures about allowances |
244,489 | 30.11.2022 17:34:54 | -28,800 | 3226df6920875baaea6b1d77f911a969809bdd89 | test: run lint fix code style | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"new_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"diff": "import db from \"~/extension/background-script/db\";\n-import { mockAllowancesForAdd } f... | TypeScript | MIT License | getalby/lightning-browser-extension | test: run lint fix code style |
244,461 | 30.11.2022 09:39:53 | 21,600 | 5d7a8c9db5ccb2d97e1ef6801d8d67bfdb642170 | chore: refactor permission check | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"new_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"diff": "import utils from \"~/common/lib/utils\";\n-import db from \"~/extension/background-script/db\";\nimport... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: refactor permission check |
244,498 | 24.11.2022 13:37:31 | -3,600 | a34e2646c519cdacfe4920b2933f89c0ff31cffd | chore(deps): update i18next and typescript | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dexie\": \"^3.2.2\",\n\"elliptic\": \"^6.5.4\",\n\"html5-qrcode\": \"^2.3.1\",\n- \"i18next\": \"^22.0.4\",\n+ \"i18next\": \"^22.0.6\",\n\"i18next-browser-languagedetector\": \"^7.0.1\",\n\"lnmessage\": \"... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): update i18next and typescript |
244,498 | 24.11.2022 13:38:22 | -3,600 | 15fd0c4789af87243e358b39b7bb61458a96f380 | feat(i18n): update coonfig to support TS | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/i18next.d.ts",
"diff": "+import { resources, defaultNS } from \"./i18n/i18nConfig\";\n+\n+declare module \"i18next\" {\n+ interface CustomTypeOptions {\n+ defaultNS: typeof defaultNS;\n+ resources: typeof resources[\"en\"];\n+ }\n+}\n"
}
] | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): update coonfig to support TS |
244,498 | 24.11.2022 15:29:44 | -3,600 | 7a486dd1592aee70d065e9e62900f41020e8fb5c | feat(i18n): fix e2e tests | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Badge/index.tsx",
"new_path": "src/app/components/Badge/index.tsx",
"diff": "@@ -13,7 +13,7 @@ export default function Badge({\ntextColor,\nsmall,\n}: Props) {\n- const { t } = useTranslation();\n+ const { t: tComponents } = useTranslation(\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): fix e2e tests |
244,461 | 30.11.2022 11:18:15 | 21,600 | c07cc965115937300fa134892e38fff860eb0577 | chore: load and initialize connector on unlock
This prevents potential race conditions to initialize the connector later on.
With this we make sure that once the extension is unlocked the connector is also initialized | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Unlock/index.tsx",
"new_path": "src/app/screens/Unlock/index.tsx",
"diff": "@@ -15,6 +15,7 @@ function Unlock() {\nconst [password, setPassword] = useState(\"\");\nconst [passwordView, setPasswordView] = useState(false);\nconst [error, setError... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: load and initialize connector on unlock
This prevents potential race conditions to initialize the connector later on.
With this we make sure that once the extension is unlocked the connector is also initialized |
244,489 | 01.12.2022 10:31:45 | -28,800 | fc7b7917e234e8a7e331467b124cdfb59490926e | test: remove confusing code | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"new_path": "src/extension/background-script/actions/allowances/__tests__/add.test.ts",
"diff": "import db from \"~/extension/background-script/db\";\n-import { getallowanceFixtureWithf... | TypeScript | MIT License | getalby/lightning-browser-extension | test: remove confusing code |
244,489 | 01.12.2022 13:35:26 | -28,800 | d308be1a619bc9c2e3c4904b19b61360337e9fad | docs: organize the contents of the document | [
{
"change_type": "MODIFY",
"old_path": "doc/Contribution.md",
"new_path": "doc/Contribution.md",
"diff": "We welcome and appreciate new contributions.\n-### Find a task\n+### Testnet/testing-accounts for development use Alby testnet\n-We use the [Development Project Board](https://github.com/orgs/ge... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: organize the contents of the document |
244,498 | 01.12.2022 10:51:40 | -3,600 | fcf585bebeecb544e501013811ece4b101cfc48f | test(unlock): update mockState | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/unlock.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/unlock.test.ts",
"diff": "@@ -15,6 +15,7 @@ const mockState = {\nid: \"1e1e8ea6-493e-480b-9855-303d37506e97\",\n... | TypeScript | MIT License | getalby/lightning-browser-extension | test(unlock): update mockState |
244,498 | 01.12.2022 11:47:36 | -3,600 | dd8fc882179b06e874084e1e00b961e57ea27470 | chore: align types | [
{
"change_type": "MODIFY",
"old_path": "src/types.ts",
"new_path": "src/types.ts",
"diff": "@@ -435,16 +435,10 @@ export interface RequestInvoiceArgs {\nmemo?: string;\n}\n-export interface IBadge {\n- label: \"active\" | \"auth\";\n- color: string;\n- textColor: string;\n-}\n-\nexport type Transact... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: align types |
244,472 | 01.12.2022 13:49:21 | -3,600 | 3fc7a6b7499343dbf247c94e7625ff103adbf731 | fix: overflow of website title | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublisherCard/index.tsx",
"new_path": "src/app/components/PublisherCard/index.tsx",
"diff": "@@ -59,7 +59,7 @@ export default function PublisherCard({\n>\n<h2\nclassName={\n- \"text-xl font-semibold dark:text-white overflow-hidden text-ellip... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: overflow of website title |
244,472 | 01.12.2022 16:13:15 | -3,600 | 1d9e9d3ef62ac7718eb8ab312232fe02bef2e6a5 | fix: add title prop | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublisherCard/index.tsx",
"new_path": "src/app/components/PublisherCard/index.tsx",
"diff": "@@ -58,6 +58,7 @@ export default function PublisherCard({\n}\n>\n<h2\n+ title={title}\nclassName={\n\"text-xl font-semibold dark:text-white overflow... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add title prop |
244,489 | 02.12.2022 10:22:47 | -28,800 | ef451904d5499fb23c1b40c384c24648f5a78df8 | docs: modify document contribution link | [
{
"change_type": "MODIFY",
"old_path": "doc/SETUP.md",
"new_path": "doc/SETUP.md",
"diff": "@@ -98,7 +98,3 @@ But happy to talk about if you think it's useful.\n## Contributing\nWe love collaborating with folks inside and outside of GitHub and welcome contributions!\n-\n-[Contribution guide for new ... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: modify document contribution link |
244,498 | 02.12.2022 09:48:07 | -3,600 | 565870d81da327bec5625e1d55c995ec351c8ef1 | fix(nostr): i18n | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"new_path": "src/extension/background-script/actions/nostr/decryptOrPrompt.ts",
"diff": "@@ -32,7 +32,7 @@ const decryptOrPrompt = async (message: MessageDecryptGet) => {\n...message,\naction: ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(nostr): i18n |
244,461 | 03.12.2022 17:32:36 | 21,600 | c3c176c4a7aea1525b455cc2cdbc95c296594216 | feat(vida.page): support meta tag on vida page | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/Vida.ts",
"new_path": "src/extension/content-script/batteries/Vida.ts",
"diff": "@@ -4,28 +4,49 @@ import { findLightningAddressInText, setLightningData } from \"./helpers\";\nconst urlMatcher = /^https:\\/\\/vida.page\\/... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(vida.page): support meta tag on vida page |
244,461 | 03.12.2022 17:33:14 | 21,600 | 55b65dd1b66f1f3158b02093245563d2c00850fb | chore: expand loading origin data from meta tags | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "@@ -510,6 +510,10 @@ const metaDataRules: Record<string, RuleSet> = {\n'meta[property=\"alby:image\"][content]',\n(element) => element.getAttribute(... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: expand loading origin data from meta tags |
244,461 | 03.12.2022 22:46:40 | 21,600 | 028451c2737e7448769aa11634e0f6ecd1ca312e | test: update tests for refactorings | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "import { render, screen } from \"@testing-library/react\";\nimport userEvent from \"@testing-library/user-event\";\nimport { act } from \"reac... | TypeScript | MIT License | getalby/lightning-browser-extension | test: update tests for refactorings |
244,461 | 04.12.2022 11:16:18 | 21,600 | de76f60e1e8c557b9127dbf793a0b92b72f70c76 | fix: add some exception handling
if getConnection() fails the user would not be able to unlock Alby and thus also
would not be able to choose a different account | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/unlock.ts",
"new_path": "src/extension/background-script/actions/accounts/unlock.ts",
"diff": "@@ -34,7 +34,14 @@ const unlock = async (message: MessageAccountUnlock) => {\nstate.setState({ password });\n// load... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add some exception handling
if getConnection() fails the user would not be able to unlock Alby and thus also
would not be able to choose a different account |
244,461 | 04.12.2022 11:51:34 | 21,600 | 0ee1d5f11ecd443961fd957bf00d8eba10180101 | chore: yarn lint | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay/index.tsx",
"new_path": "src/app/screens/LNURLPay/index.tsx",
"diff": "@@ -382,7 +382,8 @@ function LNURLPay() {\n)}\n</>\n</dl>\n- {details && details.minSendable !== details.maxSendable && (\n+ {details &&\n+ details.minSendable !== ... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: yarn lint |
244,461 | 04.12.2022 12:21:56 | 21,600 | 2d8e5d09745b0511e429619c1e4ae8333a02fec3 | feat: added blocklist note
the blocklist only takes effect after a page reload. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Enable/index.tsx",
"new_path": "src/app/screens/Enable/index.tsx",
"diff": "@@ -48,6 +48,9 @@ function Enable(props: Props) {\ndomain: props.origin.domain,\nhost: props.origin.host,\n});\n+ alert(\n+ `Added ${props.origin.host} to the blocklist... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added blocklist note
the blocklist only takes effect after a page reload. |
244,461 | 04.12.2022 12:50:59 | 21,600 | 441cc121d20e2a012577315dc77856a3fe6bd877 | feat: prevent multipe enable calls
This blocks any further webln/nostr enable calls if an enable call has failed (was rejected)
This should prevent the website from spamming the user with prompts | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/onend.js",
"new_path": "src/extension/content-script/onend.js",
"diff": "@@ -21,7 +21,8 @@ const weblnCalls = [\nconst disabledCalls = [\"webln/enable\"];\nlet isEnabled = false; // store if webln is enabled for this content page\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: prevent multipe enable calls
This blocks any further webln/nostr enable calls if an enable call has failed (was rejected)
This should prevent the website from spamming the user with prompts |
244,480 | 05.12.2022 21:44:25 | -19,080 | e53c1c59ac3045cd68336d49bafe28ecc53be5aa | refactor: form el for ConfirmorCancel | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmKeysend/index.tsx",
"new_path": "src/app/screens/ConfirmKeysend/index.tsx",
"diff": "@@ -123,11 +123,17 @@ function ConfirmKeysend() {\n});\n}\n+ function handleSubmit(event: React.FormEvent<HTMLFormElement>) {\n+ event.preventDefault();... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: form el for ConfirmorCancel #1617 |
244,461 | 29.11.2022 16:36:05 | 21,600 | 83ad14c574ddf6578587e4df01e532881796b768 | feat: bring back permission actions | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/permissions/__tests__/add.test.ts",
"diff": "+import db from \"~/extension/background-script/db\";\n+import type { DbAllowance, MessagePermissionAdd } from \"~/types\";\n+\n+import addPermission from \"../... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: bring back permission actions |
244,498 | 06.12.2022 16:16:11 | -3,600 | 6a3b02fd63ea216a89db7850118417a015a05f41 | fix: core-ln logo for light/dark theme | [
{
"change_type": "MODIFY",
"old_path": "static/assets/icons/core_ln.svg",
"new_path": "static/assets/icons/core_ln.svg",
"diff": "-<?xml version=\"1.0\" standalone=\"no\"?>\n-<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 20010904//EN\"\n- \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n-<svg... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: core-ln logo for light/dark theme |
244,461 | 06.12.2022 20:38:33 | -3,600 | f24885c59340a6425590f631446a15119859ba7f | chore: added blocked/unblocked text to translations | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Enable/index.tsx",
"new_path": "src/app/screens/Enable/index.tsx",
"diff": "@@ -48,9 +48,7 @@ function Enable(props: Props) {\ndomain: props.origin.domain,\nhost: props.origin.host,\n});\n- alert(\n- `Added ${props.origin.host} to the blocklist... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: added blocked/unblocked text to translations |
244,461 | 07.12.2022 04:30:58 | -3,600 | 89e9bb39629d6d178661376c2c02292e68351a93 | chore: cleanup dependencies
I think we do not use browserified crypto anymore... | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"bech32\": \"^2.0.0\",\n\"bolt11\": \"^1.4.0\",\n\"browser-polyfill\": \"^3.20.2\",\n- \"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.1.1\",\n\"dayjs\": \"^1.11.6\",\n\"dexie\": \"^3.2.2\",\n\"pret... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: cleanup dependencies
I think we do not use browserified crypto anymore... |
244,461 | 07.12.2022 04:34:18 | -3,600 | 81bbfde4f9fd4417aedd067e6f79e81cbd9eb71f | chore: remove browser-polyfill | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"axios\": \"^1.2.0\",\n\"bech32\": \"^2.0.0\",\n\"bolt11\": \"^1.4.0\",\n- \"browser-polyfill\": \"^3.20.2\",\n\"crypto-js\": \"^4.1.1\",\n\"dayjs\": \"^1.11.6\",\n\"dexie\": \"^3.2.2\",\n"
},
{
"cha... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove browser-polyfill |
244,497 | 07.12.2022 13:47:38 | -3,600 | 3d51c200e93dcafcc9091bbe59e2ad6c775d62c0 | refactor: lossy PNG compression with for largest
PNG files. | [
{
"change_type": "MODIFY",
"old_path": "static/assets/icons/galoy_bitcoin_beach.png",
"new_path": "static/assets/icons/galoy_bitcoin_beach.png",
"diff": "Binary files a/static/assets/icons/galoy_bitcoin_beach.png and b/static/assets/icons/galoy_bitcoin_beach.png differ\n"
},
{
"change_type":... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: lossy PNG compression with https://tinypng.com/ for largest
PNG files. |
244,461 | 07.12.2022 22:07:29 | -3,600 | 91f786d54596a9eb74dfdcba7dbfb6093809ee4f | fix: make sure we use correct locales to format the numbers
There are locales in the storage out there that have a _ | [
{
"change_type": "MODIFY",
"old_path": "src/common/utils/currencyConvert.ts",
"new_path": "src/common/utils/currencyConvert.ts",
"diff": "@@ -13,7 +13,8 @@ export const getFormattedFiat = (params: {\n}) => {\nconst fiatValue = Number(params.amount) * params.rate;\n- return new Intl.NumberFormat(para... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: make sure we use correct locales to format the numbers
There are locales in the storage out there that have a _ |
244,531 | 09.12.2022 12:35:19 | -3,600 | 37458f2967a4834df04dd757a33fb40bd66b0efb | added Lightsats and LNflip, removed Sparkshot
Sparkshot seems not active anymore | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/websites.json",
"new_path": "src/app/screens/Publishers/websites.json",
"diff": "\"subtitle\": \"Play Roulette with Bitcoin\",\n\"logo\": \"https://cdn.getalby-assets.com/alby-extension-website-screen/lightning-roulette_thumbnail.svg... | TypeScript | MIT License | getalby/lightning-browser-extension | added Lightsats and LNflip, removed Sparkshot
Sparkshot seems not active anymore |
244,497 | 09.12.2022 22:04:35 | -3,600 | e8b1fecb0c54d53380bca3aaab42dba184b0b346 | feat: load all dayjs I18n files. | [
{
"change_type": "MODIFY",
"old_path": "src/i18n/i18nConfig.ts",
"new_path": "src/i18n/i18nConfig.ts",
"diff": "-// dayjs locales must be imported as well\n+// dayjs locales must be imported as well, list: https://github.com/iamkun/dayjs/tree/dev/src/locale\n+import \"dayjs/locale/it\";\nimport \"da... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: load all dayjs I18n files. |
244,497 | 09.12.2022 22:16:24 | -3,600 | 6a04000bc1d20c7940902c182a0a395424a798d0 | refactor: ABC again!? | [
{
"change_type": "MODIFY",
"old_path": "src/i18n/i18nConfig.ts",
"new_path": "src/i18n/i18nConfig.ts",
"diff": "// dayjs locales must be imported as well, list: https://github.com/iamkun/dayjs/tree/dev/src/locale\n-import \"dayjs/locale/it\";\nimport \"dayjs/locale/es\";\n+import \"dayjs/locale/it\"... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: ABC again!? |
244,497 | 10.12.2022 21:53:46 | -3,600 | d7c1c2c1f08236433bf71a839b126be5ef72580c | refactor: Navbar: constrain max width to same width as the content.
Reason: on desktop the navigation items in the top left and right
corners were easy to miss. With this change, everything is closer
together and easier to notice. | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -7,7 +7,8 @@ type Props = {\nexport default function Navbar({ children }: Props) {\nreturn (\n- <div className=\"px-4 py-2 bg-white flex justify-between item... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: Navbar: constrain max width to same width as the content.
Reason: on desktop the navigation items in the top left and right
corners were easy to miss. With this change, everything is closer
together and easier to notice. |
244,497 | 12.12.2022 11:40:36 | -3,600 | 86c295a2dc1c73b950b500e8ad2f593b2eb0f712 | + adjust horizontal padding.
+ remove superfluous <div>. | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -8,15 +8,11 @@ type Props = {\nexport default function Navbar({ children }: Props) {\nreturn (\n<div className=\"px-4 py-2 bg-white border-b border-gray-200 ... | TypeScript | MIT License | getalby/lightning-browser-extension | + adjust horizontal padding.
+ remove superfluous <div>. |
244,466 | 14.12.2022 13:50:28 | -25,200 | 803ad8eb727edb98eee56f6e66ce25933800974b | docs: advise against running multiple extensions | [
{
"change_type": "MODIFY",
"old_path": "doc/SETUP.md",
"new_path": "doc/SETUP.md",
"diff": "To connect to a remote development LND node you can use a [test account](https://github.com/bumi/lightning-browser-extension/wiki/Test-setup)\n+### Multiple Extensions\n+\n+It is not recommended to have multi... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: advise against running multiple extensions |
244,466 | 14.12.2022 14:43:07 | -25,200 | 5ed6e2fd8dc174113af45d858e1aa6b881208988 | chore: add extra styling options to button | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "-import { forwardRef } from \"react\";\nimport type { Ref } from \"react\";\n+import { forwardRef } from \"react\";\nimport Loading from \"~/app/components/Loadin... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add extra styling options to button |
244,497 | 14.12.2022 12:04:13 | -3,600 | 3cf019e8111d629d024a75863793da2631a48273 | + Navbar: properly center `children` ("Websites" etc. links)
+ let `.justify-between` do the work and don't define widths on the
dropdown and hamburger menus.
+ add `.lg:-ml-2` to `children` since proper centering looks a bit
too much on the left (it's a human issue :). | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -8,12 +8,14 @@ type Props = {\nexport default function Navbar({ children }: Props) {\nreturn (\n<div className=\"px-4 py-2 bg-white border-b border-gray-200 ... | TypeScript | MIT License | getalby/lightning-browser-extension | + Navbar: properly center `children` ("Websites" etc. links)
+ let `.justify-between` do the work and don't define widths on the
dropdown and hamburger menus.
+ add `.lg:-ml-2` to `children` since proper centering looks a bit
too much on the left (it's a human issue :). |
244,497 | 14.12.2022 12:09:13 | -3,600 | b0abd6ee1bbbff946b43d84195232f0a3ae6c5c7 | remove superfluous wrapper divs. | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -9,16 +9,10 @@ export default function Navbar({ children }: Props) {\nreturn (\n<div className=\"px-4 py-2 bg-white border-b border-gray-200 dark:bg-surface-... | TypeScript | MIT License | getalby/lightning-browser-extension | remove superfluous wrapper divs. |
244,489 | 15.12.2022 13:34:52 | -28,800 | 295224320dbb468f85ccba92c31bd71a185d8384 | fix: lnurl auth return value cause error msg | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/auth.ts",
"new_path": "src/extension/background-script/actions/lnurl/auth.ts",
"diff": "@@ -89,7 +89,7 @@ export async function authFunction({\n);\n// if the service returned with a HTTP 200 we still check if the r... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lnurl auth return value cause error msg |
244,466 | 15.12.2022 13:36:06 | -25,200 | dcf7a0915accd10cbaf21467fb629e4de9d6e0fa | chore: remove alby wallet from connectors | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "@@ -9,11 +9,9 @@ import ConnectMyNode from \"@screens/connectors/ConnectMyNode\";\nimport ConnectRaspiBlitz from \"@screens/connectors/ConnectRaspiBlitz\";\nimport ... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove alby wallet from connectors |
244,466 | 15.12.2022 15:36:19 | -25,200 | a021a25b9c6cc9e60a8ac6783ab1d96a1e8a6e9d | feat: split account add screen | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/ConnectorPath/index.tsx",
"diff": "+type Props = {\n+ title: string;\n+ description: string;\n+ content: React.ReactNode;\n+ actions: React.ReactNode;\n+};\n+\n+function ConnectorPath({ title, description, content, actions }: ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: split account add screen |
244,466 | 15.12.2022 16:52:50 | -25,200 | 5f09b5f7068b8538fe748cb7993b9c483b4fe160 | docs: add more details to contributon document | [
{
"change_type": "MODIFY",
"old_path": "doc/CONTRIBUTION.md",
"new_path": "doc/CONTRIBUTION.md",
"diff": "@@ -30,7 +30,7 @@ When creating a PR please take this points as a reminder:\n- Think in iterations (babysteps)\\\nYou can always start a PR and if you feel like adding on more things to it, bett... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: add more details to contributon document |
244,500 | 15.12.2022 17:16:19 | -25,200 | 8b61c4e50ce084e705ebd7abf7f9a8bcd43d46c4 | docs: rename feature/ to feat/ | [
{
"change_type": "MODIFY",
"old_path": "doc/CONTRIBUTION.md",
"new_path": "doc/CONTRIBUTION.md",
"diff": "@@ -51,7 +51,7 @@ For better support we recommend these extensions:\n### Branch names\n-Please prefix your branch names with `feature/`, `fix/`, `chore/`, `refactor/`, `docs/` based on the inten... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: rename feature/ to feat/ |
244,466 | 15.12.2022 18:30:40 | -25,200 | 6082005d546dc12634e78f38e92e13670470e806 | chore: remove description from each entry on connector screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/LinkButton/index.tsx",
"new_path": "src/app/components/LinkButton/index.tsx",
"diff": "@@ -3,24 +3,20 @@ import { Link } from \"react-router-dom\";\ntype Props = {\nto: string;\ntitle: string;\n- description?: string;\nlogo?: string;\n};\n-e... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove description from each entry on connector screen |
244,466 | 15.12.2022 18:44:34 | -25,200 | 645b19dc8686adc48949d50e0a16581d31ab052c | chore: update commonCreateWalletUserCreate argument to make usage clearer | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/001-createWallets.spec.ts",
"new_path": "tests/e2e/001-createWallets.spec.ts",
"diff": "@@ -9,7 +9,9 @@ const { getByText, getByLabelText, findByLabelText, findByText } = queries;\nconst user = USER.SINGLE();\nconst commonCreateWalletUserCreate = asy... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update commonCreateWalletUserCreate argument to make usage clearer |
244,466 | 15.12.2022 19:09:58 | -25,200 | 1e2dbffd73b4609c0ff6c81a0d0a1dc29e8bb1ed | chore: add e2e test to connect to an existing alby wallet | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/001-createWallets.spec.ts",
"new_path": "tests/e2e/001-createWallets.spec.ts",
"diff": "import { test } from \"@playwright/test\";\nimport { USER } from \"complete-randomer\";\nimport { getDocument, queries } from \"pptr-testing-library\";\n+import {... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add e2e test to connect to an existing alby wallet |
244,497 | 15.12.2022 14:45:57 | -3,600 | 13d5a83399341ba187ba4bb5ba855c151bcaa8e9 | Update doc/SETUP.md | [
{
"change_type": "MODIFY",
"old_path": "doc/SETUP.md",
"new_path": "doc/SETUP.md",
"diff": "`$ yarn run dev:firefox`\n- Opera\\\n`$ yarn run dev:opera`\n- **NOTE:** by default, the extension built this way will talk to the development regtest API. In case you want to do manual tests against the prod... | TypeScript | MIT License | getalby/lightning-browser-extension | Update doc/SETUP.md
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,498 | 15.12.2022 15:43:50 | -3,600 | 2094c98c6a73b108459d0f70a57fa56e1be5547f | test(actions): authFunction success/fail | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/lnurl/__tests__/auth.test.ts",
"diff": "+import { settingsFixture as mockSettings } from \"~/../tests/fixtures/settings\";\n+import state from \"~/extension/background-script/state\";\n+import type { LNURL... | TypeScript | MIT License | getalby/lightning-browser-extension | test(actions): authFunction success/fail #1874 |
244,461 | 16.12.2022 21:55:29 | -3,600 | bfc24ef7c7fd91cada0c90bc7b7db2541ef43578 | feat: always focus prompt
This makes sure that the prompt is focussed every 2 seconds.
If the user "looses" the prompt this change brings the prompt in focus again. | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -80,6 +80,17 @@ const utils = {\ntabId = window.tabs[0].id;\n}\n+ // make sure that the prompt is always focussed\n+ // this interval focusses the prompt every 2 secons to make sure i... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: always focus prompt
This makes sure that the prompt is focussed every 2 seconds.
If the user "looses" the prompt this change brings the prompt in focus again. |
244,472 | 17.12.2022 11:19:29 | -3,600 | 68c32964371db153c94e33e24da5ee85e154eb64 | fix: window positioning | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -45,7 +45,7 @@ const utils = {\nopenUrl: (url: string) => {\nbrowser.tabs.create({ url });\n},\n- openPrompt: <Type>(message: {\n+ openPrompt: async <Type>(message: {\nargs: Record<st... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: window positioning |
244,489 | 19.12.2022 10:31:43 | -28,800 | 8945f03ea217b20f7fb47854a426bc7e14cd0320 | fix: allowances enable unit test | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/allowances/__tests__/enable.test.ts",
"new_path": "src/extension/background-script/actions/allowances/__tests__/enable.test.ts",
"diff": "@@ -22,7 +22,7 @@ utils.openPrompt = jest\n.fn()\n.mockReturnValue({ data: { enabl... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: allowances enable unit test |
244,503 | 15.12.2022 18:41:20 | -3,600 | 2bd9e81ea7c956147d1208857846a4bf5670caf0 | test: ln request | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"diff": "+import utils from \"~/common/lib/utils\";\n+import type Connector from \"~/extension/background-script/connectors/connector.interface\";\n+import db from \"~/extens... | TypeScript | MIT License | getalby/lightning-browser-extension | test: ln request |
244,503 | 15.12.2022 18:56:11 | -3,600 | 485eee01048bbe701c4fc625b5cdee8479513efd | test: ensure permission is correctly stored | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"new_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"diff": "@@ -228,7 +228,7 @@ describe(\"ln request\", () => {\n// prepare DB with a permission\nawait db.... | TypeScript | MIT License | getalby/lightning-browser-extension | test: ensure permission is correctly stored |
244,503 | 15.12.2022 19:00:30 | -3,600 | a38777323ff11b61b45217c9e6ff30d38334c742 | test: do not call open prompt | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"new_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"diff": "@@ -160,6 +160,9 @@ describe(\"ln request\", () => {\nmessage.args.method.toLowerCase(),\nmessag... | TypeScript | MIT License | getalby/lightning-browser-extension | test: do not call open prompt |
244,503 | 15.12.2022 19:09:57 | -3,600 | b4724d9d9c015bd06c1bf212d30f7d717da88b23 | refactor: better state mocking | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"new_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"diff": "import utils from \"~/common/lib/utils\";\nimport type Connector from \"~/extension/background-s... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: better state mocking |
244,503 | 15.12.2022 19:35:50 | -3,600 | 39b987a324551f1b0e59e496b010d27e3a464ed7 | fix: ensure toLowerCase can be called | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"new_path": "src/extension/background-script/actions/ln/__tests__/request.test.ts",
"diff": "@@ -145,6 +145,23 @@ describe(\"ln request\", () => {\nerror: \"Some API error\",\n});\n});\n+\n... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: ensure toLowerCase can be called |
244,531 | 19.12.2022 16:46:37 | -3,600 | ce57be12b1ee8b94e79ff0b577701f8fb40d7a18 | Added Vida to "Website" screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/websites.json",
"new_path": "src/app/screens/Publishers/websites.json",
"diff": "\"logo\": \"https://cdn.getalby-assets.com/alby-extension-website-screen/sats4likes.svg\",\n\"url\": \"https://www.sats4likes.com/\"\n},\n+ {\n+ \"title... | TypeScript | MIT License | getalby/lightning-browser-extension | Added Vida to "Website" screen (#1887) |
244,466 | 20.12.2022 11:26:48 | -25,200 | 6dd35107332c52568f288038dee98fa59e3da77c | feat: split alby login and sign up flows | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PasswordForm/index.tsx",
"new_path": "src/app/components/PasswordForm/index.tsx",
"diff": "@@ -7,17 +7,18 @@ import type { KeyPrefix } from \"i18next\";\nimport React, { useState } from \"react\";\nimport { useTranslation } from \"react-i18n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: split alby login and sign up flows |
244,466 | 20.12.2022 11:32:28 | -25,200 | 0afe936e698bb1caebac4d03c3a3e50d3f0db1ff | chore: fix e2e alby account create and login tests | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/001-createWallets.spec.ts",
"new_path": "tests/e2e/001-createWallets.spec.ts",
"diff": "@@ -109,6 +109,12 @@ test.describe(\"Create or connect wallets\", () => {\nconst walletPasswordField = await getByLabelText($document, \"Password\");\nawait walle... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: fix e2e alby account create and login tests |
244,466 | 20.12.2022 11:39:34 | -25,200 | e9257fb1757222c3aac26edb089b1aa0a72eac0d | chore: add unit tests for AlbyWallet connector | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/screens/connectors/AlbyWallet/index.test.tsx",
"diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+\n+import AlbyWallet from \"./index\";\n+\n+describe(\"Alby Wallet... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add unit tests for AlbyWallet connector |
244,466 | 20.12.2022 12:24:04 | -25,200 | 16d5a44fb000381cae0a62ec07b36e40cd6e10ae | chore: update alby wallet description copy and styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConnectorForm/index.tsx",
"new_path": "src/app/components/ConnectorForm/index.tsx",
"diff": "@@ -34,12 +34,12 @@ function ConnectorForm({\n<div className=\"relative lg:flex mt-14 bg-white dark:bg-surface-02dp px-10 py-12\">\n<div className=\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update alby wallet description copy and styling |
244,466 | 20.12.2022 12:27:20 | -25,200 | ccb9b774233b213354fcdc4b95283a75be511aa1 | chore: fix login account translation copy | [
{
"change_type": "MODIFY",
"old_path": "src/i18n/locales/en/translation.json",
"new_path": "src/i18n/locales/en/translation.json",
"diff": "},\n\"title\": \"Your Alby Wallet\",\n\"create_account\": \"Create your Lightning Wallet hosted by Alby.\\nYou can always regain access to Alby Wallet using the... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: fix login account translation copy |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.