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,472 | 26.04.2022 15:16:34 | -7,200 | 5d5133db8bbfaa52136934ca196f4e42abe0a34a | fix: darkmode on alby publishers | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/index.tsx",
"new_path": "src/app/screens/Publishers/index.tsx",
"diff": "@@ -67,7 +67,7 @@ function Publishers() {\n<div className=\"mb-12\">\n{websites.map(({ title, items }) => (\n<div className=\"mb-6\" key={title}>\n- <h4 classNa... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: darkmode on alby publishers |
244,495 | 26.04.2022 17:47:02 | -7,200 | 8704337e181c55556a5d0e68cf9e61f4a131014d | feat: replace invoices by bolt11 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"assert\": \"^2.0.0\",\n\"axios\": \"^0.26.1\",\n\"bech32\": \"^2.0.0\",\n+ \"bolt11\": \"^1.3.4\",\n\"browser-polyfill\": \"^3.20.2\",\n\"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.1.1\",\n\"htm... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: replace invoices by bolt11 |
244,495 | 26.04.2022 19:52:15 | -7,200 | 7e9d549bd25dc5221277bff9821523342b66c781 | feat: add paymentRequestDetails placeholder | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/keysend.ts",
"new_path": "src/extension/background-script/actions/ln/keysend.ts",
"diff": "@@ -31,20 +31,7 @@ export default async function keysend(message: Message) {\nutils.publishPaymentNotification(\nmessage,\n{\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add paymentRequestDetails placeholder |
244,472 | 27.04.2022 13:09:29 | -7,200 | d562916d8422524e6e5ae866e31ded95519e9227 | fix: lowercase video url, removed size attributes, removed fallback | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConnectorForm/index.tsx",
"new_path": "src/app/components/ConnectorForm/index.tsx",
"diff": "@@ -49,14 +49,8 @@ function ConnectorForm({\nclassName=\"flex-1 relative h-0\"\nstyle={{ paddingBottom: \"56.25%\" }}\n>\n- <video\n- className=\"ab... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lowercase video url, removed size attributes, removed fallback |
244,495 | 30.04.2022 09:26:44 | -7,200 | 2860412dc5e2556a93fcd68b7783275ad60d4725 | chore: upgrade to newest bolt11 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"assert\": \"^2.0.0\",\n\"axios\": \"^0.26.1\",\n\"bech32\": \"^2.0.0\",\n- \"bolt11\": \"^1.3.4\",\n+ \"bolt11\": \"^1.4.0\",\n\"browser-polyfill\": \"^3.20.2\",\n\"crypto-browserify\": \"^3.12.0\",\n\"cryp... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: upgrade to newest bolt11 |
244,495 | 30.04.2022 20:24:21 | -7,200 | 53044c4d0eb8881a01596961b0ebbbe4fe242263 | fix: suffix background color | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/Input/index.tsx",
"new_path": "src/app/components/form/Input/index.tsx",
"diff": "@@ -66,7 +66,7 @@ export default function Input({\n>\n{inputNode}\n<span\n- className=\"flex items-center pr-3 font-medium\"\n+ className=\"flex items-cen... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: suffix background color |
244,495 | 30.04.2022 20:24:53 | -7,200 | 32710d9efe4a88b3a9dfbd2cfb71af847300bfd8 | feat: center align screen header | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Header/index.tsx",
"new_path": "src/app/components/Header/index.tsx",
"diff": "@@ -6,12 +6,10 @@ type Props = {\nfunction Header({ title, headerLeft, headerRight }: Props) {\nreturn (\n- <div className=\"flex justify-between bg-white px-4 py... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: center align screen header |
244,495 | 30.04.2022 21:05:18 | -7,200 | 4608cddbad1ce693d8349db623499637180f0761 | feat: add qr-scanner into paste invoice field | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/Input/index.tsx",
"new_path": "src/app/components/form/Input/index.tsx",
"diff": "@@ -4,6 +4,7 @@ import { classNames } from \"../../../utils\";\ntype Props = {\nsuffix?: string;\n+ endAdornment?: React.ReactNode;\n};\nexport default fu... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add qr-scanner into paste invoice field |
244,495 | 30.04.2022 22:27:14 | -7,200 | 1a74a75d8165d638904d24ec8c89a070bb181be1 | fix: focus-within styles ignored by tailwind | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/Input/index.tsx",
"new_path": "src/app/components/form/Input/index.tsx",
"diff": "@@ -29,7 +29,7 @@ export default function Input({\n}: React.InputHTMLAttributes<HTMLInputElement> & Props) {\nconst inputEl = useRef<HTMLInputElement>(nul... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: focus-within styles ignored by tailwind |
244,461 | 25.03.2022 12:35:51 | -3,600 | 8ff83cd8d8ea149f072e12066d4e5be17abf22ca | fix(delete account): update currentAccountId only if needed
Select a new current account only in the case that the current account was deleted.
We store the currentAccountId in the state. This has to be updated if the account is deleted. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/delete.ts",
"new_path": "src/extension/background-script/actions/accounts/delete.ts",
"diff": "@@ -6,20 +6,27 @@ import state from \"../../state\";\nconst deleteAccount = async (message: Message) => {\nconst acc... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(delete account): update currentAccountId only if needed
Select a new current account only in the case that the current account was deleted.
We store the currentAccountId in the state. This has to be updated if the account is deleted. |
244,498 | 26.03.2022 18:34:50 | -28,800 | b385e7ab8a6e87b2f38a3328a650cac8bfbe7ccc | test(account): delete | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/accounts/__tests__/delete.test.ts",
"diff": "+import deleteAccount from \"../delete\";\n+import type { Message } from \"../../../../../types\";\n+import state from \"../../../state\";\n+\n+jest.mock(\"../.... | TypeScript | MIT License | getalby/lightning-browser-extension | test(account): delete |
244,498 | 30.03.2022 19:59:58 | -28,800 | 69f3e1c2901ae8000c7828b807337a20252c3d80 | refactor: add OriginDataInternal-type to handle internal messages | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -94,7 +94,7 @@ const utils = {\n},\nopenPrompt: <Type>(message: {\nargs: Record<string, unknown>;\n- origin: OriginData;\n+ origin: OriginData | OriginDataInternal;\ntype: string;\n})... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: add OriginDataInternal-type to handle internal messages |
244,498 | 02.04.2022 16:02:59 | -28,800 | ef2c0699b54f2a55d4ca4e8409cab8653325722c | test(account): delete non-currrent account | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/delete.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/delete.test.ts",
"diff": "@@ -2,11 +2,9 @@ import deleteAccount from \"../delete\";\nimport type { Message } fro... | TypeScript | MIT License | getalby/lightning-browser-extension | test(account): delete non-currrent account |
244,498 | 02.04.2022 16:03:50 | -28,800 | 9b203ddfe7a2e2b503e2177866e1f266e893466b | chore: remove citadel connectors to make jest setup work | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/index.ts",
"new_path": "src/extension/background-script/connectors/index.ts",
"diff": "@@ -6,8 +6,8 @@ import LnBits from \"./lnbits\";\nimport NativeLnBits from \"./nativelnbits\";\nimport Galoy from \"./galoy\";\nim... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove citadel connectors to make jest setup work |
244,498 | 02.04.2022 16:09:07 | -28,800 | 24bc2480f195ccbf4b34e71391a91ace351e3b39 | chore: update test title | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/delete.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/delete.test.ts",
"diff": "@@ -51,7 +51,7 @@ describe(\"delete account\", () => {\n});\n});\n- test(\"if non-curr... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update test title |
244,498 | 03.04.2022 14:43:09 | -28,800 | ed6ba5943d7200fb53b728a0ae5d6e916582749b | chore: update babel/jest config to handle npm-module optional transform
change citadel path to use dist
transform citadel in jest config | [
{
"change_type": "RENAME",
"old_path": ".babelrc",
"new_path": "babel.config.json",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "jest.config.ts",
"new_path": "jest.config.ts",
"diff": "@@ -6,6 +6,7 @@ module.exports = {\ntransform: {\n\"^.+\\\\.[t|j]sx?$\": \"babel-jest\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update babel/jest config to handle npm-module optional transform
- change citadel path to use dist
- transform citadel in jest config |
244,498 | 01.05.2022 11:03:11 | -28,800 | 7dcf0321a7573237e85f480caa83f4492718f7a8 | chore: import missing type | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -2,7 +2,7 @@ import { PaymentRequestObject } from \"bolt11\";\nimport PubSub from \"pubsub-js\";\nimport browser, { Runtime } from \"webextension-polyfill\";\nimport { SendPaymentResp... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: import missing type |
244,495 | 01.05.2022 21:53:45 | -7,200 | c46ee8fb5af14e7efe6306d27a480ae8808e20ba | fix: pressing enter opens qr code scanner | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -114,6 +114,7 @@ function Send() {\n}\nendAdornment={\n<button\n+ type=\"button\"\nclassName=\"flex justify-center items-center w-10 h-8\"\nonClick={() => setQrIsOpen(true)}\n>\n"
... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: pressing enter opens qr code scanner |
244,495 | 01.05.2022 22:28:17 | -7,200 | d5bb0baf2c26fd2be5244abbcbc5382d255eae64 | fix: menu bg color bugs | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/IconButton/index.tsx",
"new_path": "src/app/components/IconButton/index.tsx",
"diff": "@@ -6,7 +6,7 @@ type Props = {\nfunction IconButton({ onClick, icon }: Props) {\nreturn (\n<button\n- className=\"flex justify-center items-center w-8 h-8... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: menu bg color bugs |
244,495 | 02.05.2022 13:03:27 | -7,200 | adabae3e3eed1581ea6298696609c17e4d8828bc | feat: light mode adjustments | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -61,7 +61,7 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\n<div\nclassName={`flex-auto mx-2 py-1 ${!title && !subtitle ? ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: light mode adjustments |
244,469 | 02.05.2022 15:14:37 | 25,200 | c1563373688c5f826fc8977af73f03e8d921676e | added default shortcut command | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "\"__firefox__browser_style\": false\n},\n+ \"commands\": {\n+ \"_execute_browser_action\": {\n+ \"suggested_key\": {\n+ \"default\": \"Alt+Shift+A\"\n+ }\n+ }\n+ },\n+\n\"options_ui\": {\n\"page\": ... | TypeScript | MIT License | getalby/lightning-browser-extension | added default shortcut command |
244,461 | 03.05.2022 17:01:22 | -7,200 | 78aa41d7e639a73219401afa1d11f8abce1d34c6 | style: less emphasize on creating an Alby account as users now can also login | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "@@ -31,8 +31,8 @@ export default [\n{\npath: \"create-wallet\",\nelement: <NewWallet />,\n- title: \"Create a new wallet\",\n- description: \"We create and manage a... | TypeScript | MIT License | getalby/lightning-browser-extension | style: less emphasize on creating an Alby account as users now can also login |
244,472 | 03.05.2022 18:09:02 | -7,200 | 56891deeb796966ea95fcade43c96ca240a0952a | feat: reorganize settings page | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -77,46 +77,6 @@ function Settings() {\n)}\n</Setting>\n- <Setting\n- title=\"User Display Name\"\n- subtitle=\"For sending along with LNURL payments when supported\"\n- >\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: reorganize settings page |
244,461 | 04.05.2022 10:52:58 | -7,200 | ede16dd1d483f4f709ebd41aae11d4b0c9b0ec52 | style: update text | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "@@ -31,8 +31,8 @@ export default [\n{\npath: \"create-wallet\",\nelement: <NewWallet />,\n- title: \"Alby wallet\",\n- description: \"We manage a lightning wallet f... | TypeScript | MIT License | getalby/lightning-browser-extension | style: update text |
244,461 | 04.05.2022 10:55:32 | -7,200 | 3d255798cca471725e21235f16d19798601686be | chore: remove faucet
Some funny people tried to abuse it. And we'll only give some sats to Alby signups now. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -10,9 +10,6 @@ on:\njobs:\nbuild:\nruns-on: ubuntu-latest\n- env:\n- FAUCET_URL: ${{ secrets.FAUCET_URL }}\n- FAUCET_K: ${{ secrets.FAUCET_K }}\nname: build-prod\n"
},
{
... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove faucet
Some funny people tried to abuse it. And we'll only give some sats to Alby signups now. |
244,495 | 04.05.2022 11:11:36 | -7,200 | 79cfbf265068473916202f90eaa458c35f7ac76a | feat: replace card style | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConfirmOrCancel/index.tsx",
"new_path": "src/app/components/ConfirmOrCancel/index.tsx",
"diff": "@@ -19,7 +19,7 @@ function ConfirmOrCancel({\n}: Props) {\nreturn (\n<div className=\"text-center\">\n- <div className=\"mb-5\">\n+ <div classNa... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: replace card style |
244,461 | 04.05.2022 11:23:46 | -7,200 | 45a8e97a2043317dde056521d9858b746dd03c2f | feat(invoice prompt): use textfield only if attributes can be edited | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -99,8 +99,8 @@ function Prompt() {\npath=\"makeInvoice\"\nelement={\n<MakeInvoice\n- amountDisabled={routeParams.args.amountDisabled as boolean}\n- memoDisabled={rou... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(invoice prompt): use textfield only if attributes can be edited |
244,495 | 04.05.2022 12:04:59 | -7,200 | 4ff4494eab22df7d08659efcc107201c3594f54e | refactor: more legible text | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -36,7 +36,7 @@ const Dt = ({ children }: { children: React.ReactNode }) => (\n);\nconst Dd = ({ children }: { children: React.ReactNode }) => (\n- <dd className=\"mb-4 dark:... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: more legible text |
244,461 | 04.05.2022 13:11:52 | -7,200 | 9ef4e3c1aed4ce7461c070373b06b52987dc3dc9 | style: try to match new non-card style | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/MakeInvoice.tsx",
"new_path": "src/app/screens/MakeInvoice.tsx",
"diff": "@@ -22,11 +22,11 @@ type Props = {\n};\nconst Dt = ({ children }: { children: React.ReactNode }) => (\n- <dt className=\"font-medium text-gray-500\">{children}</dt>\n+ <d... | TypeScript | MIT License | getalby/lightning-browser-extension | style: try to match new non-card style |
244,461 | 04.05.2022 13:21:57 | -7,200 | 63625630242436ce9d5f215383b7f7c5857bd593 | style: use a bit more spacing | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/MakeInvoice.tsx",
"new_path": "src/app/screens/MakeInvoice.tsx",
"diff": "@@ -91,7 +91,7 @@ function MakeInvoice({\n<p className=\"font-semibold text-gray-500 mb-4\">\n{origin.host} requests an invoice:\n</p>\n- <div>\n+ <div className=\"mt-4\"... | TypeScript | MIT License | getalby/lightning-browser-extension | style: use a bit more spacing |
244,461 | 04.05.2022 13:24:32 | -7,200 | d74caa51265ec7e14209892ef763227b39eb7b95 | style: remove white background (left over from the card style) | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/MakeInvoice.tsx",
"new_path": "src/app/screens/MakeInvoice.tsx",
"diff": "@@ -107,7 +107,7 @@ function MakeInvoice({\n</>\n)}\n{!amountEditable && (\n- <dl className=\"bg-white dark:bg-surface-02dp pt-4 overflow-hidden\">\n+ <dl className=\"dar... | TypeScript | MIT License | getalby/lightning-browser-extension | style: remove white background (left over from the card style) |
244,465 | 04.05.2022 20:13:18 | -28,800 | 0ccf1c10e1b548f94dd5d2a1f62473e1822f5f76 | feat(toasts): add react toastify to test handing error popops | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-palette\": \"^1.0.2\",\n\"react-qr-code\": \"^2.0.7\",\n\"react-router-dom\": \"^6.3.0\",\n+ \"react-toastify\": \"^9.0.0\",\n\"stream\": \"^0.0.2\",\n\"tailwindcss\": \"^3.0.24\",\n\"uuid\": \"^8.3.2... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(toasts): add react toastify to test handing error popops |
244,461 | 04.05.2022 15:00:42 | -7,200 | 98825d1d72fbd6db58eba7b066b510e949d75c21 | feat: dispatch JS events when webln is ready and a payment for a lightning link succeeded | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -3,6 +3,9 @@ import WebLNProvider from \"../ln/webln\";\nif (document) {\nwindow.webln = new WebLNProvider();\n+ const readyEvent = new Event(\"webln:ready\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: dispatch JS events when webln is ready and a payment for a lightning link succeeded |
244,461 | 04.05.2022 15:24:13 | -7,200 | 92f2010f8a10008d65d5cae77938132b8446bc88 | feat(lnurl): return the lnurl payment response to webln
This causes the window to close. But we assume when it's called through webln this is intended. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -203,6 +203,12 @@ function LNURLPay(props: Props) {\n}\nauth.fetchAccountInfo(); // Update balance.\n+\n+ // ATTENTION: if this LNURL is called through `webln.lnurl` then we... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(lnurl): return the lnurl payment response to webln
This causes the window to close. But we assume when it's called through webln this is intended. |
244,461 | 04.05.2022 17:34:15 | -7,200 | 563c436dcee2e98a66df8ed752c585704207ce09 | fix: add enabled check to content script | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/index.js",
"new_path": "src/extension/content-script/index.js",
"diff": "@@ -15,8 +15,13 @@ const weblnCalls = [\n\"signMessageOrPrompt\",\n\"verifyMessage\",\n];\n+// calls that can be executed when webln is not enabled for the cu... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add enabled check to content script |
244,495 | 09.05.2022 19:00:01 | -7,200 | ddb7a282b4f7ea523e02d6c7e63e7171f81d05c1 | chore: update old sats4likes link | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/websites.json",
"new_path": "src/app/screens/Publishers/websites.json",
"diff": "\"title\": \"Sats for Likes\",\n\"subtitle\": \"Earn sats for accomplishing tasks\",\n\"logo\": \"https://cdn.getalby-assets.com/alby-extension-website-... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update old sats4likes link |
244,495 | 10.05.2022 09:54:16 | -7,200 | b9308b90621aad30880a244cb40bb9cdcfd460cd | fix: infinite loop upon refreshing the choose connector screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -66,7 +66,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\nutils.openPage(\"welcome.html\");\nwindow.close();\n} else if (response.unl... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: infinite loop upon refreshing the choose connector screen |
244,495 | 10.05.2022 11:33:24 | -7,200 | 89b92c1eaee7dd64ceb120fc3aa3b67ed81eaae3 | fix: error alert after closing prompt | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmKeysend/index.tsx",
"new_path": "src/app/screens/ConfirmKeysend/index.tsx",
"diff": "@@ -5,6 +5,7 @@ import PaymentSummary from \"@components/PaymentSummary\";\nimport utils from \"~/common/lib/utils\";\nimport getOriginData from \"~/ext... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: error alert after closing prompt |
244,495 | 10.05.2022 15:12:21 | -7,200 | 032d03208a9c65f9753f658c60d7136bab0265d5 | feat: update payment summary styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/BudgetControl/index.tsx",
"new_path": "src/app/components/BudgetControl/index.tsx",
"diff": "@@ -18,7 +18,7 @@ function BudgetControl({\nonBudgetChange,\n}: Props) {\nreturn (\n- <div className=\"mb-8\">\n+ <div className=\"mb-6\">\n<div cla... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: update payment summary styling |
244,461 | 10.05.2022 15:39:13 | -7,200 | 24bb378f4b693af51b483d7b63a47d56b7bcbfc5 | feat: bubble lightning:success events | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -70,10 +70,12 @@ if (document) {\n.sendPayment(paymentRequest)\n.then((r) => {\nconst responseEvent = new CustomEvent(\"lightning:success\", {\n+ bubbles: tr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: bubble lightning:success events |
244,495 | 10.05.2022 15:54:06 | -7,200 | 16c296c65698021f4e1daf241c252645df0033ec | fix: lnurl auth ts error | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/auth.ts",
"new_path": "src/extension/background-script/actions/lnurl/auth.ts",
"diff": "@@ -170,7 +170,8 @@ async function auth(lnurlDetails: LNURLDetails) {\nif (axios.isAxiosError(e)) {\nconsole.error(\"LNURL-AUT... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lnurl auth ts error |
244,477 | 10.05.2022 21:47:18 | 14,400 | d38a567613df378fc1fc8dae21886d5b6acaee46 | feat(i18n): add main welcome screens to en.json | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "import { useEffect, useState } from \"react\";\nimport { HashRouter as Router, useRoutes, useLocation } from \"react-router-dom\";\nimport { useTranslation } from \... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): add main welcome screens to en.json |
244,465 | 11.05.2022 17:00:40 | -28,800 | 32a7aaca50796ea6d596ff3b5885008e5bba1638 | feat: start adding toasts to main alby screen, pop up and prompt | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.tsx",
"new_path": "src/app/router/Options/Options.tsx",
"diff": "@@ -18,6 +18,7 @@ import Unlock from \"@screens/Unlock\";\nimport ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport Accounts from \"@screens/Acc... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: start adding toasts to main alby screen, pop up and prompt |
244,465 | 11.05.2022 17:01:40 | -28,800 | 30c075f4abab1e10b40d7fe222ccad0a147bac8d | fix: disable button and input while checking valid lightning address | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -110,6 +110,7 @@ function Send() {\nlabel=\"Lightning Invoice\"\nplaceholder=\"Paste invoice, lnurl or lightning address\"\nvalue={invoice}\n+ disabled={loading}\nonChange={(event: ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: disable button and input while checking valid lightning address |
244,465 | 11.05.2022 18:23:21 | -28,800 | 30ad59e137d7e53194aa6070e048025378fc15fa | feat: finish adding toasts to other screens | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.tsx",
"new_path": "src/app/components/QrcodeScanner/index.tsx",
"diff": "@@ -3,6 +3,7 @@ import { QrCodeIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { Html5Qrcode, Html5QrcodeScannerState } from \"h... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: finish adding toasts to other screens |
244,495 | 10.05.2022 16:30:55 | -7,200 | f715c53694327eaaa5d9970693a8f62b8a619ebb | chore: update webextension-polyfill | [
{
"change_type": "MODIFY",
"old_path": "jest.setup.ts",
"new_path": "jest.setup.ts",
"diff": "// expect(element).toHaveTextContent(/react/i)\n// learn more: https://github.com/testing-library/jest-dom\nimport \"@testing-library/jest-dom\";\n+\n+// fix \"This script should only be loaded in a browser... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update webextension-polyfill |
244,495 | 11.05.2022 14:57:27 | -7,200 | 1b185c49602086adc0b4067feedf0ee4980991b4 | Update jest.setup.ts | [
{
"change_type": "MODIFY",
"old_path": "jest.setup.ts",
"new_path": "jest.setup.ts",
"diff": "// learn more: https://github.com/testing-library/jest-dom\nimport \"@testing-library/jest-dom\";\n-// fix \"This script should only be loaded in a browser extension.\"\n+// fix \"This script should only be... | TypeScript | MIT License | getalby/lightning-browser-extension | Update jest.setup.ts
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,477 | 11.05.2022 16:31:58 | 14,400 | 503db64662e9aae93eb40515e6c87ebf576f8e27 | refactor(i18n): change vague 'namespace' var to 'namespaceI18n' | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -14,25 +14,25 @@ import ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport TestConnection from \"@screens/Onboard/TestConnection\";\nimport Lo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): change vague 'namespace' var to 'namespaceI18n' |
244,461 | 11.05.2022 22:48:33 | -7,200 | 37110dc69ab5772e39ff80139ebf56855f2f99c6 | feat: support paths on the LND URL
Currently we replace the path - assuming that the REST API runs on the root path.
This change now appends the LND API path | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -236,7 +236,7 @@ class Lnd implements Connector {\ndefaultValues?: Record<string, unknown>\n): Promise<Type> {\nconst url = new URL... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: support paths on the LND URL
Currently we replace the path - assuming that the REST API runs on the root path.
This change now appends the LND API path |
244,509 | 12.05.2022 18:07:36 | 0 | 68b7695183a57bdbcaaeed8496f25f29e954ae01 | fix: lndconnect workaround for Firefox | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectMyNode/index.tsx",
"new_path": "src/app/screens/connectors/ConnectMyNode/index.tsx",
"diff": "@@ -20,8 +20,10 @@ export default function ConnectMyNode() {\nfunction handleLndconnectUrl(event: React.ChangeEvent<HTMLInputElement... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lndconnect workaround for Firefox |
244,523 | 15.05.2022 16:06:29 | -28,800 | 9e8c37a0af154ca253ef82b698dfc000da0489ea | Update src/app/router/Options/Options.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.tsx",
"new_path": "src/app/router/Options/Options.tsx",
"diff": "@@ -100,7 +100,7 @@ const Layout = () => {\n}\nsubtitle={\ntypeof auth.account?.balance === \"number\"\n- ? `${auth.account.balance} satsssss`\n+ ? `${auth.account.... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/app/router/Options/Options.tsx
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,465 | 15.05.2022 16:12:53 | -28,800 | 12747c2ec5a416eb88d62292e7407cc915f10f7a | fix: remove extra css import | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.tsx",
"new_path": "src/app/screens/ConfirmPayment/index.tsx",
"diff": "-import \"react-toastify/dist/ReactToastify.css\";\nimport { useRef, useState } from \"react\";\nimport { useNavigate, useSearchParams } from \"react-ro... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: remove extra css import |
244,477 | 16.05.2022 09:37:10 | 14,400 | d6bf46b15bd9aeafb32d7c9153154b58020f1a13 | refactor(i18n): change en.json connector strings for clarity | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -14,25 +14,32 @@ import ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport TestConnection from \"@screens/Onboard/TestConnection\";\nimport Lo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): change en.json connector strings for clarity |
244,477 | 16.05.2022 10:17:11 | 14,400 | ce2411323df7c1e1014fac635fb0ca61c63f39a9 | refactor(i18n): abstract namespaces into file | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -13,8 +13,7 @@ import SetPassword from \"@screens/Onboard/SetPassword\";\nimport ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport TestConnec... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): abstract namespaces into file |
244,477 | 16.05.2022 23:57:20 | 14,400 | 72d0758bdce160eafc1b27cd40ba0c108c73bb6b | refactor(i18n): rename namespace file | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -13,7 +13,7 @@ import SetPassword from \"@screens/Onboard/SetPassword\";\nimport ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport TestConnec... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): rename namespace file |
244,477 | 17.05.2022 00:42:07 | 14,400 | edb60ed67bff920ece04fb6f466a59ff87425938 | refactor(i18n): change key 'button' to 'actions' | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/Intro/index.tsx",
"new_path": "src/app/screens/Onboard/Intro/index.tsx",
"diff": "@@ -54,7 +54,7 @@ export default function Intro() {\n<Button\nonClick={() => navigate(\"/set-password\")}\ntype=\"button\"\n- label={t(\"intro.buttons.get... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): change key 'button' to 'actions' |
244,498 | 18.05.2022 16:52:39 | -28,800 | 9ed3b0bb38f4a12c9ea3509395966f79e1620486 | chore(deps): copy-webpack-plugin v11 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"babel-plugin-import\": \"^1.13.5\",\n\"buffer\": \"^6.0.3\",\n\"clean-webpack-plugin\": \"^4.0.0\",\n- \"copy-webpack-plugin\": \"^10.2.4\",\n+ \"copy-webpack-plugin\": \"^11.0.0\",\n\"cross-env\": \"^7.0.3... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): copy-webpack-plugin v11 |
244,477 | 18.05.2022 08:51:01 | 14,400 | a7c2ba4d3cc520167ea24d4243c40942001119df | feat(i18n): add TestConnection strings | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/TestConnection/index.tsx",
"new_path": "src/app/screens/Options/TestConnection/index.tsx",
"diff": "import { useState, useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\n+import { useTranslation } from \"rea... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): add TestConnection strings |
244,477 | 18.05.2022 18:49:22 | 14,400 | 266d9a806d350af0dde91c0ab7af35e4602fc91a | refactor(i18n): rename pre/post_login to pre/post_connect | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/NewWallet/index.tsx",
"new_path": "src/app/screens/connectors/NewWallet/index.tsx",
"diff": "@@ -54,7 +54,7 @@ export default function NewWallet() {\nconsole.error(data);\nalert(\n`${t(\n- \"choose_connector.alby.pre_login.errors.cre... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): rename pre/post_login to pre/post_connect |
244,477 | 18.05.2022 19:06:14 | 14,400 | b8ed0b53191dcefbdf88d094dc7c757ad75f5716 | feat(i18n): add Unlock strings | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Unlock/index.tsx",
"new_path": "src/app/screens/Unlock/index.tsx",
"diff": "import React, { useState } from \"react\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\n+import { useTranslation } from \"react-i18next\";\nimport u... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): add Unlock strings |
244,477 | 18.05.2022 21:23:33 | 14,400 | 956c4ffe9af257e060ea75e104569e5ebd69f19e | feat(i18n): remove namespaces and add ext provider
Removed namespaces for simplification, since we're only using single file
per language. Namespace now defaults to "translation"
Added "Unlock" screen strings to en.json
Added i18nextProvider component in Popup.js so that the extension
can use translations | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.tsx",
"new_path": "src/app/router/Popup/Popup.tsx",
"diff": "@@ -9,6 +9,8 @@ import LNURLPay from \"@screens/LNURLPay\";\nimport ConfirmPayment from \"@screens/ConfirmPayment\";\nimport { AuthProvider } from \"~/app/context/AuthConte... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): remove namespaces and add ext provider
- Removed namespaces for simplification, since we're only using single file
per language. Namespace now defaults to "translation"
- Added "Unlock" screen strings to en.json
- Added i18nextProvider component in Popup.js so that the extension
can use translation... |
244,498 | 19.05.2022 13:47:26 | -28,800 | 36bdc4edd42581fe7f9b306e8c6e201b4c3045ee | chore: update browser targets | [
{
"change_type": "MODIFY",
"old_path": "babel.config.json",
"new_path": "babel.config.json",
"diff": "\"useBuiltIns\": false,\n// Do not transform modules to CJS\n\"modules\": false,\n- \"targets\": {\n- \"chrome\": \"49\",\n- \"firefox\": \"52\",\n- \"opera\": \"36\",\n- \"edge\": \"79\"\n- },\n+ \... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update browser targets |
244,495 | 18.05.2022 17:26:50 | -7,200 | 1224f1083adf8e6a7e7ef238a7405a3f7f336ab8 | refactor: input label should be inline | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/TextField.tsx",
"new_path": "src/app/components/form/TextField.tsx",
"diff": "@@ -29,10 +29,7 @@ const TextField = ({\nendAdornment,\n}: React.InputHTMLAttributes<HTMLInputElement> & Props) => (\n<>\n- <label\n- htmlFor={id}\n- classNam... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: input label should be inline |
244,498 | 18.05.2022 16:41:37 | -28,800 | f795b4322094c5cacb1b30e8eabe38111be97911 | chore(deps): update jest to v28 | [
{
"change_type": "MODIFY",
"old_path": "jest.config.ts",
"new_path": "jest.config.ts",
"diff": "-const { pathsToModuleNameMapper } = require(\"ts-jest\");\n-const { compilerOptions } = require(\"./tsconfig\");\n+import { pathsToModuleNameMapper } from \"ts-jest\";\n+import { compilerOptions } from \... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): update jest to v28 |
244,498 | 19.05.2022 16:23:14 | -28,800 | 59edffe644779fe15e2020588c1b0978b5487ce0 | refactor: jest v28 Uint8Array handling
some QRcode scan related tests fail if we do not define Uint8Array | [
{
"change_type": "MODIFY",
"old_path": "jest.custom-test-environment.ts",
"new_path": "jest.custom-test-environment.ts",
"diff": "@@ -2,14 +2,19 @@ import { TestEnvironment } from \"jest-environment-jsdom\";\nclass CustomEnvironment extends TestEnvironment {\nconstructor({ globalConfig, projectConfi... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: jest v28 Uint8Array handling
some QRcode scan related tests fail if we do not define Uint8Array
Co-authored-by: Dylan <dylancompanjen@gmail.com> |
244,498 | 19.05.2022 16:45:41 | -28,800 | 1f3a3046ce6262f01d358518fafae59c823aaf34 | chore(deps): chrome types | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@testing-library/jest-dom\": \"^5.16.3\",\n\"@testing-library/react\": \"^13.2.0\",\n\"@testing-library/user-event\": \"^14.1.1\",\n- \"@types/chrome\": \"^0.0.186\",\n+ \"@types/chrome\": \"^0.0.187\",\n\"... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): chrome types |
244,498 | 19.05.2022 17:34:02 | -28,800 | 24cc8abde6699cbb268751883c1f894290fb1f10 | docs: use correct swagger URL | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -120,7 +120,7 @@ If this is not reachable please let us know.\n- [Test-setup](https://github.com/getAlby/lightning-browser-extension/wiki/Test-setup) for different connectors (i.e. LND)\n- [RTL](https://rtl.regt... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: use correct swagger URL
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,477 | 19.05.2022 08:52:14 | 14,400 | d93c941cc5e2e605ff044763f6d4928fcf21f6ea | refactor(i18n): use multiple translation files | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -2,6 +2,7 @@ import { useEffect, useState } from \"react\";\nimport { HashRouter as Router, useRoutes, useLocation } from \"react-router-dom\";\nimport { useTran... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): use multiple translation files |
244,477 | 19.05.2022 09:13:46 | 14,400 | 49eb3a3c981208aeffc63e27e8effda7027dc4d8 | feat(i18n): shorten keys using keyPrefixes | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/SetPassword/index.tsx",
"new_path": "src/app/screens/Onboard/SetPassword/index.tsx",
"diff": "@@ -20,7 +20,9 @@ export default function SetPassword() {\nconst navigate = useNavigate();\nconst [formData, setFormData] = useState(initialFo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): shorten keys using keyPrefixes |
244,477 | 19.05.2022 23:12:49 | 14,400 | a11c9775f2d4d7c43aaec42109641bf4dcd63d16 | fix(i18n): missing string | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/NewWallet/index.tsx",
"new_path": "src/app/screens/connectors/NewWallet/index.tsx",
"diff": "@@ -138,6 +138,7 @@ export default function NewWallet() {\n<div className=\"mt-6 dark:text-white\">\n<p>\n<strong>\n+ {t(\"choose_connector.... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(i18n): missing string |
244,498 | 20.05.2022 14:49:57 | -28,800 | 25926eb7b2273e0e2201b3dd3ff4f41e7ed29c23 | chore(ci): split up codequality workflow | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/linting.yml",
"diff": "+name: Code quality - linting\n+\n+on:\n+ push:\n+ branches:\n+ - master\n+ pull_request:\n+ types: [opened, synchronize]\n+\n+jobs:\n+ codequality:\n+ runs-on: ubuntu-latest\n+\n+ steps:\n+ - uses: actio... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(ci): split up codequality workflow #912 |
244,461 | 20.05.2022 19:04:24 | -7,200 | e6b07a18d554823eb2e8c35db7bf39103e4977ff | fix: publish correct payment notification for keysend payments
Before we did not store the keysend payments properly | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "-import { PaymentRequestObject } from \"bolt11\";\nimport PubSub from \"pubsub-js\";\nimport browser, { Runtime } from \"webextension-polyfill\";\n-import { SendPaymentResponse } from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: publish correct payment notification for keysend payments
Before we did not store the keysend payments properly |
244,461 | 21.05.2022 12:18:54 | -7,200 | 3e51f9fbcbd19d8dc82718b06b6cb49a9e82738c | feat(toast): add toastcontainer to Prompt screens | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "import { HashRouter, Outlet, Route, Routes, Navigate } from \"react-router-dom\";\n+import { ToastContainer } from \"react-toastify\";\nimport { useAuth } from \"~/app/... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(toast): add toastcontainer to Prompt screens |
244,461 | 21.05.2022 12:21:29 | -7,200 | 266d4a75364555406baff991e9695be084cdf0d8 | chore: move react-toastify import to the top
we have external package imports at the top of the file | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.tsx",
"new_path": "src/app/components/QrcodeScanner/index.tsx",
"diff": "import { useState, useEffect, useRef } from \"react\";\n+import { toast } from \"react-toastify\";\nimport { QrCodeIcon } from \"@bitcoin-design/bit... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: move react-toastify import to the top
we have external package imports at the top of the file |
244,461 | 21.05.2022 12:57:05 | -7,200 | dab34ccb505d239ebd43d76d7f63730a5a4a93c8 | chore: improve lndhub error message | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -154,7 +154,7 @@ function LNURLPay(props: Props) {\n}\n} catch (e) {\nconst message = e instanceof Error ? `(${e.message})` : \"\";\n- toast.error(`Payment aborted: Could no... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: improve lndhub error message |
244,461 | 21.05.2022 16:26:15 | -7,200 | 8d03ff5e9fdad6ffd2501bb245202c6e2ead3a1e | chore: add check to not run tests against the production user API | [
{
"change_type": "MODIFY",
"old_path": "playwright.config.ts",
"new_path": "playwright.config.ts",
"diff": "@@ -7,6 +7,10 @@ import { devices } from \"@playwright/test\";\n*/\n// require('dotenv').config();\n+if (process.env.WALLET_CREATE_URL === \"https://getalby.com/api/users\") {\n+ console.log(\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add check to not run tests against the production user API |
244,461 | 21.05.2022 16:30:37 | -7,200 | e1e9792962cdf0afba94dfb8644a1931a35be0ab | test(createWallet): activate full create wallet e2e test
we have the server regtest setup now running and everything should be green | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -55,18 +55,15 @@ test.describe(\"Create or connect wallets\", () => {\nconst createWalletButton = await getByText($document, \"Continue\");\ncreateWalletButton.click()... | TypeScript | MIT License | getalby/lightning-browser-extension | test(createWallet): activate full create wallet e2e test
we have the server regtest setup now running and everything should be green |
244,498 | 23.05.2022 10:20:59 | -28,800 | 9be710b5e323e892889ec6b0b7c640146fa0369e | chore(deps): e2e tests related | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@babel/preset-typescript\": \"^7.16.7\",\n\"@commitlint/cli\": \"^17.0.0\",\n\"@commitlint/config-conventional\": \"^17.0.0\",\n- \"@playwright/test\": \"^1.19.1\",\n+ \"@playwright/test\": \"^1.22.2\",\n\"... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): e2e tests related |
244,498 | 23.05.2022 12:43:22 | -28,800 | 59bb0c74f252937a41618b4e14e3600ca9a0f8d8 | test(createWallet): add LNBits | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -66,53 +66,55 @@ test.describe(\"Create or connect wallets\", () => {\nawait waitFor(() => getByText($document, \"Success!\"));\n});\n- // test(\"successfully connects... | TypeScript | MIT License | getalby/lightning-browser-extension | test(createWallet): add LNBits |
244,498 | 23.05.2022 12:46:25 | -28,800 | 97389f321810bb289888006af0f25f359085cc47 | test(createWallet): add BlueWallet | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -116,55 +116,57 @@ 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(createWallet): add BlueWallet |
244,498 | 23.05.2022 13:25:00 | -28,800 | 1a596439f3606659e957337f267f63ca189c3186 | chore: update checkout and setup-node to v3 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -14,8 +14,8 @@ jobs:\nname: build-prod\nsteps:\n- - uses: actions/checkout@v2\n- - uses: actions/setup-node@v2\n+ - uses: actions/checkout@v3\n+ - uses: actions/setup-node@v3\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update checkout and setup-node to v3 |
244,498 | 23.05.2022 13:57:34 | -28,800 | 0f4097d6f63920eb713ff2377f007b40c1956449 | chore: update further actions | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -26,19 +26,19 @@ jobs:\nrun: yarn build\n- name: Archive firefox production zip file\n- uses: actions/upload-artifact@v2\n+ uses: actions/upload-artifact@v3\nwith:\nname: fire... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update further actions |
244,495 | 23.05.2022 10:31:53 | -7,200 | a47c11b74cfb9bf270ff3477488d86d63cd3dc97 | feat: add function to abort polling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "-import { useState } from \"react\";\n+import { useState, useEffect, useRef } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport {\nCaretLeftIcon,\n@@ -36... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add function to abort polling |
244,498 | 23.05.2022 17:11:50 | -28,800 | 875f83f4e5e96bf7f24857a74c489dff92747ad3 | docs: update community-call day | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -30,7 +30,7 @@ The extension can connect to different node implementations and supports custodi\nWe have a channel on the [bitcoin.design](https://bitcoin.design/) Slack community [#lightning-browser-extension](... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: update community-call day |
244,498 | 23.05.2022 18:02:58 | -28,800 | 25a6d6ee2a2e140ee5a06571581958fa1dc1aa5e | test(createWallet): refactor repetitive code | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -5,15 +5,14 @@ const { getByText, getByLabelText } = queries;\nimport { loadExtension } from \"./helpers/loadExtension\";\n-test.describe(\"Create or connect wallets\"... | TypeScript | MIT License | getalby/lightning-browser-extension | test(createWallet): refactor repetitive code |
244,498 | 23.05.2022 17:29:58 | -28,800 | 3f13858210430e8a2e4d7fb37530f1e6e2fa769b | refactor(lndhub): axios types
switch console out for error to .error | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.ts",
"new_path": "src/extension/background-script/connectors/lndhub.ts",
"diff": "-import axios, {\n- AxiosRequestConfig,\n- Method,\n- AxiosError,\n- AxiosResponse,\n-} from \"axios\";\n+import axios, { AxiosR... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(lndhub): axios types
switch console out for error to .error |
244,498 | 23.05.2022 18:17:04 | -28,800 | 9bf29385ff1d044064ce8d4b87cceb0f1f451f5b | docs: update community call link
use new timezone service | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -30,7 +30,7 @@ The extension can connect to different node implementations and supports custodi\nWe have a channel on the [bitcoin.design](https://bitcoin.design/) Slack community [#lightning-browser-extension](... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: update community call link
use new timezone service
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 23.05.2022 18:08:16 | -7,200 | f64e9eb8266604bf1fd0119e58306fca88c08385 | a This is a combination of 2 commits.
fix: return if valid instead of throwing an error | [
{
"change_type": "MODIFY",
"old_path": "src/common/utils/signer.ts",
"new_path": "src/common/utils/signer.ts",
"diff": "@@ -29,7 +29,12 @@ class HashKeySigner {\n}\nverify(message: string, signature: string) {\n+ try {\nreturn this.sk.verify(message, signature);\n+ } catch (e) {\n+ console.error(e);... | TypeScript | MIT License | getalby/lightning-browser-extension | a This is a combination of 2 commits.
fix: return if valid instead of throwing an error |
244,498 | 24.05.2022 09:49:35 | -28,800 | 4fd4c1411cb7b0e02cfe823f9f90b164e76cc22e | test(createWallet): add LND | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -119,4 +119,33 @@ test.describe(\"Create or connect wallets\", () => {\nawait commonCreateWalletSuccessCheck({ browser, welcomePage, $document });\n});\n+\n+ test(\"su... | TypeScript | MIT License | getalby/lightning-browser-extension | test(createWallet): add LND |
244,498 | 24.05.2022 10:10:49 | -28,800 | c372899538e93481a49ece176ba286bd12616970 | test(createWallet): add Eclair | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -124,7 +124,6 @@ test.describe(\"Create or connect wallets\", () => {\nconst { browser, welcomePage, $document } =\nawait commonCreateWalletUserCreate();\n- // click a... | TypeScript | MIT License | getalby/lightning-browser-extension | test(createWallet): add Eclair |
244,498 | 24.05.2022 10:16:56 | -28,800 | d3d10646f37e8f10340a5b88eb890f8004a499e9 | refactor(eclair): use placeholder instead of value | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectEclair/index.tsx",
"new_path": "src/app/screens/connectors/ConnectEclair/index.tsx",
"diff": "@@ -10,7 +10,7 @@ export default function ConnectEclair() {\nconst navigate = useNavigate();\nconst [formData, setFormData] = useSta... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(eclair): use placeholder instead of value |
244,477 | 23.05.2022 22:52:07 | 14,400 | 0f15242190e1e2fa983eda4d8053ca36e89f6dd1 | fix(i18n): escapeValues by default & cleanup | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -2,7 +2,6 @@ import { useEffect, useState } from \"react\";\nimport { HashRouter as Router, useRoutes, useLocation } from \"react-router-dom\";\nimport { useTran... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(i18n): escapeValues by default & cleanup |
244,498 | 20.05.2022 12:10:13 | -28,800 | 7d6fdacb5f5841bbcfbde9c723f1fc8f688654c9 | chore: reduce browser targets | [
{
"change_type": "MODIFY",
"old_path": "babel.config.json",
"new_path": "babel.config.json",
"diff": "\"useBuiltIns\": false,\n// Do not transform modules to CJS\n\"modules\": false,\n- \"targets\": {\n- \"chrome\": \"49\",\n- \"firefox\": \"52\",\n- \"opera\": \"36\",\n- \"edge\": \"79\"\n- },\n+ \... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: reduce browser targets |
244,498 | 24.05.2022 14:41:54 | -28,800 | bac96fae11fdfb68bce66fe760ed89c35470ad2f | chore(jest): avoid babel loose warning | [
{
"change_type": "MODIFY",
"old_path": "babel.config.json",
"new_path": "babel.config.json",
"diff": "\"loose\": true\n}\n],\n- [\"@babel/preset-react\", {\n+ [\n+ \"@babel/preset-react\",\n+ {\n\"runtime\": \"automatic\"\n- }],\n+ }\n+ ],\n\"@babel/preset-typescript\"\n],\n\"plugins\": [\n],\n\"env... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(jest): avoid babel loose warning |
244,495 | 25.05.2022 13:16:55 | -7,200 | 0c59db1ea81222e28aee78b4c794fa079765385f | fix: prevent horizontal stretching by using a container | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Container.tsx",
"new_path": "src/app/components/Container.tsx",
"diff": "type Props = {\nchildren: React.ReactNode;\n+ maxWidth?: string;\n};\n-function Container({ children }: Props) {\n+function Container({ children, maxWidth = \"lg\" }: P... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: prevent horizontal stretching by using a container |
244,498 | 26.05.2022 18:54:53 | -28,800 | 07315630fb637a8b449a400bbfe9414ae9611b13 | chore(ci): add storybook build workflow
make sure storybook always builds | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/storybook.yml",
"diff": "+name: Storybook (build check only)\n+\n+on:\n+ push:\n+ branches:\n+ - master\n+ pull_request:\n+ types: [opened, synchronize]\n+\n+jobs:\n+ build-storybook:\n+ runs-on: ubuntu-latest\n+\n+ steps:\n+ -... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(ci): add storybook build workflow
make sure storybook always builds |
244,498 | 26.05.2022 19:00:08 | -28,800 | a477fc93fc3f80e1771ddbe5abf29ec0bef408ab | chore(ci): adjust job tasks names to be more explicit | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/linting.yml",
"new_path": ".github/workflows/linting.yml",
"diff": "@@ -8,7 +8,7 @@ on:\ntypes: [opened, synchronize]\njobs:\n- codequality:\n+ linting:\nruns-on: ubuntu-latest\nsteps:\n"
},
{
"change_type": "MODIFY",
"old_path": ... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(ci): adjust job tasks names to be more explicit |
244,461 | 26.05.2022 16:39:27 | -7,200 | b5814d430dc6c92e3648e28e6d25e42fa38f3c2e | fix: revert browser targets
for some reason this causes an issue and the extension does not work.
error: Could not establish connection. Receiving end does not exist. | [
{
"change_type": "MODIFY",
"old_path": "babel.config.json",
"new_path": "babel.config.json",
"diff": "\"useBuiltIns\": false,\n// Do not transform modules to CJS\n\"modules\": false,\n- \"targets\": \"last 5 Chrome versions, last 5 Edge versions, last 5 Opera versions, last 5 Firefox versions\",\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: revert browser targets
for some reason this causes an issue and the extension does not work.
error: Could not establish connection. Receiving end does not exist. |
244,461 | 28.05.2022 01:28:10 | -7,200 | b91529ce67697b29277189cd74bf1192f9ec76a1 | style: prefer website icon over image
The icon seems more likely to be the logo. the image often is a full image
to be shared on social media | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "@@ -616,7 +616,6 @@ const metaDataRules: Record<string, RuleSet> = {\n}\n}\n},\n- defaultValue: (context) => makeUrlAbsolute(context.url, \"/favicon... | TypeScript | MIT License | getalby/lightning-browser-extension | style: prefer website icon over image
The icon seems more likely to be the logo. the image often is a full image
to be shared on social media |
244,498 | 26.05.2022 18:04:59 | -28,800 | e2d242a99922e9de39043c66402e62185b08aebc | docs: align Github templates | [
{
"change_type": "MODIFY",
"old_path": ".github/pull_request_template.md",
"new_path": ".github/pull_request_template.md",
"diff": "-#### Link this PR to an issue\n-Fixes #ISSUE-NUMBER\n+### Describe the changes you have made in this PR\n-#### Type of change (Remove other not matching type)\n+_A cle... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: align Github templates |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.