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,503
10.08.2022 20:58:09
-7,200
4f117a4cf29648d2f53c1622870e06b2222e6fef
feat: pass navState from SEND
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send.tsx", "new_path": "src/app/screens/Send.tsx", "diff": "@@ -10,6 +10,7 @@ import IconButton from \"@components/IconButton\";\nimport QrcodeScanner from \"@components/QrcodeScanner\";\nimport TextField from \"@components/form/TextField\";\ni...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: pass navState from SEND
244,503
10.08.2022 20:58:28
-7,200
826ddbccafaaf4af9be167c8bae335e7b593cda2
feat: pass navState from HOME
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -14,6 +14,7 @@ import TransactionsTable from \"@components/TransactionsTable\";\nimport { Tab } from \"@headlessui/react\";\nimport dayjs from \"dayjs\";\nimport relativ...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: pass navState from HOME
244,503
10.08.2022 20:58:59
-7,200
d6b1320c114f9f32f4f7d190ea9bc5bf2a28b070
refactor: read origin and details from navState
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLPay/index.tsx", "new_path": "src/app/screens/LNURLPay/index.tsx", "diff": "@@ -6,7 +6,7 @@ import SatButtons from \"@components/SatButtons\";\nimport DualCurrencyField from \"@components/form/DualCurrencyField\";\nimport TextField from \"@...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: read origin and details from navState
244,503
10.08.2022 21:04:19
-7,200
7278ae9e2942a1bff3a99306cd0676b84d4aa886
fix: remove brackets from paths
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -40,7 +40,7 @@ function Options() {\n<Route path=\"send\" element={<Send />} />\n<Route path=\"keysend\" element={<Keysend />} />\n<Route path=\"receive\" elemen...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: remove brackets from paths
244,503
10.08.2022 22:32:09
-7,200
20d4e4e70962a14bcfae2875c8f292ece50e739e
fix: do not mix up origin
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -246,6 +246,14 @@ function Home() {\ntry {\nsetLoadingSendSats(true);\n+ const originData = {\n+ external: true,\n+ name: lnData[0].name,\n+ host: lnData[0].host,\n+ des...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: do not mix up origin
244,498
11.08.2022 13:36:46
-28,800
41b006edf30597f3fc6e84cd91c3f8785bf48f14
refactor(lnurl): pass URL as string to avoid serialization issues
[ { "change_type": "MODIFY", "old_path": "src/common/lib/lnurl.ts", "new_path": "src/common/lib/lnurl.ts", "diff": "@@ -79,7 +79,7 @@ const lnurl = {\n}\n}\nlnurlDetails.domain = url.hostname;\n- lnurlDetails.url = url;\n+ lnurlDetails.url = url.toString();\nreturn lnurlDetails;\n},\nverifyInvoice({\n...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurl): pass URL as string to avoid serialization issues #1216
244,498
11.08.2022 13:47:08
-28,800
42d5e58f9f776d3f399647b77696f9be5594afb6
refactor: use lnurlDetails directly, url serialization issue is solved
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -14,7 +14,6 @@ import TransactionsTable from \"@components/TransactionsTable\";\nimport { Tab } from \"@headlessui/react\";\nimport dayjs from \"dayjs\";\nimport relativ...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: use lnurlDetails directly, url serialization issue is solved #1216
244,498
11.08.2022 14:17:12
-28,800
ec24382f2665030520058c378866f1a3a0ee92f1
test(lnurlpay): render cia send (popup)
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/screens/LNURLPay/index.test.tsx", "diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { settingsFixture as mockSettings } from \"~/../tests/fixtures/settings\...
TypeScript
MIT License
getalby/lightning-browser-extension
test(lnurlpay): render cia send (popup) #1216
244,498
11.08.2022 15:03:03
-28,800
e29a46c92502e38a91b1d04f9026646aa5ad346e
feat(settings): set locale on mount
[ { "change_type": "MODIFY", "old_path": "src/app/context/SettingsContext.tsx", "new_path": "src/app/context/SettingsContext.tsx", "diff": "+import i18n from \"i18next\";\nimport { useState, useEffect, createContext, useContext } from \"react\";\nimport { toast } from \"react-toastify\";\nimport api f...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(settings): set locale on mount #743
244,461
11.08.2022 09:16:01
-7,200
84dd51025a95ebbc19f4af943a41e74acda5d535
chore: remove image from lnurl pay test we don't test for it and it's just a lot of data
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLPay/index.test.tsx", "new_path": "src/app/screens/LNURLPay/index.test.tsx", "diff": "@@ -13,13 +13,12 @@ jest.spyOn(SettingsContext, \"useSettings\").mockReturnValue({\n});\nconst mockDetails: LNURLDetails = {\n- callback:\n- \"https://lnu...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: remove image from lnurl pay test we don't test for it and it's just a lot of data
244,471
08.08.2022 21:16:13
-19,080
56ffbe7870b4446f925a4583b21c4c2820909b3c
fix: use container for responsiveness
[ { "change_type": "MODIFY", "old_path": "src/app/components/Button/index.tsx", "new_path": "src/app/components/Button/index.tsx", "diff": "@@ -31,10 +31,8 @@ export default function Button({\nclassName={classNames(\ndirection === \"row\" ? \"flex-row\" : \"flex-col\",\nfullWidth && \"w-full\",\n- ful...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: use container for responsiveness
244,498
12.08.2022 12:45:14
-28,800
c43582e767595ce9c24dbdd020a29bd93f1dc006
refactor: adjust effetc scope
[ { "change_type": "MODIFY", "old_path": "src/app/context/SettingsContext.tsx", "new_path": "src/app/context/SettingsContext.tsx", "diff": "@@ -48,11 +48,10 @@ export const SettingsProvider = ({\n});\n}, []);\n- // set locale from settings on mount\n+ // update i18n on every locale change\nuseEffect((...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: adjust effetc scope Co-authored-by: lisabaut <lisa@lisabaut.de>
244,471
12.08.2022 21:51:17
-19,080
10d61f799d3a41c6f1b30f750e7c7fe2771b2e3f
fix: jest warnings
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmPayment/index.test.tsx", "new_path": "src/app/screens/ConfirmPayment/index.test.tsx", "diff": "@@ -71,7 +71,9 @@ describe(\"ConfirmPayment\", () => {\n);\n});\n- await user.click(screen.getByText(\"Remember and set a budget\"));\n+ await...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: jest warnings
244,471
13.08.2022 14:26:12
-19,080
670d5b8058f46fff8c1e971faf8e7c2d01cc9102
fix: use fragment
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLPay/index.tsx", "new_path": "src/app/screens/LNURLPay/index.tsx", "diff": "@@ -6,7 +6,7 @@ import SatButtons from \"@components/SatButtons\";\nimport DualCurrencyField from \"@components/form/DualCurrencyField\";\nimport TextField from \"@...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: use fragment
244,498
11.08.2022 17:44:22
-28,800
a7004be58b27698b6329564a2a8c11bef3ec9313
feat(lnurlchannel): use navState add basic route to Send
[ { "change_type": "MODIFY", "old_path": "src/app/router/Popup/Popup.tsx", "new_path": "src/app/router/Popup/Popup.tsx", "diff": "@@ -2,6 +2,7 @@ import Navbar from \"@components/Navbar\";\nimport ConfirmPayment from \"@screens/ConfirmPayment\";\nimport Home from \"@screens/Home\";\nimport Keysend fro...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlchannel): use navState #1268 - add basic route to Send
244,498
11.08.2022 17:48:41
-28,800
77898cbc09abfba3e947b2d23ab190be0eaa70a0
refactor(lnurlchannel): align naming with other lnurl-actions
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -99,7 +99,7 @@ function Prompt() {\n/>\n}\n/>\n- <Route path=\"LNURLChannel\" element={<LNURLChannel />} />\n+ <Route path=\"lnurlChannel\" element={<LNURLChannel />...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurlchannel): align naming with other lnurl-actions #1268
244,498
12.08.2022 16:12:16
-28,800
c7c25fff4738f42849a27f35fc94b2549582355d
feat(lnurlChannel): navigate back on success for popup view
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLChannel.tsx", "new_path": "src/app/screens/LNURLChannel.tsx", "diff": "@@ -60,8 +60,10 @@ function LNURLChannel() {\n// ATTENTION: if this LNURL is called through `webln.lnurl` then we immediately return and return the response. This close...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlChannel): navigate back on success for popup view #1268
244,498
12.08.2022 16:21:46
-28,800
4b7c32da8f74bbe1abd5c2004b08247a76628e1c
test(lnurlChannel): renders as popup
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/screens/LNURLChannel/index.test.tsx", "diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { settingsFixture as mockSettings } from \"~/../tests/fixtures/setti...
TypeScript
MIT License
getalby/lightning-browser-extension
test(lnurlChannel): renders as popup #1268
244,498
15.08.2022 10:50:47
-28,800
d4705deffa719eaa42d6984658bdf58b277d9a6b
feat(lnurlchannel): adjust success handling
[ { "change_type": "MODIFY", "old_path": "src/app/components/SuccessMessage/index.tsx", "new_path": "src/app/components/SuccessMessage/index.tsx", "diff": "@@ -9,7 +9,7 @@ function SuccessMessage({ message, onClose }: Props) {\nreturn (\n<>\n<dl className=\"shadow bg-white dark:bg-surface-02dp pt-4 px...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlchannel): adjust success handling #1268
244,498
12.08.2022 16:47:18
-28,800
de4cb41fde27b210823d4e790af5bf07e3c2e516
feat(lnurlwithdraw): add route to Send
[ { "change_type": "MODIFY", "old_path": "src/app/router/Popup/Popup.tsx", "new_path": "src/app/router/Popup/Popup.tsx", "diff": "@@ -4,6 +4,7 @@ import Home from \"@screens/Home\";\nimport Keysend from \"@screens/Keysend\";\nimport LNURLChannel from \"@screens/LNURLChannel\";\nimport LNURLPay from \"...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlwithdraw): add route to Send #1271
244,498
12.08.2022 16:55:18
-28,800
03669bcca6d8b3df28f6a9c3299fa0cb4c454517
feat(lnurlwithdraw): handle success-lose for popup and prompt
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw.tsx", "new_path": "src/app/screens/LNURLWithdraw.tsx", "diff": "@@ -6,25 +6,20 @@ import SuccessMessage from \"@components/SuccessMessage\";\nimport Input from \"@components/form/Input\";\nimport axios from \"axios\";\nimport { us...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlwithdraw): handle success-lose for popup and prompt #1271
244,498
12.08.2022 17:47:23
-28,800
d8b8aed691e9180e4d83291adcdbbbe89ea9ce8d
test(lnurlWithdraw): renders as popup
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { settingsFixture as mockSettings } from \"~/../tests/fixtures/sett...
TypeScript
MIT License
getalby/lightning-browser-extension
test(lnurlWithdraw): renders as popup #1271
244,498
15.08.2022 11:17:22
-28,800
49e3a6175d9c5257d19b4360ab2bbc8aee96a823
chore(lnurlWithdraw): fix rebase
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -16,7 +16,6 @@ import RequireAuth from \"~/app/router/RequireAuth\";\nimport type {\nNavigationState,\nLNURLAuthServiceResponse,\n- LNURLWithdrawServiceResponse,\nRe...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(lnurlWithdraw): fix rebase #1271
244,471
12.08.2022 20:55:18
-19,080
e190558ac7a60d1b239eeadcd482d00ac6ae258d
fix: use textfield instead of input
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.tsx", "diff": "@@ -3,7 +3,7 @@ import Container from \"@components/Container\";\nimport ContentMessage from \"@components/ContentMessage\";\nimport PublisherCard from \"...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: use textfield instead of input
244,471
13.08.2022 15:22:31
-19,080
c66b1e2b93f1a3e728acc1c910cca65b6c42d951
test: lnurlwithdraw screen
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "diff": "@@ -2,7 +2,7 @@ import { render, screen } from \"@testing-library/react\";\nimport { MemoryRouter } from \"react-router-dom\";\nimport { setting...
TypeScript
MIT License
getalby/lightning-browser-extension
test: lnurlwithdraw screen
244,471
15.08.2022 16:08:22
-19,080
b0cb7ebdf47c65743aefcf7e2b1cead503999df7
fix: replace textfield with dualcurrencyfield
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.tsx", "diff": "@@ -3,21 +3,26 @@ import Container from \"@components/Container\";\nimport ContentMessage from \"@components/ContentMessage\";\nimport PublisherCard from ...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: replace textfield with dualcurrencyfield
244,471
15.08.2022 16:09:37
-19,080
382a3446c2c022dfea6c2d9a0e97bc80bff2f818
fix: remove unnecessary margin for successmessage
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmKeysend/index.tsx", "new_path": "src/app/screens/ConfirmKeysend/index.tsx", "diff": "@@ -151,7 +151,7 @@ function ConfirmKeysend(props: Props) {\nimage={origin.icon}\nurl={origin.host}\n/>\n- <div className=\"m-4\">\n+ <div className=\"m...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: remove unnecessary margin for successmessage
244,471
15.08.2022 16:10:19
-19,080
7758999fb973a2456f8485f571d06db8ab8b97bf
fix: remove unnecessary type specification
[ { "change_type": "MODIFY", "old_path": "src/app/components/AllowanceMenu/index.tsx", "new_path": "src/app/components/AllowanceMenu/index.tsx", "diff": "@@ -124,7 +124,6 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nautoFocus\nplaceholder=\"sats\"\nvalue={budget}\n- type=\"numb...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: remove unnecessary type specification
244,471
15.08.2022 16:23:23
-19,080
86a55689bb1ef330f4386bff8fe1f65e3523e1cc
chore: remove repetition in test
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "diff": "@@ -69,16 +69,6 @@ describe(\"LNURLWithdraw\", () => {\n);\nexpect(await screen.getByText(\"lnurl.fiatjaf.com\")).toBeInTheDocument();\n- expect...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: remove repetition in test
244,471
12.08.2022 21:11:10
-19,080
7e2673ab90618a3e9a95db9f3c576681ac91b543
fix: trim invoice
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send.tsx", "new_path": "src/app/screens/Send.tsx", "diff": "@@ -146,7 +146,7 @@ function Send() {\nvalue={invoice}\ndisabled={loading}\nonChange={(event: React.ChangeEvent<HTMLInputElement>) =>\n- setInvoice(event.target.value)\n+ setInvoice(ev...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: trim invoice
244,498
14.08.2022 17:57:58
-28,800
442cc5d33e6e6b89e3355766f3f8cc369255772d
feat: remove lighnting string from copy/pasted value
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send.tsx", "new_path": "src/app/screens/Send.tsx", "diff": "@@ -146,7 +146,9 @@ function Send() {\nvalue={invoice}\ndisabled={loading}\nonChange={(event: React.ChangeEvent<HTMLInputElement>) =>\n- setInvoice(event.target.value.trim())\n+ setInv...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: remove lighnting string from copy/pasted value Co-authored-by: Michael Bumann <hello@michaelbumann.com>
244,498
15.08.2022 13:18:08
-28,800
694ba1ba879ed7d90b8f15064765a7e15ba5d577
refactor(lnurlauth): use navState
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -13,11 +13,7 @@ import { HashRouter, Outlet, Route, Routes, Navigate } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport Provide...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurlauth): use navState #1269
244,498
15.08.2022 13:29:33
-28,800
fb8f32fa5b3bccbc3d55d701c071406ca65edb68
feat(send): add lnurlAuth route
[ { "change_type": "MODIFY", "old_path": "src/app/router/Popup/Popup.tsx", "new_path": "src/app/router/Popup/Popup.tsx", "diff": "@@ -2,6 +2,7 @@ import Navbar from \"@components/Navbar\";\nimport ConfirmPayment from \"@screens/ConfirmPayment\";\nimport Home from \"@screens/Home\";\nimport Keysend fro...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(send): add lnurlAuth route #1269
244,498
15.08.2022 16:22:40
-28,800
445c7745294f6bb22bfdce43c5628be841dd5cb5
feat(lnurAuth): add support for popup
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -6,6 +6,7 @@ import { MouseEvent } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useNavigationState } from \"~/app/hooks/useNavi...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurAuth): add support for popup #1269
244,498
15.08.2022 17:52:52
-28,800
55bb07364856da5e9f3217ac44233c3c505b723e
refactor(lnurAuth): switch action to lnurl
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/actions/ln/index.ts", "new_path": "src/extension/background-script/actions/ln/index.ts", "diff": "-import auth from \"./auth\";\nimport checkPayment from \"./checkPayment\";\nimport connectPeer from \"./connectPeer\";\nimport ge...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurAuth): switch action to lnurl #1269
244,471
15.08.2022 21:25:06
-19,080
1c1a1d224b294074936df024660ef613625d7adc
test: send screen
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/screens/Send/index.test.tsx", "diff": "+import { act, render, screen } from \"@testing-library/react\";\n+import userEvent from \"@testing-library/user-event\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { settingsFixt...
TypeScript
MIT License
getalby/lightning-browser-extension
test: send screen
244,498
16.08.2022 13:44:39
-28,800
0aa858bb5334dae6b26399ca98a402652c541fac
feat: i18n for send/receive
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Receive.tsx", "new_path": "src/app/screens/Receive.tsx", "diff": "@@ -12,6 +12,7 @@ import Loading from \"@components/Loading\";\nimport TextField from \"@components/form/TextField\";\nimport { useState, useEffect, useRef } from \"react\";\nimp...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for send/receive #1283
244,471
04.08.2022 21:51:53
-19,080
af4c1ee153d7272beb9540b0c1dd1065b9265721
fix: fetch username instead of title
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/Twitter.ts", "new_path": "src/extension/content-script/batteries/Twitter.ts", "diff": "@@ -44,12 +44,15 @@ function getUserData(username: string) {\nconst location = document.querySelector<HTMLElement>(\n`[data-testid=\"p...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: fetch username instead of title
244,498
16.08.2022 15:47:17
-28,800
593d3d2848509c997df532b5bb58c273f3f52c5a
feat(settings): use settings-context to load stored locale
[ { "change_type": "MODIFY", "old_path": "src/app/components/LocaleSwitcher/LocaleSwitcher.tsx", "new_path": "src/app/components/LocaleSwitcher/LocaleSwitcher.tsx", "diff": "import type { FallbackLng } from \"i18next\";\n-import { useState } from \"react\";\n+import { useState, useEffect } from \"reac...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(settings): use settings-context to load stored locale #743
244,471
16.08.2022 12:20:37
-19,080
2180234d73dd3a4f6db6a99793bc5873dfae2373
feat: i18n for accounts
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Accounts/index.tsx", "new_path": "src/app/screens/Accounts/index.tsx", "diff": "@@ -89,11 +89,7 @@ function AccountsScreen() {\n}\nasync function removeAccount({ id, name }: AccountAction) {\n- if (\n- window.confirm(\n- `Are you sure you want ...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for accounts
244,498
16.08.2022 16:08:15
-28,800
e38440d6361be7c0ff9271faa65108253d5531dd
refactor(settings): update browser settings via settings-context
[ { "change_type": "MODIFY", "old_path": "src/app/components/LocaleSwitcher/LocaleSwitcher.tsx", "new_path": "src/app/components/LocaleSwitcher/LocaleSwitcher.tsx", "diff": "@@ -2,7 +2,6 @@ import type { FallbackLng } from \"i18next\";\nimport { useState, useEffect } from \"react\";\nimport type { Cha...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(settings): update browser settings via settings-context #1285
244,498
16.08.2022 16:16:27
-28,800
829b598daf0ceaa2fb73fee79a6e8a67b6120b83
chore(settings): add settingsSet action type
[ { "change_type": "MODIFY", "old_path": "src/common/lib/api.ts", "new_path": "src/common/lib/api.ts", "diff": "@@ -13,6 +13,7 @@ import type {\nSettingsStorage,\nMessageInvoices,\nDbPayment,\n+ MessageSettingsSet,\n} from \"~/types\";\nimport {\n@@ -95,9 +96,7 @@ export const makeInvoice = ({ amount,...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(settings): add settingsSet action type #1285
244,498
16.08.2022 16:19:54
-28,800
544dd28868584f7f9f5ad822dd67c9258dbd904d
refactor(settings): set theme via context
[ { "change_type": "MODIFY", "old_path": "src/app/context/SettingsContext.tsx", "new_path": "src/app/context/SettingsContext.tsx", "diff": "import i18n from \"i18next\";\nimport { useState, useEffect, createContext, useContext } from \"react\";\nimport { toast } from \"react-toastify\";\n+import { get...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(settings): set theme via context #1285
244,503
16.08.2022 11:55:25
-7,200
62fdcc398e5e626d0e2997ba2f9f4d8893f4af61
fix(unlock): do not cache toasts message on errors
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -27,7 +27,13 @@ const utils = {\n})\n.then((response: { data: T; error?: string }) => {\nif (response.error) {\n+ // trigger toast only on screens which contain <ToastContainer />\n+ ...
TypeScript
MIT License
getalby/lightning-browser-extension
fix(unlock): do not cache toasts message on errors
244,498
16.08.2022 19:02:43
-28,800
0a0b244b98f7391048b997eec8b3808f9eb69229
feat: i18n for publisher
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Publisher.tsx", "new_path": "src/app/screens/Publisher.tsx", "diff": "@@ -6,6 +6,7 @@ import TransactionsTable from \"@components/TransactionsTable\";\nimport dayjs from \"dayjs\";\nimport relativeTime from \"dayjs/plugin/relativeTime\";\nimpor...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for publisher #1283
244,498
17.08.2022 13:28:44
-28,800
167fc96499ea12149e858e9b70ce16d49fb4b655
feat: i18n for publishers
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Publisher.tsx", "new_path": "src/app/screens/Publisher.tsx", "diff": "@@ -118,11 +118,12 @@ function Publisher() {\n<div className=\"flex justify-between items-center pt-8 pb-4\">\n<dl>\n<dt className=\"text-sm font-medium text-gray-500\">\n- {...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for publishers #1283
244,498
17.08.2022 18:30:14
-28,800
ef1baca390dfbbe94770df8afa27c345489e1ce8
docs: update community call schedule
[ { "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 schedule
244,471
17.08.2022 19:18:45
-19,080
8a68fd488048562c5e726f8c552f697984c6eef7
feat: i18n for enable
[ { "change_type": "MODIFY", "old_path": "src/app/components/ConfirmOrCancel/index.tsx", "new_path": "src/app/components/ConfirmOrCancel/index.tsx", "diff": "import { MouseEventHandler } from \"react\";\n+import { useTranslation } from \"react-i18next\";\nimport Button from \"../Button\";\n@@ -17,10 +...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for enable
244,498
16.08.2022 13:14:45
-28,800
98e0b2bd37576aa1c2cd6b6001e92c1969893c85
chore: refactor webln/lnurl message type
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/actions/lnurl/__tests__/channel.test.ts", "new_path": "src/extension/background-script/actions/lnurl/__tests__/channel.test.ts", "diff": "-import type { MessageLNURLChannel, LNURLDetails } from \"~/types\";\n+import type { Messa...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: refactor webln/lnurl message type
244,498
17.08.2022 16:59:31
-28,800
b94018a8a9c4625f21fafc47534c40690fc85b9f
refactor: rename auth files to be more precise
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -4,6 +4,7 @@ import ContentMessage from \"@components/ContentMessage\";\nimport PublisherCard from \"@components/PublisherCard\";\nimport { MouseEvent } from \...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: rename auth files to be more precise #1269
244,498
18.08.2022 14:30:34
-28,800
3810c266f16656e9638493a800dabe62ff12eb2c
refactor: move prompt pubsub code to component to align action use
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -2,6 +2,8 @@ import ConfirmOrCancel from \"@components/ConfirmOrCancel\";\nimport Container from \"@components/Container\";\nimport ContentMessage from \"@comp...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: move prompt pubsub code to component to align action use #1269
244,498
18.08.2022 14:32:46
-28,800
d767d75f3d8999417c40bf794236246c90d7425d
refactor(lnurlauth): origin-usage
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -21,6 +21,7 @@ function LNURLAuth() {\nconst details = navState.args?.lnurlDetails as LNURLAuthServiceResponse & {\nurl: string;\n};\n+ const origin = navState...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurlauth): origin-usage #1269
244,498
18.08.2022 15:12:27
-28,800
ae0a6a9a17bfe444e43453ef55afac7203488057
chore: remove outdated code/comments
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -67,8 +67,6 @@ function LNURLAuth() {\ndetails,\norigin,\n});\n-\n- return { error: e.message };\n}\n}\n}\n" }, { "change_type": "MODIFY", "old_pat...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: remove outdated code/comments #1269
244,498
18.08.2022 15:51:17
-28,800
76dd54bfc79ad3b8c906a65545408e9c63710d28
feat: i18n for options
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -12,14 +12,21 @@ import Send from \"@screens/Send\";\nimport Settings from \"@screens/Settings\";\nimport Unlock from \"@screens/Unlock\";\nimport ChooseConnecto...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for options #1283
244,471
17.08.2022 19:39:51
-19,080
42c67b3c2b73019420d2efd5ca13527a9bc12e0a
feat: i18n for allowancemenu component
[ { "change_type": "MODIFY", "old_path": "src/app/components/AllowanceMenu/index.tsx", "new_path": "src/app/components/AllowanceMenu/index.tsx", "diff": "@@ -2,6 +2,7 @@ import { GearIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { CrossIcon } from \"@bitcoin-design/bitcoin-icons-...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for allowancemenu component
244,471
17.08.2022 19:48:24
-19,080
4093763c261a37af349c48b31d02d64557866b1a
feat: i18n for loading component
[ { "change_type": "MODIFY", "old_path": "src/app/components/Loading/index.tsx", "new_path": "src/app/components/Loading/index.tsx", "diff": "+import { useTranslation } from \"react-i18next\";\n+\nfunction Loading({ color = \"currentColor\" }) {\n+ const { t: tCommon } = useTranslation(\"common\");\nr...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for loading component
244,471
17.08.2022 19:49:03
-19,080
8d4db8fc5a30a69e4d1e9109ca7c086ab8071a0d
feat: i18n for home
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -383,7 +383,7 @@ function Home() {\n</p>\n<Button\nfullWidth\n- label=\"Enable now\"\n+ label={tCommon(\"actions.enable_now\")}\ndirection=\"column\"\nonClick={() => unb...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for home
244,498
19.08.2022 15:56:09
-28,800
1982de9d9f3928f70486c7a14ca7db45f1fea379
feat: i18n for alllowance
[ { "change_type": "MODIFY", "old_path": "src/app/components/AllowanceMenu/index.tsx", "new_path": "src/app/components/AllowanceMenu/index.tsx", "diff": "@@ -100,7 +100,7 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\ncloseTimeoutMS={200}\nisOpen={modalIsOpen}\nonRequestClose={cl...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: i18n for alllowance #1283
244,498
19.08.2022 15:40:00
-28,800
db819125f9b3a9f9d88cefa5fd82ebd53d716ef1
refactor(lnurauth): use own success-response type
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -2,11 +2,13 @@ import ConfirmOrCancel from \"@components/ConfirmOrCancel\";\nimport Container from \"@components/Container\";\nimport ContentMessage from \"@co...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(lnurauth): use own success-response type
244,498
20.08.2022 12:33:26
-28,800
03fb47f6cb29196ed2bf60d0ef8451b10611db6b
fix: auth via iunlocked and has-allowance prompt
[ { "change_type": "MODIFY", "old_path": "src/app/components/SuccessMessage/index.tsx", "new_path": "src/app/components/SuccessMessage/index.tsx", "diff": "@@ -9,7 +9,7 @@ function SuccessMessage({ message, onClose }: Props) {\nreturn (\n<>\n<dl className=\"shadow bg-white dark:bg-surface-02dp pt-4 px...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: auth via iunlocked and has-allowance prompt #1269
244,498
20.08.2022 12:38:14
-28,800
98ee9255e6944eb47dd04a16c5c219123693ff62
fix: pubsup success notification
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -32,7 +32,6 @@ function LNURLAuth() {\nconst [successMessage, setSuccessMessage] = useState(\"\");\nasync function confirm() {\n- // try catch SEE LNURLPay toa...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: pubsup success notification #1269
244,498
20.08.2022 21:43:41
-28,800
2492e991e3950b9688b14405d0d14d3a2d739e00
refactor: rename authOrPrompt and return value
[ { "change_type": "RENAME", "old_path": "src/extension/background-script/actions/lnurl/authWithPrompt.ts", "new_path": "src/extension/background-script/actions/lnurl/authOrPrompt.ts", "diff": "@@ -10,7 +10,7 @@ import type {\nimport { authFunction } from \"./auth\";\n-async function authWithPrompt(\n...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: rename authOrPrompt and return value #1269
244,520
20.08.2022 16:45:38
0
5fcaa14dba5a9f773a97c589d48821fdb93ef1cf
Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (219 of 219 strings) Translation: getAlby - lightning-browser-extension/getAlby - lightning-browser-extension Translate-URL:
[ { "change_type": "MODIFY", "old_path": "src/i18n/locales/pt_BR/translation.json", "new_path": "src/i18n/locales/pt_BR/translation.json", "diff": "\"placeholder\": \"Quantia em Satoshi...\"\n},\n\"submit\": {\n- \"label\": \"Cobrar\"\n+ \"label\": \"Solicitar Fatura\"\n},\n\"success\": {\n\"title\": ...
TypeScript
MIT License
getalby/lightning-browser-extension
Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (219 of 219 strings) Translation: getAlby - lightning-browser-extension/getAlby - lightning-browser-extension Translate-URL: https://hosted.weblate.org/projects/getalby-lightning-browser-extension/getalby-lightning-browser-extension/pt_BR/
244,503
22.08.2022 08:19:35
-7,200
a82218539ff33aead2d4a8056cb9cf1dd88b175d
refactor: remove unlock check in lib/utils
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -27,13 +27,7 @@ const utils = {\n})\n.then((response: { data: T; error?: string }) => {\nif (response.error) {\n- // trigger toast only on screens which contain <ToastContainer />\n- ...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: remove unlock check in lib/utils
244,503
22.08.2022 08:23:32
-7,200
bd874df8241cb8954d759fcd4e9a38456228d846
feat: render toasts on unlock screen
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -77,7 +77,15 @@ function Options() {\n}\n/>\n</Route>\n- <Route path=\"unlock\" element={<Unlock />} />\n+ <Route\n+ path=\"unlock\"\n+ element={\n+ <>\n+ <Unloc...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: render toasts on unlock screen
244,461
22.08.2022 13:01:37
-7,200
0fafea21420afcd41eac510868cb40e44008423f
feat: unlock password reset This adds a more descriptive error message and allows the user to reset their accounts to start over
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Unlock/index.tsx", "new_path": "src/app/screens/Unlock/index.tsx", "diff": "@@ -34,7 +34,9 @@ function Unlock() {\nevent.preventDefault();\n}\n- function reset() {\n+ async function reset(event: React.MouseEvent<HTMLElement>) {\n+ event.prevent...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: unlock password reset This adds a more descriptive error message and allows the user to reset their accounts to start over
244,461
22.08.2022 13:17:25
-7,200
716c8a158f657d819f103a33e3c7716957246e50
chore: indicate a user can pay a ln address or add a LNURL string
[ { "change_type": "MODIFY", "old_path": "src/i18n/locales/en/translation.json", "new_path": "src/i18n/locales/en/translation.json", "diff": "\"send\": {\n\"title\": \"Send\",\n\"qrcode\": {\n- \"title\": \"Waiting to scan invoice\"\n+ \"title\": \"Waiting to scan\"\n},\n\"input\": {\n- \"label\": \"L...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: indicate a user can pay a ln address or add a LNURL string
244,461
22.08.2022 13:25:36
-7,200
130c72afe3ab8ca41cb06df19b2cad21674ebbac
test: update text
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -31,7 +31,10 @@ const commonCreateWalletUserCreate = async () => {\nawait findByText($document, \"Protect your wallet\");\n// type user password and confirm password\n...
TypeScript
MIT License
getalby/lightning-browser-extension
test: update text
244,461
22.08.2022 14:35:26
-7,200
0a7045d03abe839211864d0b4d0a891f130d1cda
chore: update text in the tests
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send/index.test.tsx", "new_path": "src/app/screens/Send/index.test.tsx", "diff": "@@ -26,26 +26,28 @@ describe(\"Send\", () => {\n);\nexpect(\n- await screen.getByLabelText(\"Lightning Invoice\")\n+ await screen.getByLabelText(\"Invoice, Lightn...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: update text in the tests
244,503
22.08.2022 14:58:28
-7,200
10993d89f958e0ad124958c567a496faeec3dfc9
refactor: use navState for confirm payment
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -86,17 +86,7 @@ function Prompt() {\n/>\n}\n/>\n- <Route\n- path=\"confirmPayment\"\n- element={\n- <ConfirmPayment\n- paymentRequest={\n- navigationState.args?.paym...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: use navState for confirm payment
244,503
22.08.2022 15:00:27
-7,200
73d2c7d986b01cd23121ccf682290f3458a6ad01
refactor: read origin data directly
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmPayment/index.tsx", "new_path": "src/app/screens/ConfirmPayment/index.tsx", "diff": "@@ -38,7 +38,6 @@ function ConfirmPayment(props: Props) {\nconst auth = useAccount();\nconst invoiceRef = useRef(lightningPayReq.decode(paymentRequest))...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: read origin data directly
244,503
22.08.2022 15:05:38
-7,200
fa94cd11fae54d1076e60c9a4b31fc12fcff5d14
refactor: read payment data directly
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmPayment/index.tsx", "new_path": "src/app/screens/ConfirmPayment/index.tsx", "diff": "@@ -38,7 +38,6 @@ function ConfirmPayment(props: Props) {\nconst auth = useAccount();\nconst invoiceRef = useRef(lightningPayReq.decode(paymentRequest))...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: read payment data directly
244,503
22.08.2022 15:07:50
-7,200
6516103982087bf13a6d20ea0b77d9d8850bd2c6
refactor: read invoice data directly
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmPayment/index.tsx", "new_path": "src/app/screens/ConfirmPayment/index.tsx", "diff": "@@ -5,7 +5,7 @@ import PaymentSummary from \"@components/PaymentSummary\";\nimport PublisherCard from \"@components/PublisherCard\";\nimport SuccessMess...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: read invoice data directly
244,503
22.08.2022 15:21:38
-7,200
bc8467cdaa5c59681a045c210d7487a5d235f9c3
refactor: remove searchparams
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send/index.tsx", "new_path": "src/app/screens/Send/index.tsx", "diff": "@@ -88,7 +88,7 @@ function Send() {\nnavigate(`/keysend?destination=${invoice}`);\n} else {\nlightningPayReq.decode(invoice); // throws if invalid.\n- navigate(`/confirmPay...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: remove searchparams
244,503
22.08.2022 15:23:40
-7,200
b96b5e7a8785362aed3a6d2c988c42309562535b
refactor: get origin data once
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Send/index.tsx", "new_path": "src/app/screens/Send/index.tsx", "diff": "@@ -33,6 +33,7 @@ function Send() {\nevent.preventDefault();\ntry {\nsetLoading(true);\n+\nlet lnurl = lnurlLib.findLnurl(invoice);\nif (!lnurl && lnurlLib.isLightningAddre...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: get origin data once
244,503
22.08.2022 15:34:29
-7,200
4c51a7180b1dc0de5d7f05641b6b5ae121f4b495
test: use nav state in test
[ { "change_type": "MODIFY", "old_path": "src/app/screens/ConfirmPayment/index.test.tsx", "new_path": "src/app/screens/ConfirmPayment/index.test.tsx", "diff": "@@ -4,8 +4,8 @@ import lightningPayReq from \"bolt11\";\nimport { MemoryRouter } from \"react-router-dom\";\nimport { settingsFixture as mockS...
TypeScript
MIT License
getalby/lightning-browser-extension
test: use nav state in test
244,498
21.08.2022 11:18:04
-28,800
c3487e8cd3a6d81cae5d8592dcbfd36f9fc92c73
fix(lnurlwithdraw): handle error case
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.tsx", "diff": "@@ -7,6 +7,7 @@ import DualCurrencyField from \"@components/form/DualCurrencyField\";\nimport axios from \"axios\";\nimport { useState, useEffect, MouseEv...
TypeScript
MIT License
getalby/lightning-browser-extension
fix(lnurlwithdraw): handle error case #1302
244,498
22.08.2022 11:52:43
-28,800
5c824bb1c2a3f88649b7b7bf01d5080a94aa2a99
test(lnurlwithdraw): error case
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "diff": "import { render, screen } from \"@testing-library/react\";\n+import userEvent from \"@testing-library/user-event\";\n+import { rest } from \"msw...
TypeScript
MIT License
getalby/lightning-browser-extension
test(lnurlwithdraw): error case #1302
244,498
22.08.2022 12:24:51
-28,800
f813db986277a5d98a1c6f8121f1e73e5887ff11
test(lnurlwithdraw): refactor tests
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.test.tsx", "diff": "@@ -6,6 +6,8 @@ import { act } from \"react-dom/test-utils\";\nimport { MemoryRouter } from \"react-router-dom\";\nimport { settingsFixture as m...
TypeScript
MIT License
getalby/lightning-browser-extension
test(lnurlwithdraw): refactor tests #1302
244,498
22.08.2022 12:33:39
-28,800
ccc0de73665ce409d7bc228b9e6a7cc9bda3f075
chore(lnurlwithdraw): remove unnecessary toast
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.tsx", "diff": "@@ -7,7 +7,6 @@ import DualCurrencyField from \"@components/form/DualCurrencyField\";\nimport axios from \"axios\";\nimport { useState, useEffect, MouseEv...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(lnurlwithdraw): remove unnecessary toast #1302
244,498
22.08.2022 15:15:59
-28,800
d9a5db627039fe60e3ef97669bc39f19a08a1192
test(msw): use general setup for all tests
[ { "change_type": "MODIFY", "old_path": ".eslintrc.json", "new_path": ".eslintrc.json", "diff": "\"plugins\": [\"@typescript-eslint\"],\n\"env\": {\n\"browser\": true,\n- \"webextensions\": true\n+ \"webextensions\": true,\n+ \"jest\": true\n},\n\"rules\": {\n\"@typescript-eslint/no-unused-vars\": [\...
TypeScript
MIT License
getalby/lightning-browser-extension
test(msw): use general setup for all tests #1302
244,498
23.08.2022 10:21:58
-28,800
341ad266c55c1df0fe4d970aa8a80d2a3d0cef63
feat(lnurlwithdraw): make sure response sttaus is always uppercase
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLWithdraw/index.tsx", "new_path": "src/app/screens/LNURLWithdraw/index.tsx", "diff": "@@ -60,7 +60,7 @@ function LNURLWithdraw() {\n},\n});\n- if (response.data.status === \"OK\") {\n+ if (response.data.status.toUpperCase() === \"OK\") {\ns...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(lnurlwithdraw): make sure response sttaus is always uppercase #1302
244,498
12.08.2022 16:57:38
-28,800
bbfb1dca57c8b3a600c5bc2285c63dc7e7d8c1ac
refactor: align close action for all lnurl-actions
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLAuth/index.tsx", "new_path": "src/app/screens/LNURLAuth/index.tsx", "diff": "@@ -53,6 +53,8 @@ function LNURLAuth() {\nthrow new Error(\"Auth status is not ok\");\n}\n+ // ATTENTION: if this LNURL is called through `webln.lnurl` then we im...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: align close action for all lnurl-actions
244,503
22.08.2022 14:53:56
-7,200
6677eb63aa8377dc9283c577a0c5e4517f7dcae5
feat: show fiat in Confirm Payment
[ { "change_type": "MODIFY", "old_path": "src/app/components/PaymentSummary.tsx", "new_path": "src/app/components/PaymentSummary.tsx", "diff": "@@ -2,14 +2,21 @@ type Props = {\namount: string | React.ReactNode;\namountAlt?: string;\ndescription?: string | React.ReactNode;\n+ fiatAmount: string;\n};\n...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: show fiat in Confirm Payment
244,503
22.08.2022 15:16:34
-7,200
ff1d6efad94ec2d1aacde846f3bc39afbc9b4bad
refactor: fiats without plurals
[ { "change_type": "MODIFY", "old_path": "src/app/components/PaymentSummary.tsx", "new_path": "src/app/components/PaymentSummary.tsx", "diff": "@@ -13,7 +13,7 @@ function PaymentSummary({ amount, amountAlt, description, fiatAmount }: Props) {\n{amountAlt && <dd className=\"text-gray-400\">{amountAlt}<...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: fiats without plurals
244,503
24.08.2022 09:41:26
-7,200
b1722d57d22961775dd94f3cef9541d3c29a0a46
refactor: feedback review, fiat in same line
[ { "change_type": "MODIFY", "old_path": "src/app/components/PaymentSummary.tsx", "new_path": "src/app/components/PaymentSummary.tsx", "diff": "@@ -8,15 +8,14 @@ type Props = {\nfunction PaymentSummary({ amount, amountAlt, description, fiatAmount }: Props) {\nreturn (\n<dl className=\"mb-0\">\n- <dt c...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: feedback review, fiat in same line
244,503
24.08.2022 10:03:47
-7,200
fc12c2b149c74ca6efd8b557ac582684c1f02544
refactor: change to FC explicitly
[ { "change_type": "RENAME", "old_path": "src/app/components/PaymentSummary.tsx", "new_path": "src/app/components/PaymentSummary/index.tsx", "diff": "-type Props = {\n+import { FC } from \"react\";\n+\n+export type Props = {\namount: string | React.ReactNode;\namountAlt?: string;\ndescription?: string...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: change to FC explicitly
244,503
24.08.2022 10:04:54
-7,200
6399a7af9c7dacc4562adfe61db9243f9f9b7ef0
refactor: do not render description if undefined
[ { "change_type": "MODIFY", "old_path": "src/app/components/PaymentSummary/index.tsx", "new_path": "src/app/components/PaymentSummary/index.tsx", "diff": "@@ -23,10 +23,14 @@ const PaymentSummary: FC<Props> = ({\n)}\n</dd>\n{amountAlt && <dd className=\"text-gray-400\">{amountAlt}</dd>}\n+ {!!descrip...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: do not render description if undefined
244,503
24.08.2022 10:26:46
-7,200
a676db9f3172ff28411e4721a816881f81fb9286
test: ensure correctly rendering
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/components/PaymentSummary/index.test.tsx", "diff": "+import PaymentSummary, { Props } from \"@components/PaymentSummary\";\n+import { render } from \"@testing-library/react\";\n+\n+const defaultProps = {\n+ amount: \"1234\",\n+ fiatAmoun...
TypeScript
MIT License
getalby/lightning-browser-extension
test: ensure correctly rendering
244,461
24.08.2022 10:55:35
-7,200
d62c6d17ad44a91cbcfc79ee50df47571ca2945d
fix: lnurl quickfixes the LNURL routes have been missing on the options page
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -3,7 +3,10 @@ import Navbar from \"@components/Navbar\";\nimport Accounts from \"@screens/Accounts\";\nimport ConfirmPayment from \"@screens/ConfirmPayment\";\ni...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: lnurl quickfixes the LNURL routes have been missing on the options page
244,498
26.08.2022 10:34:09
-28,800
8a09b6d0dfb48daa648d8fa252c7e4d6a8ac5dc7
feat(receive): submit form on enter
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/screens/Receive/index.test.tsx", "diff": "+import { act, render, screen } from \"@testing-library/react\";\n+import userEvent from \"@testing-library/user-event\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { settingsF...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(receive): submit form on enter
244,498
26.08.2022 10:52:42
-28,800
05f205eec9b8589268138a49aa60f9c91618cc91
fix(receive): i18n strings
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Receive/index.tsx", "new_path": "src/app/screens/Receive/index.tsx", "diff": "@@ -153,17 +153,19 @@ function Receive() {\nlabel={copyLabel}\n/>\n</div>\n+\n<div className=\"flex justify-center\">\n{pollingForPayment && (\n<div className=\"flex ...
TypeScript
MIT License
getalby/lightning-browser-extension
fix(receive): i18n strings
244,498
26.08.2022 17:52:37
-28,800
58bc7a6ef706fbfc9eb0b034dc3eed551c0a548d
feat(budgetcontrol): i18n
[ { "change_type": "MODIFY", "old_path": "src/app/components/BudgetControl/index.tsx", "new_path": "src/app/components/BudgetControl/index.tsx", "diff": "+import Checkbox from \"@components/form/Checkbox\";\n+import DualCurrencyField from \"@components/form/DualCurrencyField\";\nimport { Transition } ...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(budgetcontrol): i18n #1311
244,498
26.08.2022 17:58:53
-28,800
f088e880631c074f7c9ce07965cb982e44ad3d72
feat(successmessage): i18n
[ { "change_type": "MODIFY", "old_path": "src/app/components/SuccessMessage/index.tsx", "new_path": "src/app/components/SuccessMessage/index.tsx", "diff": "import { MouseEventHandler } from \"react\";\n+import { useTranslation } from \"react-i18next\";\ntype Props = {\nmessage: string;\n@@ -6,15 +7,20...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(successmessage): i18n #1311
244,498
26.08.2022 18:51:21
-28,800
0cd93a1a0f9e0d476d068c84bcab233771b13548
feat(unlock): i18n
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Unlock/index.tsx", "new_path": "src/app/screens/Unlock/index.tsx", "diff": "@@ -63,7 +63,7 @@ function Unlock() {\n<form onSubmit={handleSubmit}>\n<div className=\"mb-5\">\n<Input\n- placeholder=\"Password\"\n+ placeholder={tCommon(\"password\"...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(unlock): i18n #1311
244,498
26.08.2022 19:28:03
-28,800
c06d78f31b5cc1c0296b8b8edcdb90a16e2de39c
feat(makeinvoice): i18n minor if/else refactor
[ { "change_type": "MODIFY", "old_path": "src/app/screens/MakeInvoice.tsx", "new_path": "src/app/screens/MakeInvoice.tsx", "diff": "@@ -42,8 +42,10 @@ function MakeInvoice({\nconst [value, setValue] = useState(invoiceAttributes.amount || \"\");\nconst [memo, setMemo] = useState(invoiceAttributes.memo ...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(makeinvoice): i18n #1311 - minor if/else refactor
244,491
29.08.2022 01:59:42
-7,200
38ef6f1fa6248bf180bf5a3de7fb7e6825e6f57f
adding website-links to connectors
[ { "change_type": "MODIFY", "old_path": "src/app/components/ConnectorForm/index.tsx", "new_path": "src/app/components/ConnectorForm/index.tsx", "diff": "@@ -30,7 +30,11 @@ function ConnectorForm({\n<form onSubmit={onSubmit}>\n<div className=\"relative lg:flex mt-14 bg-white dark:bg-surface-02dp px-10...
TypeScript
MIT License
getalby/lightning-browser-extension
adding website-links to connectors
244,491
29.08.2022 22:45:00
-7,200
dbd4ff806dd4bf1d32f05e69b870f4a9c175c2df
fix: issue-1551 yarn lint ran sucessfully
[ { "change_type": "MODIFY", "old_path": "src/app/screens/connectors/ConnectCitadel/index.tsx", "new_path": "src/app/screens/connectors/ConnectCitadel/index.tsx", "diff": "@@ -86,7 +86,9 @@ export default function ConnectCitadel() {\ntitle={\n<h1 className=\"mb-6 text-2xl font-bold dark:text-white\">\...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: issue-1551 yarn lint ran sucessfully
244,472
30.08.2022 08:57:33
-7,200
7aec8079307498501b135ae65535b2f511fae107
fix: expose ready event on window
[ { "change_type": "MODIFY", "old_path": "src/extension/inpage-script/index.js", "new_path": "src/extension/inpage-script/index.js", "diff": "@@ -6,7 +6,7 @@ if (document) {\nwindow.webln = new WebLNProvider();\nconst readyEvent = new Event(\"webln:ready\");\n- document.dispatchEvent(readyEvent);\n+ w...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: expose ready event on window
244,461
30.08.2022 09:06:09
-7,200
fca595a897bc47eb7e5c8c69974c80b1fbb948b3
feat: add webln on start script this initializes an empty object on "document_start" to indicate that webln is loading and will be available. This makes it easier for apps to check if the user has Alby / an webln enabled browser.
[ { "change_type": "ADD", "old_path": null, "new_path": "src/extension/content-script/onstart.js", "diff": "+import shouldInject from \"./shouldInject\";\n+\n+async function onstart() {\n+ const inject = await shouldInject();\n+ if (!inject) {\n+ return;\n+ }\n+\n+ try {\n+ if (!document) {\n+ return;...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add webln on start script this initializes an empty object on "document_start" to indicate that webln is loading and will be available. This makes it easier for apps to check if the user has Alby / an webln enabled browser.