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,495 | 28.05.2022 11:07:52 | -7,200 | 00acd20aa9230f2fb0aed7d57accf07a429e440c | fix: add descriptive message when method is not supported | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.ts",
"new_path": "src/extension/background-script/connectors/lndhub.ts",
"diff": "@@ -352,6 +352,10 @@ export default class LndHub implements Connector {\nif (axios.isAxiosError(e)) {\nconst errResponse = e.res... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add descriptive message when method is not supported |
244,477 | 29.05.2022 18:06:35 | 14,400 | 5c7c01c2f47398ff40063d4c1c3d37a32847fe6a | fix: i18n strings not updating | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.tsx",
"new_path": "src/app/router/Options/Options.tsx",
"diff": "@@ -2,7 +2,7 @@ import { HashRouter, Navigate, Outlet, Routes, Route } from \"react-router-dom\";\nimport { AuthProvider, useAuth } from \"~/app/context/AuthContext... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: i18n strings not updating |
244,477 | 30.05.2022 00:11:28 | 14,400 | 75aeecc6d16463144c50e372db35ab1eb2b006a3 | refactor: use forEach instead of for loop | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -92,12 +92,12 @@ function App() {\n// Update name to new language only, don't update status\nconst tempSteps: Step[] = [];\n- for (let i = 0; i < routes.length; ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: use forEach instead of for loop |
244,495 | 30.05.2022 12:48:10 | -7,200 | a83b624c7265127ce035f22acadf7c669a139ad1 | fix: purgecss ignores max-screen classes | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Container.tsx",
"new_path": "src/app/components/Container.tsx",
"diff": "+type MaxWidth = \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\n+\ntype Props = {\nchildren: React.ReactNode;\n- maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: purgecss ignores max-screen classes |
244,498 | 25.05.2022 13:41:59 | -28,800 | 0439423b8e32eb75f948085056fcf83a8d7f2148 | refactor(account): message-types | [
{
"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": "import deleteAccount from \"../delete\";\n-import type { Message } from \"../../../../... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(account): message-types #652 |
244,498 | 25.05.2022 14:52:21 | -28,800 | 329d80649aa152622c00072855a66047d57a709a | test(account): add | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/accounts/__tests__/add.test.ts",
"diff": "+import addAccount from \"../add\";\n+import type { MessageAccountAdd } from \"~/types\";\n+import state from \"~/extension/background-script/state\";\n+\n+jest.mo... | TypeScript | MIT License | getalby/lightning-browser-extension | test(account): add #652 |
244,498 | 25.05.2022 15:16:45 | -28,800 | 9d3b0ceaca1eb0feb2d4fa4f6837df340c48332a | test(account): edit | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/add.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/add.test.ts",
"diff": "@@ -32,7 +32,7 @@ const message: MessageAccountAdd = {\ntype: \"addAccount\",\n};\n-describe... | TypeScript | MIT License | getalby/lightning-browser-extension | test(account): edit #652 |
244,498 | 01.06.2022 10:26:45 | -28,800 | 6cc123d8cbd3fd25f368916e5806ca6404e996c2 | refactor(account): improve add account | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/add.ts",
"new_path": "src/extension/background-script/actions/accounts/add.ts",
"diff": "@@ -6,10 +6,11 @@ import type { MessageAccountAdd } from \"~/types\";\nconst add = async (message: MessageAccountAdd) => {... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(account): improve add account #652 |
244,495 | 31.05.2022 12:06:10 | -7,200 | cd7c611f2248d1b2196be00a2582430a1d7acaab | feat: show it when there is no budget set | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "@@ -136,26 +136,21 @@ function Home() {\n<>\n<div className=\"px-4 pb-5\">\n<div className=\"flex justify-between items-center py-3\">\n- {+allowance.totalBudget > 0 ? (\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show it when there is no budget set |
244,498 | 31.05.2022 18:24:31 | -28,800 | 380e2bfbfd0d4fd87d859babab0110acb21f7747 | chore(deps): add import sorting package | [
{
"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+ \"@trivago/prettier-plugin-sort-imports\": \"^3.2.0\",\n\"@types/chrome\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): add import sorting package |
244,498 | 01.06.2022 19:55:56 | -28,800 | 0856704b3ac39f5009622f869ba37f29a6563db8 | chore(ci): add prettier task to linting check | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/linting.yml",
"new_path": ".github/workflows/linting.yml",
"diff": "@@ -22,3 +22,6 @@ jobs:\n- name: Linting\nrun: yarn lint:js\n+\n+ - name: Prettier\n+ run: yarn format\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json"... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(ci): add prettier task to linting check |
244,498 | 26.05.2022 18:25:13 | -28,800 | 65e93e8405449f0bf52f4bc781486ceed4a4b434 | docs: improve contribution section | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -201,13 +201,42 @@ Currently, there is one native companion app available to connect to Tor nodes:\nWe welcome and appreciate new contributions.\n-We use the [Development Project Board](https://github.com/getAlb... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: improve contribution section |
244,498 | 25.05.2022 15:33:30 | -28,800 | e54f13c3c646ffa9512fc5295ac1c3664a3e4f9a | chore(account): remove unused code | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/index.js",
"new_path": "src/extension/background-script/actions/accounts/index.js",
"diff": "@@ -5,7 +5,6 @@ import edit from \"./edit\";\nimport info from \"./info\";\nimport isUnlocked from \"./isUnlocked\";\n... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(account): remove unused code #652 |
244,498 | 02.06.2022 10:36:38 | -28,800 | ef7aeb67d0c3414a453bec38fdaf2e31bcb45605 | style: import sorting | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"diff": "-import infoAccount from \"../info\";\n-import type { MessageAccountInfo } from \"~/types\... | TypeScript | MIT License | getalby/lightning-browser-extension | style: import sorting |
244,495 | 30.05.2022 19:48:17 | -7,200 | 4440c858cccb007c3497bdf12c544de531335d7b | feat: subtle ui improvements | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -32,11 +32,11 @@ export default function Button({\nfullWidth ? \"px-0 py-2\" : \"px-7 py-2\",\nprimary\n? \"bg-orange-bitcoin text-white border border-transpar... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: subtle ui improvements |
244,471 | 03.06.2022 22:08:11 | -19,080 | d0d104654907439ef20413aac9183923aa205d05 | fix: button text overflows in menu | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -85,7 +85,9 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\ndisabled={loading}\n>\n<WalletIcon className=\"w-6 h-6 -ml-0.5... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: button text overflows in menu |
244,471 | 04.06.2022 14:31:52 | -19,080 | 95a3c80bc25b9ec87cadccfa6d6c519e3209c34b | test: replace fireevent with userevent | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "-import { fireEvent, render, screen, waitFor } from \"@testing-library/react\";\n+import { render, screen, waitFor } from \"@testing-library/r... | TypeScript | MIT License | getalby/lightning-browser-extension | test: replace fireevent with userevent |
244,471 | 03.06.2022 22:58:43 | -19,080 | a1f13bdb4bb20ecd387516b356305342b2b6311f | feat: add selected prop to menu item button | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Menu/MenuItemButton.tsx",
"new_path": "src/app/components/Menu/MenuItemButton.tsx",
"diff": "@@ -6,6 +6,7 @@ type Props = {\ndanger?: boolean;\ndisabled?: boolean;\nonClick: () => void;\n+ selected?: boolean;\n};\nfunction MenuItemButton({\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add selected prop to menu item button |
244,471 | 03.06.2022 22:59:38 | -19,080 | 55c04957cfd3e48c5bebb369af4820a31bc5b94c | feat: highlight selected account in menu | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -83,6 +83,7 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\nselectAccount(accountId);\n}}\ndisabled={loading}\n+ selected=... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: highlight selected account in menu |
244,471 | 04.06.2022 13:55:35 | -19,080 | 6a14a36eabe7e743d677340f7f2b439bb7f36b91 | test(account): highlight selected account | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "@@ -3,6 +3,7 @@ import userEvent from \"@testing-library/user-event\";\nimport { act } from \"react-dom/test-utils\";\nimport { BrowserRouter ... | TypeScript | MIT License | getalby/lightning-browser-extension | test(account): highlight selected account |
244,471 | 04.06.2022 16:13:20 | -19,080 | 007752757434e25b0dd587a1288b1595efa897d4 | chore: rename sat to sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -96,7 +96,7 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nid=\"budget\"\nlabel=\"Budget\"\nautoFocus\n- placeholder=\"sat\... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: rename sat to sats |
244,471 | 04.06.2022 19:44:00 | -19,080 | fb97f895afa1ae049c476498ace0534c4b773e14 | fix: prevent wallet icon from shrinking | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -84,7 +84,7 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\n}}\ndisabled={loading}\n>\n- <WalletIcon className=\"w-6 h-6 -... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: prevent wallet icon from shrinking |
244,471 | 04.06.2022 19:48:10 | -19,080 | 1ed0ccbf5409785da6ab27317a8edcc43cfbcc9e | feat: add title prop for menu item | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -83,6 +83,7 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\nselectAccount(accountId);\n}}\ndisabled={loading}\n+ title={ac... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add title prop for menu item |
244,471 | 05.06.2022 11:55:42 | -19,080 | fb0bf8b210a345a18ca6e93a460b285a9bc29776 | fix: use span instead of div | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -86,9 +86,9 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\ntitle={account.name}\n>\n<WalletIcon className=\"w-6 h-6 -ml-0... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: use span instead of div |
244,495 | 05.06.2022 16:47:19 | -7,200 | c53c1b0ac8e7afd44025c61e09ca4f922b0be735 | style: highlight with dot and checkmark | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Menu/MenuItemButton.tsx",
"new_path": "src/app/components/Menu/MenuItemButton.tsx",
"diff": "+import { CheckIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { Menu } from \"@headlessui/react\";\nimport { classNames } from ... | TypeScript | MIT License | getalby/lightning-browser-extension | style: highlight with dot and checkmark |
244,461 | 05.06.2022 18:55:52 | -7,200 | 1a98be1864bb6291a273f8a4a7592d83787f205d | feat: publish success events for lightning links | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -63,19 +63,31 @@ if (document) {\n}\nif (lnurl) {\n// TODO: dispatch success event\n- return window.webln.lnurl(lnurl).catch((e) => {\n+ return window.webln\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: publish success events for lightning links |
244,461 | 05.06.2022 20:18:49 | -7,200 | fb556a78080abbb8f12366a44f487b351bf0a391 | test: fix selected account menu test | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "@@ -72,9 +72,10 @@ describe(\"AccountMenu\", () => {\nawait userEvent.click(screen.getByText(\"Toggle Dropdown\"));\n// As we have set the act... | TypeScript | MIT License | getalby/lightning-browser-extension | test: fix selected account menu test |
244,461 | 05.06.2022 20:56:44 | -7,200 | 2f8ec329c6b7a97e767b7f7ebea2977458319376 | style: add missing react-toastify css to popup screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/index.tsx",
"new_path": "src/app/router/Popup/index.tsx",
"diff": "import { createRoot } from \"react-dom/client\";\nimport \"react-loading-skeleton/dist/skeleton.css\";\n+import \"react-toastify/dist/ReactToastify.css\";\nimport \"~/app/s... | TypeScript | MIT License | getalby/lightning-browser-extension | style: add missing react-toastify css to popup screen |
244,498 | 06.06.2022 10:51:34 | -28,800 | 8af8051da0a40d793a307feb8cb32ba2b456e24f | fix: unfreezing init-states | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/SetPassword/index.tsx",
"new_path": "src/app/screens/Onboard/SetPassword/index.tsx",
"diff": "@@ -7,15 +7,15 @@ import utils from \"~/common/lib/utils\";\nimport i18n from \"~/i18n/i18nConfig\";\nimport { welcomeI18nNamespace } from \"~... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: unfreezing init-states |
244,495 | 06.06.2022 10:20:20 | -7,200 | f3b5943368740b299af6a71f9c1b442c99ab359d | fix: selected should only be part of accountmenu | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "@@ -75,10 +75,9 @@ describe(\"AccountMenu\", () => {\nawait waitFor(() => screen.getByText(\"Switch account\"));\n// As we have set the active... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: selected should only be part of accountmenu |
244,531 | 06.06.2022 14:54:20 | -7,200 | 668a8c23ea5c9a466f5c40b14c85af1162f92904 | Added Podverse to "Websites" screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publishers/websites.json",
"new_path": "src/app/screens/Publishers/websites.json",
"diff": "{\n\"title\": \"Entertaiment\",\n\"items\": [\n+ {\n+ \"title\": \"Podverse\",\n+ \"subtitle\": \"Podcastplayer with bitcoin payments\",\n+ \"logo\": \"... | TypeScript | MIT License | getalby/lightning-browser-extension | Added Podverse to "Websites" screen |
244,461 | 06.06.2022 14:57:30 | -7,200 | a79c2856891a66c4fe0f35a13a53e02046d3eeea | fix: prevent multiple parallel webln calls | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/index.js",
"new_path": "src/extension/content-script/index.js",
"diff": "@@ -21,6 +21,7 @@ const weblnCalls = [\nconst disabledCalls = [\"enable\"];\nlet isEnabled = false; // store if webln is enabled for this content page\n+let c... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: prevent multiple parallel webln calls |
244,471 | 06.06.2022 23:32:02 | -19,080 | 4e73c8e5fe45a9213fd641a25946894cb12c21fb | chore: inform while using type | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -83,7 +83,10 @@ const routeCalls = (message, sender) => {\n}\nconst debug = state.getState().settings.debug;\n- const action = message.action; //|| m... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: inform while using type |
244,461 | 06.06.2022 22:06:49 | -7,200 | d2f93ef9262f52f4503675e93124ab4c1b94dbd6 | chore: use console.error to log errors | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -66,8 +66,12 @@ if (document) {\nreturn window.webln\n.lnurl(lnurl)\n.catch((e) => {\n- console.log(e);\n+ console.error(e);\n+ if (\n+ ![ABORT_PROMPT_ERROR,... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: use console.error to log errors |
244,471 | 07.06.2022 17:36:19 | -19,080 | 3a393f4a5cd5e1639701ff6cd5b87c59fd477af9 | chore: remove repetition | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/msg.ts",
"new_path": "src/common/lib/msg.ts",
"diff": "@@ -10,7 +10,7 @@ const msg = {\n.sendMessage({\napplication: \"LBE\",\nprompt: true,\n- action: action,\n+ action,\nargs: args,\norigin: { internal: true },\n...overwrites,\n"
}
] | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove repetition |
244,495 | 07.06.2022 14:33:03 | -7,200 | fc908e1fa4b02db962114da8144797ef23d78091 | feat: go back to general home from contextual home | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "import {\n+ CaretLeftIcon,\nSendIcon,\nReceiveIcon,\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport AllowanceMenu from \"@components/AllowanceMenu\";\nimpor... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: go back to general home from contextual home |
244,495 | 07.06.2022 17:31:24 | -7,200 | d6d3ad067291d76145ff20d49cf85b23565179d1 | feat: always visible confirm button in send screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.tsx",
"new_path": "src/app/router/Popup/Popup.tsx",
"diff": "@@ -14,8 +14,6 @@ import { AuthProvider } from \"~/app/context/AuthContext\";\nimport RequireAuth from \"../RequireAuth\";\n-const POPUP_MAX_HEIGHT = 600;\n-\nfunction Popu... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: always visible confirm button in send screen |
244,498 | 08.06.2022 15:01:00 | -28,800 | b487a349fa876055aa5ec64d5af433c5363dc56d | chore(ci): update yarn-actions | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/playwright.yml",
"new_path": ".github/workflows/playwright.yml",
"diff": "@@ -21,12 +21,12 @@ jobs:\nargs: install\n- name: Install dependencies\n- uses: borales/actions-yarn@v2.3.0\n+ uses: borales/actions-yarn@v3.0.0\nwith:\ncmd: install # ... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(ci): update yarn-actions |
244,495 | 08.06.2022 09:43:00 | -7,200 | 3dc0bfe1396759d6a25f7f06fece606b3be74fe4 | refactor: use allowance.host as title | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "@@ -291,7 +291,7 @@ function Home() {\n<div>\n{allowance && (\n<Header\n- title=\"Back to Home\"\n+ title={allowance.host}\nheaderLeft={\n<IconButton\nonClick={() => setAll... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: use allowance.host as title |
244,498 | 08.06.2022 18:22:19 | -28,800 | fc7b5198ca9c635d980d025978ba31bb9b1e37de | refactor(state): isUnlocked handling | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/index.ts",
"new_path": "src/extension/background-script/actions/accounts/index.ts",
"diff": "@@ -3,21 +3,9 @@ import all from \"./all\";\nimport deleteAccount from \"./delete\";\nimport edit from \"./edit\";\nim... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(state): isUnlocked handling |
244,471 | 08.06.2022 16:53:25 | -19,080 | 7c5f3c195d8318a780bcbc0b32950901645cfb0a | chore: rename type to action | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"diff": "@@ -31,7 +31,7 @@ describe(\"account info\", () => {\napplication: \"LBE\",\norigin: { int... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: rename type to action |
244,495 | 08.06.2022 16:46:41 | -7,200 | 27a968dee4806a5676c9fda72f583d41e69f0ab0 | feat: sticky confirm in prompt | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -174,7 +174,9 @@ const Layout = () => {\n/>\n</div>\n+ <main className=\"flex flex-col grow min-h-0\">\n<Outlet />\n+ </main>\n</>\n);\n};\n"
},
{
"change_ty... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: sticky confirm in prompt |
244,533 | 09.06.2022 00:27:46 | -7,200 | a96a2579788fcded55169f921a28db853800ff64 | fix: request.type being used instead of request.action | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/index.js",
"new_path": "src/extension/content-script/index.js",
"diff": "@@ -28,7 +28,7 @@ if (shouldInject()) {\n// extract LN data from websites\nbrowser.runtime.onMessage.addListener((request, sender, sendResponse) => {\n- if (r... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: request.type being used instead of request.action |
244,461 | 09.06.2022 00:57:52 | -7,200 | 69625139e2189ad69bf24a124a9a140b46c6ef71 | fix: missing type => action renaming | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/info.test.ts",
"diff": "@@ -31,7 +31,7 @@ describe(\"account info\", () => {\napplication: \"LBE\",\norigin: { int... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: missing type => action renaming |
244,498 | 10.06.2022 13:55:27 | -28,800 | 8c6df81c8510e5a0167f70260047c96aff6e398a | chore(deps): add ^ to version | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"sass\": \"^1.52.1\",\n\"sass-loader\": \"^13.0.0\",\n\"stream-browserify\": \"^3.0.0\",\n- \"terser-webpack-plugin\": \"5.3.3\",\n+ \"terser-webpack-plugin\": \"^5.3.3\",\n\"ts-jest\": \"^28.0.2\",\n\"ts-no... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): add ^ to version |
244,498 | 09.06.2022 12:06:09 | -28,800 | 36b8822edf784de36f153692fc94483c6b64764a | fix: update code after rebase | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/__tests__/all.test.ts",
"new_path": "src/extension/background-script/actions/accounts/__tests__/all.test.ts",
"diff": "@@ -42,7 +42,7 @@ describe(\"account all\", () => {\napplication: \"LBE\",\norigin: { intern... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: update code after rebase #652 |
244,461 | 10.06.2022 20:29:17 | -7,200 | ef22e33500dfabfbd3b6b5d1d328418f3465d940 | fix: refactor DB loading of allowances/payments
For some reason it seemed that the opening of the DB got blocked. This could be because of an error in adding the data from the extension storage.
Sadly it is not clear what can cause this.
I hope this change makes it a bit more resilient | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/db.ts",
"new_path": "src/extension/background-script/db.ts",
"diff": "@@ -59,23 +59,49 @@ class DB extends Dexie {\n}\nasync loadFromStorage() {\n- try {\n- const result = await browser.storage.local.get([\n- \"allowances\",\n- ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: refactor DB loading of allowances/payments
For some reason it seemed that the opening of the DB got blocked. This could be because of an error in adding the data from the extension storage.
Sadly it is not clear what can cause this.
I hope this change makes it a bit more resilient |
244,461 | 10.06.2022 20:36:14 | -7,200 | 269fa906886ec580e445d5ca1eabf994294ead8b | chore: use console.error for errors | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/db.ts",
"new_path": "src/extension/background-script/db.ts",
"diff": "@@ -100,7 +100,7 @@ class DB extends Dexie {\n})\n.catch((e) => {\nconsole.log(\"Failed to load DB data from storage\");\n- console.log(e);\n+ console.error(e... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: use console.error for errors |
244,498 | 13.06.2022 17:52:55 | -28,800 | c0b966ec4eff4a6157294ee50504872248ffc89b | style(eslint): no-constant-binary-expression | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.json",
"new_path": ".eslintrc.json",
"diff": "},\n\"rules\": {\n\"react/prop-types\": \"off\",\n- \"@typescript-eslint/no-unused-vars\":[\"warn\", { \"args\": \"none\" }] // No warnings for unused function arguments, which might be used in the future... | TypeScript | MIT License | getalby/lightning-browser-extension | style(eslint): no-constant-binary-expression
https://twitter.com/captbaritone/status/1535695102667915264 |
244,495 | 13.06.2022 16:36:24 | -7,200 | 7b5b90577704ecb12a0c03fcd031417cc00bcc69 | fix: url should include port number | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectUmbrel/index.tsx",
"new_path": "src/app/screens/connectors/ConnectUmbrel/index.tsx",
"diff": "@@ -22,7 +22,7 @@ export default function ConnectUmbrel() {\nlet lndconnect = new URL(lndconnectUrl);\nlndconnect.protocol = \"http:... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: url should include port number |
244,495 | 13.06.2022 16:40:46 | -7,200 | 5bd91108ee927217a2159b5a0f7952fff7392789 | fix: include port number | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectMyNode/index.tsx",
"new_path": "src/app/screens/connectors/ConnectMyNode/index.tsx",
"diff": "@@ -22,7 +22,7 @@ export default function ConnectMyNode() {\nlet lndconnect = new URL(lndconnectUrl);\nlndconnect.protocol = \"http:... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: include port number |
244,495 | 13.06.2022 17:36:44 | -7,200 | 45d8ed7b87992e674b8acb15862ce4451436546a | test: add umbrel e2e test | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "import { test } from \"@playwright/test\";\nimport { USER } from \"complete-randomer\";\nimport { getDocument, queries, waitFor } from \"pptr-testing-library\";\n-const {... | TypeScript | MIT License | getalby/lightning-browser-extension | test: add umbrel e2e test |
244,495 | 13.06.2022 20:41:54 | -7,200 | a65be8c6b989440ae967a88bfb1379795ec88d52 | test: add myNode & Start9 e2e tests | [
{
"change_type": "MODIFY",
"old_path": "tests/e2e/createWallets.spec.ts",
"new_path": "tests/e2e/createWallets.spec.ts",
"diff": "@@ -171,6 +171,50 @@ test.describe(\"Create or connect wallets\", () => {\nawait commonCreateWalletSuccessCheck({ browser, welcomePage, $document });\n});\n+ test(\"succe... | TypeScript | MIT License | getalby/lightning-browser-extension | test: add myNode & Start9 e2e tests |
244,498 | 31.05.2022 14:12:45 | -28,800 | 583d9d3e3e33c8fae1477182d26ee15bc06f1849 | refactor(state): isUnlocked handling
chore: remove unsued code | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/index.ts",
"new_path": "src/extension/background-script/actions/accounts/index.ts",
"diff": "@@ -4,8 +4,7 @@ import deleteAccount from \"./delete\";\nimport edit from \"./edit\";\nimport info from \"./info\";\ni... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(state): isUnlocked handling #652
chore: remove unsued code |
244,498 | 13.06.2022 12:17:11 | -28,800 | c1bf70c2d9b0848bed3004b1781885596347a117 | chore(api): remove unused type | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"diff": "@@ -28,11 +28,6 @@ export default function TestConnection() {\nsetLoading(true);\ntry {\nconst response = await api.getAccountInfo();\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(api): remove unused type #652 |
244,498 | 14.06.2022 11:24:21 | -28,800 | f99f8adaca62823e0dfad642b73a90a2561b6f12 | refactor(testconnection): adjust error handling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.tsx",
"diff": "@@ -36,13 +36,9 @@ export default function TestConnection() {\nsetAccountInfo({ alias, balance, name });\n} catch (e) {\n- if (typeof e ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(testconnection): adjust error handling #652 |
244,498 | 24.05.2022 14:22:46 | -28,800 | a25cf4deb66db3116fe49c1a24f0cfb617632d11 | fix(allowanceMenu): reword change of budget
add test | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@storybook/react\": \"^6.5.6\",\n\"@testing-library/jest-dom\": \"^5.16.3\",\n\"@testing-library/react\": \"^13.3.0\",\n- \"@testing-library/user-event\": \"^14.1.1\",\n+ \"@testing-library/user-event\": \"... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(allowanceMenu): reword change of budget #805
add test |
244,498 | 14.06.2022 13:13:47 | -28,800 | 14c46a8a06b8011952ff9baf51423729759fcb48 | feat(textField): add hint prop | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -101,12 +101,10 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nplaceholder=\"sats\"\nvalue={budget}\ntype=\"number\"\n+ hin... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(textField): add hint prop #805 |
244,498 | 15.06.2022 15:40:24 | -28,800 | 4c88b82dbbdeae13c91d7e6c845d1f8005420756 | chore: run prettier on md-files | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lint:js\": \"eslint src --ext .js,.jsx,.ts,.tsx --max-warnings 0\",\n\"lint:js:fix\": \"eslint src --ext .js,.jsx,.ts,.tsx --fix\",\n\"tsc:compile\": \"tsc --noEmit\",\n- \"format\": \"prettier --check 'src... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: run prettier on md-files |
244,498 | 15.06.2022 15:43:44 | -28,800 | 5dbff54986d49e45da7136729d8225853ac2996b | docs: rework links, some formatting | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -232,7 +232,7 @@ When creating a PR please take this points as a reminder:\n- If there's not yet an issue for your PR please first [create an issue](https://github.com/bumi/lightning-browser-extension/issues/new... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: rework links, some formatting |
244,461 | 16.06.2022 00:04:35 | -7,200 | 9a60bc4645c99d4afd31ec9d400ca8b60ac03b1c | feat: special Alby meta tags
This allows website owners to specifically set the title, description and image for Alby.
The following meta tags witll be be preferred within Alby
alby:site_name
alby:description
alby:image | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "@@ -74,6 +74,10 @@ const metaDataRules: Record<string, RuleSet> = {\n},\ndescription: {\nrules: [\n+ [\n+ 'meta[property=\"alby:description\"][conte... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: special Alby meta tags
This allows website owners to specifically set the title, description and image for Alby.
The following meta tags witll be be preferred within Alby
alby:site_name
alby:description
alby:image |
244,461 | 16.06.2022 00:18:01 | -7,200 | 3a51f07d56c2263bea9b20d9b5ea0a62b8653399 | feat: use alby:name instead of alby:site_name meta tag
this is probably more correct as the name is specified and not the site_name | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "@@ -194,7 +194,7 @@ const metaDataRules: Record<string, RuleSet> = {\nprovider: {\nrules: [\n[\n- 'meta[property=\"alby:site_name\"][content]',\n+ '... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use alby:name instead of alby:site_name meta tag
this is probably more correct as the name is specified and not the site_name |
244,498 | 16.06.2022 11:34:40 | -28,800 | 7e11b83af33f9ef9d7919318a241b38217fbc729 | docs: make editor entry more general | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -242,9 +242,9 @@ When creating a PR please take this points as a reminder:\n- [Prettier](https://prettier.io/) for code (and more) formatting\n- We prefer [Axios](https://axios-http.com/) over [fetch](https://de... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: make editor entry more general |
244,498 | 01.06.2022 16:38:37 | -28,800 | 216eeb147feff84d7522c603dcdc0616127f95d4 | refactor(account): lock
add test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/accounts/__tests__/lock.test.ts",
"diff": "+import lock from \"../lock\";\n+import state from \"~/extension/background-script/state\";\n+import type { MessageAccountLock } from \"~/types\";\n+\n+jest.mock(... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(account): lock #652
add test |
244,498 | 16.06.2022 17:32:28 | -28,800 | 18b0c244a1fd62cf1800061219f135476b5b3b84 | chore(account): remove unused file | [
{
"change_type": "DELETE",
"old_path": "src/extension/background-script/actions/accounts/remove.js",
"new_path": null,
"diff": "-import state from \"../../state\";\n-\n-const remove = async (message, sender) => {\n- const accounts = state.getState().accounts;\n- const currentAccountId = state.getSta... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(account): remove unused file #652 |
244,477 | 16.06.2022 05:53:54 | 14,400 | ba0bed16dd3f7f8b9f1f6de5678c27162bd0bcd6 | fix: prettier import order | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.tsx",
"new_path": "src/app/router/Options/Options.tsx",
"diff": "-import { HashRouter, Navigate, Outlet, Routes, Route } from \"react-router-dom\";\n-\n-import { AuthProvider, useAuth } from \"~/app/context/AuthContext\";\n-impor... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: prettier import order |
244,477 | 16.06.2022 07:05:06 | 14,400 | e9186f674c8854978f4ac8d2962af56c034e3c64 | fix(i18n): initialize i18n in routers | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/index.tsx",
"new_path": "src/app/router/Options/index.tsx",
"diff": "@@ -4,6 +4,7 @@ import Modal from \"react-modal\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport \"~/app/styles/index.css\";\nimport { getTheme } from \"~/... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(i18n): initialize i18n in routers |
244,477 | 16.06.2022 07:57:28 | 14,400 | 3215cd3205dc232f65644848a6f774d01cc0e1bc | refactor(i18n): aggregate common words | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "@@ -32,6 +32,7 @@ function Home() {\nconst [lnData, setLnData] = useState<Battery[]>([]);\nconst navigate = useNavigate();\nconst { t } = useTranslation(\"translation\", { ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(i18n): aggregate common words |
244,471 | 16.06.2022 15:44:16 | -19,080 | 0a4ffc193ae69dd945552d7933badd386c1eff71 | chore: rename delete to remove | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts/index.tsx",
"new_path": "src/app/screens/Accounts/index.tsx",
"diff": "@@ -50,14 +50,18 @@ function AccountsScreen() {\n}\nasync function removeAccount({ id, name }: AccountAction) {\n- if (window.confirm(`Are you sure you want to dele... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: rename delete to remove |
244,477 | 16.06.2022 08:28:22 | 14,400 | ed32dafd5f880676df8a8a57ce8bc46e28891213 | fix(i18n): add translation after merge | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "@@ -14,7 +14,7 @@ import TransactionsTable from \"@components/TransactionsTable\";\nimport dayjs from \"dayjs\";\nimport relativeTime from \"dayjs/plugin/relativeTime\";\ni... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(i18n): add translation after merge |
244,477 | 16.06.2022 10:01:39 | 14,400 | 5beac0da8689106752aa59315741d008b75484b3 | fix(i18n): show translation instead of key | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/TestConnection/index.tsx",
"new_path": "src/app/screens/Options/TestConnection/index.tsx",
"diff": "@@ -24,6 +24,7 @@ export default function TestConnection() {\nconst { t } = useTranslation(\"translation\", {\nkeyPrefix: \"welcome.test... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(i18n): show translation instead of key |
244,498 | 02.06.2022 11:02:05 | -28,800 | bea95fa8f761140b422b642f72afbdb16f9538fa | refactor(account): select
add test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/accounts/__tests__/select.test.ts",
"diff": "+import select from \"../select\";\n+import state from \"~/extension/background-script/state\";\n+import type { MessageAccountSelect } from \"~/types\";\n+\n+je... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(account): select #652
add test |
244,465 | 17.05.2022 16:04:03 | -28,800 | f2fba04021b75d85b8fc5b4e6a57a1a3799ee431 | feat: add fiat value to LNUrl pay | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/CurrencyContext.tsx",
"new_path": "src/app/context/CurrencyContext.tsx",
"diff": "import { useState, useEffect, createContext, useContext } from \"react\";\n-// https://www.npmjs.com/package/currency.js 0 dependencies, 135,987k weekly downloads... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add fiat value to LNUrl pay |
244,465 | 18.05.2022 11:01:25 | -28,800 | 078fc9fe932f7f52686264741c4dd910761e2163 | feat: add fiat values to Publisher screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publisher.tsx",
"new_path": "src/app/screens/Publisher.tsx",
"diff": "@@ -10,6 +10,8 @@ import { useNavigate, useParams } from \"react-router-dom\";\nimport utils from \"~/common/lib/utils\";\nimport { Allowance } from \"~/types\";\n+import { u... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add fiat values to Publisher screen |
244,465 | 19.05.2022 18:07:45 | -28,800 | 078b134b8b9e130edcab6542c8e7f6959fcdcd58 | fix: fix typo in useCurrency | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/CurrencyContext.tsx",
"new_path": "src/app/context/CurrencyContext.tsx",
"diff": "@@ -325,6 +325,6 @@ export function CurrencyProvider({ children }: { children: React.ReactNode }) {\n);\n}\n-export function useCurreny() {\n+export function useC... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: fix typo in useCurrency |
244,465 | 25.05.2022 17:13:30 | -28,800 | 4a648811935822b4af051616ce802d012057d8b9 | chore: add test for number field | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/form/NumberField.test.tsx",
"diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import type { Props } from \"./NumberField\";\n+import NumberField from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add test for number field |
244,498 | 26.05.2022 17:12:07 | -28,800 | f0933b2c85f63a24a6add6e1c5c7054d95ca2c58 | test(dualCurrencyInput): adjust test | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/NumberField.test.tsx",
"new_path": "src/app/components/form/NumberField.test.tsx",
"diff": "@@ -13,11 +13,13 @@ describe(\"NumberField\", () => {\ntest(\"render\", async () => {\nrender(\n<MemoryRouter>\n- <NumberField {...props} />\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | test(dualCurrencyInput): adjust test #597 |
244,498 | 06.06.2022 15:43:35 | -28,800 | cb7f0be721750b21848a0830bb7ec4af4ab5f575 | refactor: fiat conversion
switch context to util-functions | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -16,7 +16,10 @@ import Menu from \"../Menu\";\nexport type Props = {\ntitle: string;\n- subtitle: { satsBalance: string; fiatBalance: string };\n+ su... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: fiat conversion #597
switch context to util-functions |
244,498 | 07.06.2022 12:50:51 | -28,800 | a1c61c77b09e303c020b15d19a969f86581c8ffc | refactor: changes after rebase | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmKeysend/index.tsx",
"new_path": "src/app/screens/ConfirmKeysend/index.tsx",
"diff": "@@ -7,7 +7,6 @@ import SuccessMessage from \"@components/SuccessMessage\";\nimport { useState, MouseEvent, useRef, useEffect } from \"react\";\nimport {... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: changes after rebase #597 |
244,498 | 07.06.2022 14:55:28 | -28,800 | 669c75f5dd1353c154bd80710482c80e276b1118 | fix(numberField): name-attr | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/NumberField.tsx",
"new_path": "src/app/components/form/NumberField.tsx",
"diff": "@@ -11,7 +11,6 @@ export type Props = {\nexport default function DualCurrencyInput({\nlabel,\nsecondaryValue,\n- name,\nid,\nplaceholder,\ntype = \"text\"... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(numberField): name-attr #597 |
244,498 | 08.06.2022 12:28:45 | -28,800 | 79106c48f7b97e02e6841d383eb1696b4d5ce17e | refactor: use semantic html | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -57,24 +57,24 @@ function AccountMenu({ title, subtitle, showOptions = true }: Props) {\nreturn (\n<div className=\"relative pl-2 flex bg-gray-100 ro... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: use semantic html #597 |
244,498 | 08.06.2022 12:30:31 | -28,800 | 1d9b24442ae33869fc051abc642c9ab48a8c8a2a | chore: add/remove comments | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -219,33 +219,6 @@ function Receive() {\n/>\n</div>\n- {/*\n- // DO WE NEED THIS?\n- <div className=\"mb-5\">\n- <label htmlFor=\"expiration\" className=\"block font-medium tex... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add/remove comments #597 |
244,498 | 08.06.2022 12:31:18 | -28,800 | 0f62b21c141fc6ec8274b4907655cddc2929b844 | chore: remove unnecessary css | [
{
"change_type": "MODIFY",
"old_path": "src/app/styles/index.css",
"new_path": "src/app/styles/index.css",
"diff": "@@ -47,18 +47,3 @@ body {\n.ReactModal__Overlay--before-close {\nopacity: 0;\n}\n-\n-\n-\n-/* Hide number spinner */\n-/* Webkit */\n-#numberInput input::-webkit-outer-spin-button,\n-#... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: remove unnecessary css #597 |
244,498 | 08.06.2022 12:58:09 | -28,800 | 3acfa8cfa82419c0a890634b68d43b9b78ef6e79 | refactor(accountMenu): reflect balances usage in prop-naming | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"diff": "@@ -7,7 +7,7 @@ import AcountMenu from \".\";\nexport const Default = () => (\n<AcountMenu\ntitle=\"node\"\n- subtitle={{ sa... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(accountMenu): reflect balances usage in prop-naming #597 |
244,498 | 08.06.2022 14:41:03 | -28,800 | 93700652023ec8e61b08f90f73109cffacd8508f | refactor(currencyConversion): use authProvider to updated all balances | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.test.tsx",
"new_path": "src/app/components/AccountMenu/index.test.tsx",
"diff": "@@ -30,6 +30,10 @@ jest.spyOn(AuthContext, \"useAuth\").mockReturnValue({\nlock: jest.fn(),\nsetAccountId: jest.fn(),\nfetchAccountInfo: jest.... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(currencyConversion): use authProvider to updated all balances #597 |
244,498 | 08.06.2022 14:53:01 | -28,800 | b9b4a7d1157ca1b364ad096698df235b1e957663 | fix(accountMenu): fiat-balance color in darkmode | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -71,7 +71,7 @@ function AccountMenu({ title, balances, showOptions = true }: Props) {\n<span className=\"text-xs dark:text-white\">\n{balances.satsBa... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(accountMenu): fiat-balance color in darkmode #597 |
244,498 | 08.06.2022 16:04:06 | -28,800 | f68cbca48ce9288041dc979dedc3e678ab0d78f5 | refactor(currencyConvert): rename yadio, use lowercase exchange values | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -27,7 +27,7 @@ function Settings() {\nlocale: \"\",\ntheme: \"system\",\ncurrency: \"USD\",\n- exchange: \"Coindesk\",\n+ exchange: \"coindesk\",\n});\nconst [cameraPermissi... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(currencyConvert): rename yadio, use lowercase exchange values #597 |
244,498 | 09.06.2022 14:09:29 | -28,800 | 46fdd77256ec2bddab2b245d574010e8cd307192 | feat(accountMenu): show all fiat balances with ~ | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -67,12 +67,13 @@ function AccountMenu({ title, balances, showOptions = true }: Props) {\n<p className=\"text-xs text-gray-700 dark:text-neutral-400\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(accountMenu): show all fiat balances with ~ #597 |
244,498 | 09.06.2022 14:32:07 | -28,800 | f697198fea805b23276455fa7ee2b0952d6946fe | feat(dualCurrencyField): always display as type number and remove up/down button via css | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/BudgetControl/index.tsx",
"new_path": "src/app/components/BudgetControl/index.tsx",
"diff": "@@ -56,7 +56,6 @@ function BudgetControl({\nlabel=\"Budget\"\nplaceholder=\"sats\"\nvalue={budget}\n- type=\"number\"\nonChange={onBudgetChange}\n/>... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(dualCurrencyField): always display as type number and remove up/down button via css #597 |
244,498 | 09.06.2022 14:53:06 | -28,800 | c06e881f6bcde9bcba6039042e011a78b7dfac81 | feat(dualCurrencyField): name the prop how it will be used | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/BudgetControl/index.tsx",
"new_path": "src/app/components/BudgetControl/index.tsx",
"diff": "@@ -51,7 +51,7 @@ function BudgetControl({\n</p>\n<div>\n<DualCurrencyField\n- secondaryValue={fiatAmount}\n+ fiatValue={fiatAmount}\nid=\"budget\"\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(dualCurrencyField): name the prop how it will be used #597 |
244,498 | 09.06.2022 16:16:12 | -28,800 | a51f0b119b1391c9d599cbb3c34888e229be1b2c | feat(currencyCoversion): debounce rate calls | [
{
"change_type": "MODIFY",
"old_path": "src/common/utils/currencyConvert.ts",
"new_path": "src/common/utils/currencyConvert.ts",
"diff": "*/\nimport axios from \"axios\";\nimport currencyJs from \"currency.js\";\n+import debounce from \"lodash/debounce\";\nimport { getSettings } from \"~/common/lib/... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(currencyCoversion): debounce rate calls #597 |
244,498 | 10.06.2022 17:19:16 | -28,800 | 64bb028b3e0e1fef1807502906dcc757fddf027d | test(currencyConvert): getFiatValue, getBalances
add msw to mock axios/rest calls | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"jest-webextension-mock\": \"^3.7.22\",\n\"lint-staged\": \"^13.0.1\",\n\"mini-css-extract-plugin\": \"^2.6.0\",\n+ \"msw\": \"^0.42.1\",\n\"postcss\": \"^8.4.14\",\n\"postcss-cli\": \"^9.1.0\",\n\"postcss-l... | TypeScript | MIT License | getalby/lightning-browser-extension | test(currencyConvert): getFiatValue, getBalances #597
- add msw to mock axios/rest calls |
244,498 | 14.06.2022 15:03:00 | -28,800 | c55e52006f1faee8513f691a7d5b9ff5a07e25ce | fix(settings): when changing currency get latest rate
add todo | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -40,7 +40,7 @@ function AccountMenu({ title, balances, showOptions = true }: Props) {\nawait utils.call(\"selectAccount\", {\nid: accountId,\n});\n- ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(settings): when changing currency get latest rate #597
add todo |
244,498 | 14.06.2022 15:56:05 | -28,800 | 458ca7162ea0dbae7927ea1c4673e0c3174ca35f | refactor(currencyConvert): use float rate from providers directly | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"browser-polyfill\": \"^3.20.2\",\n\"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.1.1\",\n- \"currency.js\": \"^2.0.4\",\n\"dayjs\": \"^1.11.3\",\n\"dexie\": \"^3.2.2\",\n\"elliptic\": \"^6.5.4\",\... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(currencyConvert): use float rate from providers directly #597 |
244,498 | 14.06.2022 16:24:41 | -28,800 | f69aea23c8b48a182b4764964e735539ef25830c | refactor(currencyConvert): switch currencies to enum | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -26,7 +26,7 @@ function Settings() {\nuserEmail: \"\",\nlocale: \"\",\ntheme: \"system\",\n- currency: \"USD\",\n+ currency: CURRENCIES.USD,\nexchange: \"coindesk\",\n});\n@... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(currencyConvert): switch currencies to enum #597 |
244,477 | 17.06.2022 07:00:42 | 14,400 | 5cf46f1fd0be6c25973c77929e270fe63e1d999e | feat(i18n): translate NewWallet toasts | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/NewWallet/index.tsx",
"new_path": "src/app/screens/connectors/NewWallet/index.tsx",
"diff": "@@ -54,12 +54,18 @@ export default function NewWallet() {\n});\n} else {\nconsole.error(data);\n- toast.error(`Failed to create a new wallet... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): translate NewWallet toasts |
244,477 | 17.06.2022 09:36:41 | 14,400 | c078117e2aac5c590e01ac06d03aa7ce41ff47b9 | fix: translation error | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -29,16 +29,16 @@ function getRoutes(\n{\npath: \"/\",\nelement: <Intro />,\n- name: i18n.t(\"nav.welcome\", translationI18nNamespace),\n+ name: i18n.t(\"welcome.... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: translation error |
244,477 | 17.06.2022 10:46:26 | 14,400 | 157640028bd023cd4b4b8cc65df89d548b4dc92e | feat(i18n): translate LND connector | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectLnd/index.tsx",
"new_path": "src/app/screens/connectors/ConnectLnd/index.tsx",
"diff": "@@ -3,6 +3,7 @@ import CompanionDownloadInfo from \"@components/CompanionDownloadInfo\";\nimport ConnectorForm from \"@components/Connecto... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): translate LND connector |
244,477 | 17.06.2022 10:56:49 | 14,400 | e45eeec0e9129a6c482a88009a6d72ba13e96597 | feat(i18n): translate lndhub and add components trans file | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectLndHub/index.tsx",
"new_path": "src/app/screens/connectors/ConnectLndHub/index.tsx",
"diff": "@@ -3,12 +3,16 @@ import ConnectorForm from \"@components/ConnectorForm\";\nimport QrcodeScanner from \"@components/QrcodeScanner\";... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): translate lndhub and add components trans file |
244,477 | 17.06.2022 11:34:54 | 14,400 | 17ca690a15f541cace78cbed350b8116354a48da | feat(i18n): translate QrcodeScanner component | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.tsx",
"new_path": "src/app/components/QrcodeScanner/index.tsx",
"diff": "import { QrCodeIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { Html5Qrcode, Html5QrcodeScannerState } from \"html5-qrcode\";\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(i18n): translate QrcodeScanner component |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.