author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
244,461 | 15.02.2021 13:37:23 | -3,600 | 2d9c13410e60ed6a2df353f63c41c3eedbbf2b69 | Add experiment to connect LNBits accounts | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -62,6 +62,7 @@ const handleConnectorCalls = (message, sender) => {\n// if the connector is not available, probably because no account is configured we open the Options page.\n//... | TypeScript | MIT License | getalby/lightning-browser-extension | Add experiment to connect LNBits accounts |
244,461 | 15.02.2021 20:10:18 | -3,600 | 7af420dbfb2d25cb3793f86fdcd31fe9899ee14b | Custom passwords
The user now can set their password through the options page | [
{
"change_type": "MODIFY",
"old_path": "source/Options/Options.js",
"new_path": "source/Options/Options.js",
"diff": "@@ -2,11 +2,14 @@ import browser from \"webextension-polyfill\";\nimport { Typography, Layout, Tabs } from \"antd\";\nimport React, { useState, useEffect } from \"react\";\n+import m... | TypeScript | MIT License | getalby/lightning-browser-extension | Custom passwords
The user now can set their password through the options page |
244,461 | 15.02.2021 21:46:17 | -3,600 | 637bc42dc34053f623c9cac444e6d9623cb1a3f1 | Reset the current account when the accounts are reset | [
{
"change_type": "MODIFY",
"old_path": "source/Options/Options.js",
"new_path": "source/Options/Options.js",
"diff": "@@ -122,6 +122,9 @@ const Options = () => {\nconst resetAccounts = () => {\nreturn saveAccounts({}).then(() => {\nsetAccounts({});\n+ browser.storage.sync.set({ currentAccount: null ... | TypeScript | MIT License | getalby/lightning-browser-extension | Reset the current account when the accounts are reset |
244,461 | 15.02.2021 21:47:01 | -3,600 | 38cb315ec8ba36fc2fe12087e6936d27f9bc0888 | Reset connector when no account to initialize is found
otherwise and old connector instance might still be around | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -12,6 +12,8 @@ const initConnector = async () => {\nconst args = await browser.storage.sync.get([\"currentAccount\", \"accounts\"]);\nconst account = args.accounts[args.currentA... | TypeScript | MIT License | getalby/lightning-browser-extension | Reset connector when no account to initialize is found
otherwise and old connector instance might still be around |
244,461 | 15.02.2021 21:47:16 | -3,600 | 6fd3f7bf4c24a8a37fa4096afd4059e123e4cc4c | Default names | [
{
"change_type": "MODIFY",
"old_path": "source/forms/lnd/index.js",
"new_path": "source/forms/lnd/index.js",
"diff": "@@ -30,8 +30,8 @@ const LndForm = ({ ref, saveLndAccount, addLndAccountFailure }) => {\nonFinishFailed={addLndAccountFailure}\nonFinish={(values) => saveLndAccount(values, form)}\nin... | TypeScript | MIT License | getalby/lightning-browser-extension | Default names |
244,461 | 16.02.2021 19:48:04 | -3,600 | 5538ef637aef3a85f3d34d6cc68a839cf3ec819a | No need for this. we always have a connector config | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -16,12 +16,7 @@ const initConnector = async () => {\nconnector = null;\nreturn Promise.resolve(\"No account\");\n}\n- // TODO: check if an account is configured. Guess this also... | TypeScript | MIT License | getalby/lightning-browser-extension | No need for this. we always have a connector config |
244,461 | 22.02.2021 15:29:10 | -3,600 | a548c62b9b6a6334f34a6318927386f6ff672741 | Add domain donation requests | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react\": \"^17.0.1\",\n\"react-dom\": \"^17.0.1\",\n\"react-router-dom\": \"^5.2.0\",\n+ \"simple-sha1\": \"^3.0.1\",\n\"webext-base-css\": \"^1.2.0\",\n\"webextension-polyfill\": \"^0.7.0\"\n},\n"
},
{... | TypeScript | MIT License | getalby/lightning-browser-extension | Add domain donation requests |
244,461 | 22.02.2021 15:42:37 | -3,600 | a472c176befc162cc63d93715e03306449b74022 | Add link to welcome page and option to reset everything to start over | [
{
"change_type": "MODIFY",
"old_path": "source/Welcome/Welcome.js",
"new_path": "source/Welcome/Welcome.js",
"diff": "import React from \"react\";\n+import browser from \"webextension-polyfill\";\n+\n+import utils from \"../lib/utils\";\n+\nclass Welcome extends React.Component {\nconstructor(props)... | TypeScript | MIT License | getalby/lightning-browser-extension | Add link to welcome page and option to reset everything to start over |
244,461 | 25.02.2021 00:45:06 | -3,600 | 93f75e7a671c44e1fff5d418c9c18e2f6f8c2e08 | Use sync JS sha implementation | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n\"crypto-js\": \"^4.0.0\",\n+ \"lsat-js\": \"^1.0.7\",\n\"memoizee\": \"^0.4.15\",\n\"query-string\": \"^6.13.8\",\n\"react\": \"^17.0.1\",\n\"reac... | TypeScript | MIT License | getalby/lightning-browser-extension | Use sync JS sha implementation |
244,461 | 25.02.2021 00:48:15 | -3,600 | ac79d94230c4dcb05e9dd10fde16caf8cae36c84 | Experiment with lsats
This intercepts lsat responses and automatically pays the invoice for the user.
lsats are saved and sent with all future requests | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -4,6 +4,8 @@ import utils from \"../lib/utils\";\nimport Settings from \"../lib/settings\";\nimport connectors from \"../lib/connectors\";\n+import initLsatInterceptor from \"./... | TypeScript | MIT License | getalby/lightning-browser-extension | Experiment with lsats
This intercepts lsat responses and automatically pays the invoice for the user.
lsats are saved and sent with all future requests |
244,461 | 25.02.2021 00:48:40 | -3,600 | def64a3bf815d2ce7f47ab1d8a79b456cce4da6e | Update settings only if there is a connector initialized | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -34,12 +34,14 @@ browser.storage.onChanged.addListener((changes) => {\ninitConnector();\n}\n// Update the hostsettings in the current connector settings\n- if (changes.hostSetti... | TypeScript | MIT License | getalby/lightning-browser-extension | Update settings only if there is a connector initialized |
244,461 | 25.02.2021 00:49:40 | -3,600 | bb1a2d5ff14298cf49b00382af5f55538dfc4e5c | Better handle getting the domain from the message | [
{
"change_type": "MODIFY",
"old_path": "source/lib/settings.js",
"new_path": "source/lib/settings.js",
"diff": "@@ -33,14 +33,20 @@ class Settings {\n}\nhasAllowance(message) {\n- const domain = message.origin && message.origin.domain;\n- const url = new URL(domain);\n// TODO: check allowance\n- con... | TypeScript | MIT License | getalby/lightning-browser-extension | Better handle getting the domain from the message |
244,461 | 25.02.2021 00:50:01 | -3,600 | 3be16e1f577f618fb084475f57435045264f8fee | Save last payment timestamp | [
{
"change_type": "MODIFY",
"old_path": "source/lib/settings.js",
"new_path": "source/lib/settings.js",
"diff": "@@ -64,6 +64,7 @@ class Settings {\nconst { total_fees, total_amt } = paymentResponse.data.payment_route;\nif (allowance && allowance.budget) {\nallowance.budget = allowance.budget - total... | TypeScript | MIT License | getalby/lightning-browser-extension | Save last payment timestamp |
244,461 | 25.02.2021 01:43:42 | -3,600 | 2334c68a3ebf16fc3e4ce59252fe263400716315 | Don't load utils in the content script this probably breaks because all of it's dependencies | [
{
"change_type": "MODIFY",
"old_path": "source/InpageScript/donation.js",
"new_path": "source/InpageScript/donation.js",
"diff": "-import utils from \"../lib/utils\";\n+import shajs from \"sha.js\";\nclass Donation {\nconstructor(location) {\nthis.location = location;\n}\n+ getHash() {\n+ return sha... | TypeScript | MIT License | getalby/lightning-browser-extension | Don't load utils in the content script this probably breaks because all of it's dependencies |
244,461 | 25.02.2021 11:16:54 | -3,600 | e4b86c8006fda916c0740a8824185a1813b1f27c | Reset lsats when resetting the host settings | [
{
"change_type": "MODIFY",
"old_path": "source/Options/Options.js",
"new_path": "source/Options/Options.js",
"diff": "@@ -134,7 +134,9 @@ const Options = () => {\n};\nconst resetHostSettings = () => {\n- return browser.storage.sync.set({ hostSettings: {} }).then(() => {\n+ return browser.storage.syn... | TypeScript | MIT License | getalby/lightning-browser-extension | Reset lsats when resetting the host settings |
244,461 | 26.02.2021 21:20:19 | -3,600 | 6ce8f4e43d75cad192f471254439acc92851afe3 | handle empty accounts settings | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -12,12 +12,16 @@ let currentUnlockPassword; // TODO: rethink this\nconst initConnector = async () => {\nconst args = await browser.storage.sync.get([\"currentAccount\", \"accoun... | TypeScript | MIT License | getalby/lightning-browser-extension | handle empty accounts settings |
244,461 | 26.02.2021 21:21:13 | -3,600 | 95992af1e18489c5f9810141db0145030acf18d8 | Easier default overwrites for sendMessage calls | [
{
"change_type": "MODIFY",
"old_path": "source/lib/msg.js",
"new_path": "source/lib/msg.js",
"diff": "import browser from \"webextension-polyfill\";\nconst msg = {\n- request: (type, args, origin) => {\n+ request: (type, args, overwrites) => {\nreturn browser.runtime\n.sendMessage({\napplication: \"... | TypeScript | MIT License | getalby/lightning-browser-extension | Easier default overwrites for sendMessage calls |
244,461 | 26.02.2021 21:22:23 | -3,600 | 6dc57219729a8e906086f123bf9652ca9fdf99b3 | Move allowances storage into special class | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "source/lib/allowances.js",
"diff": "+import OptionsSync from \"webext-options-sync\";\n+import utils from \"./utils\";\n+\n+const INITIAL_ALLOWANCE = {\n+ isEnabled: false,\n+ budget: 0,\n+ lastPayment: 0,\n+ lastPaymentAttempt: 0,\n+};\n+\n+cla... | TypeScript | MIT License | getalby/lightning-browser-extension | Move allowances storage into special class |
244,461 | 26.02.2021 21:22:52 | -3,600 | 3ee22555d8a2a388d14f5dd6ef4873be9a672326 | Maybe prevent potential name conflict | [
{
"change_type": "MODIFY",
"old_path": "source/lib/utils.js",
"new_path": "source/lib/utils.js",
"diff": "@@ -69,18 +69,18 @@ const utils = {\n.then((window) => {\nconst tabId = window.tabs[0].id;\n- const onMessageListener = (message, sender) => {\n+ const onMessageListener = (responseMessage, send... | TypeScript | MIT License | getalby/lightning-browser-extension | Maybe prevent potential name conflict |
244,461 | 26.02.2021 21:24:14 | -3,600 | d38a03b926de883cca7c188a7033f17128733aa2 | Add invoices ligrary to decode payment requests | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n\"crypto-js\": \"^4.0.0\",\n+ \"invoices\": \"^1.1.5\",\n\"lsat-js\": \"^1.0.7\",\n\"memoizee\": \"^0.4.15\",\n\"query-string\": \"^6.13.8\",\n"
... | TypeScript | MIT License | getalby/lightning-browser-extension | Add invoices ligrary to decode payment requests |
244,461 | 26.02.2021 21:24:49 | -3,600 | 5c6a199eab7a76e5ff2b96d8a992698000387328 | Non-default manifest | [
{
"change_type": "MODIFY",
"old_path": "source/manifest.json",
"new_path": "source/manifest.json",
"diff": "{\n\"manifest_version\": 2,\n\"name\": \"Lightning\",\n- \"version\": \"0.0.0\",\n+ \"version\": \"1.0.0\",\n\"icons\": {\n\"16\": \"assets/icons/favicon-16.png\",\n\"content_security_policy\"... | TypeScript | MIT License | getalby/lightning-browser-extension | Non-default manifest |
244,461 | 04.03.2021 10:27:34 | -7,200 | 459844e4efcd24f0e4816a679cfcca8455b58190 | Refactor settings, accounts, and allowance storage | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -2,26 +2,24 @@ import browser from \"webextension-polyfill\";\nimport utils from \"../lib/utils\";\nimport Settings from \"../lib/settings\";\n+import Accounts from \"../lib/acc... | TypeScript | MIT License | getalby/lightning-browser-extension | Refactor settings, accounts, and allowance storage |
244,461 | 24.03.2021 13:52:43 | -7,200 | 0b0352d4e60555b03c088c0c26dc78f2cd8b82c3 | Remove optionsync from accounts and allowances storage
The optionsync does not really help here because we do not have any defaults. Thus it is simpler to just directly use the browser storage API | [
{
"change_type": "MODIFY",
"old_path": "source/lib/accounts.js",
"new_path": "source/lib/accounts.js",
"diff": "-import OptionsSync from \"webext-options-sync\";\nimport browser from \"webextension-polyfill\";\nimport utils from \"./utils\";\nclass Accounts {\nconstructor(args) {\nthis.accounts = {}... | TypeScript | MIT License | getalby/lightning-browser-extension | Remove optionsync from accounts and allowances storage
The optionsync does not really help here because we do not have any defaults. Thus it is simpler to just directly use the browser storage API |
244,461 | 28.03.2021 13:59:23 | -7,200 | 9b1a5807f2221eb16bf367fdf1f9d889c32bbb28 | It is lowercase options | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -60,7 +60,7 @@ const handleConnectorCalls = (message, sender, sendResponse) => {\n// TODO: create an onboarding wizard\nif (!connector) {\nconsole.log(\"No connector/account fou... | TypeScript | MIT License | getalby/lightning-browser-extension | It is lowercase options |
244,461 | 27.03.2021 13:53:13 | -7,200 | 1be21566ff473958b9e94666f3ba02bce6a50405 | Add oninstall hook to open welcome wizzard after installation
currently I am not sure when exactly this is triggered and how it behaves in development mode | [
{
"change_type": "MODIFY",
"old_path": "source/Background/index.js",
"new_path": "source/Background/index.js",
"diff": "@@ -48,6 +48,14 @@ const debugLogger = (message, sender) => {\n}\n};\n+const handleInstalled = (details) => {\n+ console.log(\"handle installed\");\n+ // TODO: maybe check if accou... | TypeScript | MIT License | getalby/lightning-browser-extension | Add oninstall hook to open welcome wizzard after installation
currently I am not sure when exactly this is triggered and how it behaves in development mode |
244,532 | 31.03.2021 12:21:27 | -10,800 | 09ef97a220c3515173cbfe33a459c47f53178d61 | fix 'browser is not defined' error on chrome | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"yarn\": \">= 1.0.0\"\n},\n\"scripts\": {\n- \"dev:chrome\": \"cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --watch\",\n+ \"dev:chrome\": \"cross-env NODE_ENV=development cross-env ... | TypeScript | MIT License | getalby/lightning-browser-extension | #1 fix 'browser is not defined' error on chrome |
244,532 | 07.04.2021 09:58:08 | -10,800 | 5028ad820da65d856dd7fa59604aa1d4b79e4051 | move documentation file to the doc folder | [
{
"change_type": "RENAME",
"old_path": "CODE_OF_CONDUCT.md",
"new_path": "doc/CODE_OF_CONDUCT.md",
"diff": "@@ -14,21 +14,21 @@ appearance, race, religion, or sexual identity and orientation.\nExamples of behavior that contributes to creating a positive environment\ninclude:\n-* Using welcoming and ... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move documentation file to the doc folder |
244,532 | 07.04.2021 10:01:46 | -10,800 | da5aca440195c1969f5eece4b21bd1739c26c572 | update reference for source->src | [
{
"change_type": "MODIFY",
"old_path": ".editorconfig",
"new_path": ".editorconfig",
"diff": "-[source/**.js]\n+[src/**.js]\nquote_type = double\nindent_style = space\nindent_size = 2\n"
},
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 update reference for source->src |
244,532 | 07.04.2021 10:13:58 | -10,800 | 34b2e68f8bfaa1e61b1d132fdaa5739633735f05 | move assets to static folder | [
{
"change_type": "RENAME",
"old_path": "src/assets/icons/favicon-128.png",
"new_path": "static/assets/icons/favicon-128.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "src/assets/icons/favicon-16.png",
"new_path": "static/assets/icons/favicon-16.png",
"diff": ""
},
... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move assets to static folder |
244,532 | 07.04.2021 10:27:27 | -10,800 | 665041cb0a774f6fa1a1296a51d9be5042863ef0 | rename extension to dist; separate into dev and prod distributions | [
{
"change_type": "MODIFY",
"old_path": ".eslintignore",
"new_path": ".eslintignore",
"diff": "node_modules/\n-extension/\n+dist/\n.yarn/\n.pnp.js\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -101,7 ... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 rename extension to dist; separate into dev and prod distributions |
244,532 | 07.04.2021 10:43:58 | -10,800 | 375f687cda3ddd2ffa9ce4e57ed1b37bda86d760 | move components to app folder | [
{
"change_type": "MODIFY",
"old_path": "src/Options/Options.js",
"new_path": "src/Options/Options.js",
"diff": "@@ -13,8 +13,8 @@ import LndHubForm from \"../forms/lndhub\";\nimport LnBitsForm from \"../forms/lnbits\";\nimport NativeConnectionForm from \"../forms/nativeConnection\";\n-import ListDat... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move components to app folder |
244,532 | 07.04.2021 10:49:31 | -10,800 | 3f84a218cf3510c6c7425d71b171238c406b2492 | move pages to app folder | [
{
"change_type": "MODIFY",
"old_path": "src/Popup/Popup.js",
"new_path": "src/Popup/Popup.js",
"diff": "@@ -3,9 +3,9 @@ import { createHashHistory } from \"history\";\nimport { HashRouter, Switch, Route } from \"react-router-dom\";\nimport utils from \"../lib/utils\";\n-import Home from \"../pages/h... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move pages to app folder |
244,532 | 07.04.2021 10:54:13 | -10,800 | 545a7dfd534fd6c9dc6976331ead8dcb36a5b070 | move forms to app folder | [
{
"change_type": "MODIFY",
"old_path": "src/Options/Options.js",
"new_path": "src/Options/Options.js",
"diff": "@@ -8,10 +8,10 @@ import Accounts from \"../lib/accounts\";\nimport Settings from \"../lib/settings\";\nimport Allowances from \"../lib/allowances\";\n-import LndForm from \"../forms/lnd\"... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move forms to app folder |
244,532 | 07.04.2021 11:17:43 | -10,800 | d194ef027e1c43d3a0f6d856a16004ff0f278e49 | move Options to app folder | [
{
"change_type": "RENAME",
"old_path": "src/Options/Options.js",
"new_path": "src/app/components/Options/Options.js",
"diff": "import { Typography, Layout, Tabs } from \"antd\";\nimport React, { useState, useEffect } from \"react\";\n-import msg from \"../lib/msg\";\n-import { encryptData } from \".... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move Options to app folder |
244,532 | 07.04.2021 11:24:15 | -10,800 | cdeeb7fc50d6a65f600e30db95d9fffa6b7f32cc | move Popup, Prompt and Welcome to app folder | [
{
"change_type": "RENAME",
"old_path": "src/Popup/Popup.js",
"new_path": "src/app/components/Popup/Popup.js",
"diff": "@@ -2,10 +2,10 @@ import React from \"react\";\nimport { createHashHistory } from \"history\";\nimport { HashRouter, Switch, Route } from \"react-router-dom\";\n-import utils from \... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move Popup, Prompt and Welcome to app folder |
244,532 | 07.04.2021 11:29:35 | -10,800 | eb6424cc813152e2d9f409e2eaa2d81fbe80a11e | move extension scripts to extension folder | [
{
"change_type": "RENAME",
"old_path": "src/Background/index.js",
"new_path": "src/extension/Background/index.js",
"diff": "import browser from \"webextension-polyfill\";\n-import utils from \"../lib/utils\";\n-import Settings from \"../lib/settings\";\n-import Accounts from \"../lib/accounts\";\n-i... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move extension scripts to extension folder |
244,532 | 07.04.2021 11:38:05 | -10,800 | d8f2b9490b032b08cb5714c719e9f2ddea1da601 | rename extension scripts according to best practices | [
{
"change_type": "RENAME",
"old_path": "src/extension/Background/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "src/extension/Background/lsatInterceptor.js",
"new_path": "src/extension/background-script/lsatInt... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 rename extension scripts according to best practices |
244,532 | 07.04.2021 11:42:00 | -10,800 | d539c0e0bec0a474360b036add5bde081a40b964 | move lightning network providers to their own folder | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "-import WebLNProvider from \"../../webln\";\n+import WebLNProvider from \"../ln/webln\";\nimport Donation from \"./donation\";\nif (document) {\n"
},
{
... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move lightning network providers to their own folder |
244,532 | 07.04.2021 11:44:29 | -10,800 | 6bb2ef76d1714e2893f9e4633825b77392172885 | fix upercase dir name | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -82,7 +82,7 @@ module.exports = {\nprompt: path.join(sourcePath, \"app\", \"components\", \"Prompt\", \"index.js\"),\noptions: path.join(sourcePath, \"app\", \"components\", \"Options\", \"index.... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 fix upercase dir name |
244,532 | 07.04.2021 12:04:40 | -10,800 | 90593c4c841d13ff4559b6c336be71867cb833c6 | move views to the static folder | [
{
"change_type": "RENAME",
"old_path": "views/lsat.html",
"new_path": "static/views/lsat.html",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "views/options.html",
"new_path": "static/views/options.html",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "vi... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move views to the static folder |
244,532 | 07.04.2021 14:46:25 | -10,800 | 1991ebcd39c57290b94d42471c11da342714e3cf | add strict linting | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,4 +5,5 @@ cache: yarn\nbefore_script:\n- yarn install\nscript:\n+ - yarn lint\n- yarn build\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 add strict linting |
244,532 | 07.04.2021 14:50:44 | -10,800 | 2e0096f291ec8dd2c4103b4655c77913e0b45772 | extend prettier | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.json",
"new_path": ".eslintrc.json",
"diff": "{\n- \"extends\": [ \"react-app\" ],\n+ \"extends\": [ \"react-app\", \"plugin:prettier/recommended\" ],\n\"parserOptions\": {\n- \"sourceType\": \"module\"\n+ \"sourceType\": \"module\",\n+ \"ecmaVersion... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 extend prettier |
244,532 | 07.04.2021 17:12:16 | -10,800 | 2baca5b50657a4db0655f1e560e519610501567e | remove "Welcome" button. Causes error; Must be re-analized; | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/setPassword/index.js",
"new_path": "src/app/components/setPassword/index.js",
"diff": "@@ -19,13 +19,6 @@ const SetPassword = ({ onOk, visible }) => {\nonOk={onDone}\ncloseable={false}\nfooter={[\n- <span\n- onClick={() => {\n- utils.openPag... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 remove "Welcome" button. Causes error; Must be re-analized; |
244,532 | 07.04.2021 17:51:29 | -10,800 | 64a0d186b8955567e64442d0363cd2f6150598a7 | move connectors to extension folder | [
{
"change_type": "RENAME",
"old_path": "src/common/lib/connectors/base.js",
"new_path": "src/extension/background-script/connectors/base.js",
"diff": "import parsePaymentRequest from \"invoices\";\n-import utils from \"./../utils\";\n-import { decryptData } from \"./../crypto\";\n-import Settings fr... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move connectors to extension folder |
244,532 | 08.04.2021 09:38:46 | -10,800 | 548e66a278e14cea884aca27a260ceadeeb0e217 | remove password prompt for now; will be added later | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Options/Options.jsx",
"new_path": "src/app/components/Options/Options.jsx",
"diff": "@@ -34,7 +34,7 @@ const Options = () => {\nconst [allowances, setAllowances] = useState({});\nconst [currentAccount, setCurrentAccount] = useState(\"\");\nc... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 remove password prompt for now; will be added later |
244,532 | 08.04.2021 09:41:36 | -10,800 | cc36e629572b4e5bdf5f73201c138dde82e27739 | rename components to Pascal style - part1 (case changes are not detected by git) | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Options/Options.jsx",
"new_path": "src/app/components/Options/Options.jsx",
"diff": "@@ -8,13 +8,13 @@ import Accounts from \"../../../common/lib/accounts\";\nimport Settings from \"../../../common/lib/settings\";\nimport Allowances from \".... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 rename components to Pascal style - part1 (case changes are not detected by git) |
244,532 | 08.04.2021 09:48:30 | -10,800 | 736c85bac7edf4082a9ada0481a2a14d5950400a | fix imports to use proper case | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Options/Options.jsx",
"new_path": "src/app/components/Options/Options.jsx",
"diff": "@@ -8,7 +8,7 @@ import Accounts from \"../../../common/lib/accounts\";\nimport Settings from \"../../../common/lib/settings\";\nimport Allowances from \"../... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 fix imports to use proper case |
244,532 | 08.04.2021 09:55:26 | -10,800 | 6ea2309fc473ced7443fb32f0bd0c6d7710cee0a | move all React components to the component folder | [
{
"change_type": "RENAME",
"old_path": "src/app/pages/ConfirmPayment/index.jsx",
"new_path": "src/app/components/ConfirmPayment/index.jsx",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "src/app/pages/Enable/index.jsx",
"new_path": "src/app/components/Enable/index.jsx",
"d... | TypeScript | MIT License | getalby/lightning-browser-extension | #23 move all React components to the component folder |
244,502 | 08.04.2021 21:41:58 | -7,200 | d825634a4f0477091bd092fdc31bd2dc14826faf | life's no good without a gitignore | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "-# ignore haters\n-haters/\n-\n-### Node ###\n+# #### This all good standard ###\n# Logs\nlogs\n*.log\n@@ -45,8 +42,8 @@ build/Release\nnode_modules/\njspm_packages/\n-# TypeScript v1 declaration files\n-typings/... | TypeScript | MIT License | getalby/lightning-browser-extension | life's no good without a gitignore |
244,502 | 08.04.2021 23:07:51 | -7,200 | 2645d352e62a018beddd8b0e4bdd1bbf725c0f2e | removed incorrect usage of webextension-polyfill
see | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/index.jsx",
"new_path": "src/app/components/Home/index.jsx",
"diff": "import React from \"react\";\n-import browser from \"webextension-polyfill\";\nimport utils from \"../../../common/lib/utils\";\n"
},
{
"change_type": "MODIFY... | TypeScript | MIT License | getalby/lightning-browser-extension | removed incorrect usage of webextension-polyfill
see https://github.com/mozilla/webextension-polyfill/issues/5 |
244,502 | 08.04.2021 23:09:10 | -7,200 | 37ee0269de2da721d30c2534a0354aa0209acd08 | added missing stream dep | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-dom\": \"^17.0.2\",\n\"react-router-dom\": \"^5.2.0\",\n\"sha.js\": \"^2.4.11\",\n+ \"stream\": \"^0.0.2\",\n\"webext-base-css\": \"^1.3.1\",\n\"webext-options-sync\": \"^2.0.1\",\n\"webextension-poly... | TypeScript | MIT License | getalby/lightning-browser-extension | added missing stream dep |
244,502 | 08.04.2021 23:31:58 | -7,200 | 61ec74639ae0c30943ea355754930eda3822acc8 | added crypto polyfill | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@babel/runtime\": \"^7.13.10\",\n\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.15.0\",\n+ \"crypto\": \"^1.0.1\",\n+ \"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.0.0\",\n\"invoices\": \"^1... | TypeScript | MIT License | getalby/lightning-browser-extension | added crypto polyfill |
244,502 | 08.04.2021 23:33:15 | -7,200 | 3cf99329880ded6bc48a3002c4c23e1b22ea0fda | added assert polyfill | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@babel/runtime\": \"^7.13.10\",\n\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.15.0\",\n+ \"assert\": \"^2.0.0\",\n\"crypto\": \"^1.0.1\",\n\"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.0.0... | TypeScript | MIT License | getalby/lightning-browser-extension | added assert polyfill |
244,502 | 08.04.2021 23:37:36 | -7,200 | c071313220c801aac3b690844c8fb466eaabd4f6 | removed more usages of browser import from source
resolved wrong paths
compiles! | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "-import browser from \"webextension-polyfill\";\nimport utils from \"../../common/lib/utils\";\nimport Settings from \"../../common/lib/settings\";\n"
... | TypeScript | MIT License | getalby/lightning-browser-extension | removed more usages of browser import from source
resolved wrong paths
compiles! |
244,502 | 09.04.2021 00:54:53 | -7,200 | 933d7a46286c16abd6ec014cf8350366b7fdcfa1 | bring back nodecompiler
remove CSP attempts | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.15.0\",\n\"assert\": \"^2.0.0\",\n+ \"browser-polyfill\": \"^3.20.2\",\n\"crypto\": \"^1.0.1\",\n\"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.0.... | TypeScript | MIT License | getalby/lightning-browser-extension | bring back nodecompiler
remove CSP attempts |
244,502 | 09.04.2021 13:20:16 | -7,200 | f6991e4ae85aa9d0336a369779a8a0c689342f22 | added lock screen UI update
removed yarn.lock from git cache | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "]\n},\n\"dependencies\": {\n+ \"@ant-design/icons\": \"^4.6.2\",\n\"@babel/runtime\": \"^7.12.5\",\n\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n"
},
{
"change_type": "MODIFY",
"ol... | TypeScript | MIT License | getalby/lightning-browser-extension | added lock screen UI update
removed yarn.lock from git cache |
244,502 | 09.04.2021 15:33:16 | -7,200 | 027f1b9c58396b7716eab89f37a78ec7387fef0f | restoring password setup, fixes | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Options/Options.jsx",
"new_path": "src/app/components/Options/Options.jsx",
"diff": "@@ -34,7 +34,7 @@ const Options = () => {\nconst [allowances, setAllowances] = useState({});\nconst [currentAccount, setCurrentAccount] = useState(\"\");\nc... | TypeScript | MIT License | getalby/lightning-browser-extension | restoring password setup, fixes #40 |
244,502 | 09.04.2021 16:56:33 | -7,200 | 0e99a8f266812e4011b8322591371f4e05f21e27 | showing current balance in USD
showing account icon placeholder
added axios for better fetching | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@babel/runtime\": \"^7.12.5\",\n\"advanced-css-reset\": \"^1.2.2\",\n\"antd\": \"^4.12.2\",\n+ \"axios\": \"^0.21.1\",\n\"crypto-js\": \"^4.0.0\",\n\"invoices\": \"^1.1.5\",\n\"lsat-js\": \"^1.0.7\",\n"
}... | TypeScript | MIT License | getalby/lightning-browser-extension | showing current balance in USD
showing account icon placeholder
added axios for better fetching |
244,461 | 09.04.2021 17:38:12 | -7,200 | 1a7ed4910a624cbf41085c21fbf185a0a898b720 | Does this enable source maps? | [
{
"change_type": "MODIFY",
"old_path": "webpack.development.config.js",
"new_path": "webpack.development.config.js",
"diff": "@@ -30,7 +30,7 @@ const getExtensionFileType = (browser) => {\n};\nmodule.exports = {\n- devtool: false,\n+ devtool: 'inline-source-map',\nstats: {\nall: false,\n"
},
{
... | TypeScript | MIT License | getalby/lightning-browser-extension | Does this enable source maps? |
244,461 | 09.04.2021 17:56:17 | -7,200 | ab6e1f01d3a5b682d520f48ddadf8e99195ab301 | Use single webpack.config.js again | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"yarn\": \">= 1.0.0\"\n},\n\"scripts\": {\n- \"dev:chrome\": \"cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --watch --mode development\",\n- \"dev:firefox\": \"cross-env NODE_ENV=de... | TypeScript | MIT License | getalby/lightning-browser-extension | Use single webpack.config.js again |
244,502 | 09.04.2021 18:02:20 | -7,200 | 31d8e2dcd68cc85673ca05ee03c93e248cea6cb1 | Added Account Header with Edit button
Showing placeholder if no transactions are present | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/index.jsx",
"new_path": "src/app/components/Home/index.jsx",
"diff": "@@ -3,8 +3,8 @@ import browser from \"webextension-polyfill\";\nimport utils from \"../../../common/lib/utils\";\nimport { getFiatFromSatoshi } from \"../../../common... | TypeScript | MIT License | getalby/lightning-browser-extension | Added Account Header with Edit button
Showing placeholder if no transactions are present |
244,502 | 09.04.2021 18:26:15 | -7,200 | 4ea815105817e897136555e7306f0880fe08c891 | loading transactions into state | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/index.jsx",
"new_path": "src/app/components/Home/index.jsx",
"diff": "@@ -14,6 +14,7 @@ class Home extends React.Component {\nalias: \"\",\ncurrency: \"USD\",\nbalanceFiat: null,\n+ transactions: {},\n};\n}\n@@ -22,8 +23,12 @@ class Hom... | TypeScript | MIT License | getalby/lightning-browser-extension | loading transactions into state |
244,502 | 09.04.2021 19:25:45 | -7,200 | 04ab2c9430efc6c755f6ec259338a7c711c750d0 | calculating exchange rate to circumvent calling BTC prices API multiple times
showing Satoshi and USD entries for every transation | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/Home/Transactions.jsx",
"diff": "+import React from \"react\";\n+import { calcFiatFromSatoshi } from \"../../../common/utils/helpers\";\n+import \"./styles.scss\";\n+\n+import { Empty, List, Avatar, Icon } from \"antd\";\n+imp... | TypeScript | MIT License | getalby/lightning-browser-extension | calculating exchange rate to circumvent calling BTC prices API multiple times
showing Satoshi and USD entries for every transation |
244,502 | 09.04.2021 20:38:12 | -7,200 | d92f9576f087d16e5d86ad96c0894d76582c339a | loading color from variables | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Unlock/index.jsx",
"new_path": "src/app/components/Unlock/index.jsx",
"diff": "@@ -4,9 +4,8 @@ import { Button, Input } from \"antd\";\nimport { UnlockTwoTone } from \"@ant-design/icons\";\nimport utils from \"../../../common/lib/utils\";\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | loading color from variables |
244,502 | 09.04.2021 20:52:19 | -7,200 | 697e9d129ea8199b66c203bcaa1c211f49499bf1 | moved manfest development config to sample file
reverted CSP | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "\"https://*/*\"\n],\n- \"content_security_policy\": \"script-src 'self' http://localhost:8097; object-src 'self'; connect-src ws://localhost:8097 ws://localhost:9090 https://alice-wallet.webln.exter... | TypeScript | MIT License | getalby/lightning-browser-extension | moved manfest development config to sample file
reverted CSP |
244,461 | 09.04.2021 22:20:18 | -7,200 | 118ca65aa1e0a66e33fd24dec72c816ed1cc5ada | import polyfill again. webpack does some magic | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "+import browser from \"webextension-polyfill\";\nimport utils from \"../../common/lib/utils\";\nimport Settings from \"../../common/lib/settings\";\nimp... | TypeScript | MIT License | getalby/lightning-browser-extension | import polyfill again. webpack does some magic |
244,502 | 10.04.2021 14:34:40 | -7,200 | 4e166c741043dcac5e15a0e04e20c517e83611c2 | getting payments instead of onchain transactions
rounding fiat value to 2 decimals | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/Transactions.jsx",
"new_path": "src/app/components/Home/Transactions.jsx",
"diff": "@@ -23,11 +23,11 @@ class Transactions extends React.Component {\n<List.Item className=\"transactions--container__item\">\n<List.Item.Meta\navatar={<Ava... | TypeScript | MIT License | getalby/lightning-browser-extension | getting payments instead of onchain transactions
rounding fiat value to 2 decimals |
244,502 | 10.04.2021 14:56:04 | -7,200 | 5d04bceec0a51695051fe330eeea8a2943e74500 | showing recent transactions first
added sorting helpers | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/Transactions.jsx",
"new_path": "src/app/components/Home/Transactions.jsx",
"diff": "@@ -6,6 +6,7 @@ import \"./styles.scss\";\nimport { Empty, List, Avatar, Icon, Tooltip } from \"antd\";\nimport { StockOutlined } from \"@ant-design/ico... | TypeScript | MIT License | getalby/lightning-browser-extension | showing recent transactions first
added sorting helpers |
244,502 | 10.04.2021 18:55:28 | -7,200 | 18114e66aa31a7135003ccab458b2ce9ea9d328e | added styling for payment confirmation | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConfirmPayment/index.jsx",
"new_path": "src/app/components/ConfirmPayment/index.jsx",
"diff": "@@ -4,7 +4,7 @@ import { Button, Input, Result } from 'antd';\nimport msg from \"../../../common/lib/msg\";\n-// import \"./styles.scss\";\n+impor... | TypeScript | MIT License | getalby/lightning-browser-extension | added styling for payment confirmation |
244,502 | 10.04.2021 19:13:15 | -7,200 | 09ff28f616427d4a2a2cbc4d66dfb05cbee261b1 | disabling the budget button upon setting a budget | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConfirmPayment/index.jsx",
"new_path": "src/app/components/ConfirmPayment/index.jsx",
"diff": "@@ -11,7 +11,10 @@ class ConfirmPayment extends React.Component {\nsuper(props);\nconsole.log('props', props)\nthis.history = createHashHistory();... | TypeScript | MIT License | getalby/lightning-browser-extension | disabling the budget button upon setting a budget |
244,502 | 10.04.2021 19:15:30 | -7,200 | b15e70ad1f6fa909468d6a3a1418c0711c572395 | added wording to make buttons bigger | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConfirmPayment/index.jsx",
"new_path": "src/app/components/ConfirmPayment/index.jsx",
"diff": "@@ -85,11 +85,11 @@ class ConfirmPayment extends React.Component {\ntype=\"primary\"\nonClick={() => this.enable()}\nkey=\"console\">\n- Confirm\n... | TypeScript | MIT License | getalby/lightning-browser-extension | added wording to make buttons bigger |
244,502 | 10.04.2021 19:21:34 | -7,200 | eff5bad5cc29da48f989a4039c70f6a30504cf02 | reducing text in HL | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConfirmPayment/index.jsx",
"new_path": "src/app/components/ConfirmPayment/index.jsx",
"diff": "@@ -49,7 +49,7 @@ class ConfirmPayment extends React.Component {\n>\n<Result\nstatus=\"info\"\n- title={`Please confirm your payment of ${this.pro... | TypeScript | MIT License | getalby/lightning-browser-extension | reducing text in HL |
244,502 | 16.04.2021 11:29:02 | -7,200 | 96f74e3a5b48ac2d99953622c2b3a0db0201bcc1 | PR refactor 1/2
(needs the next commit in history also) | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Prompt/Prompt.jsx",
"new_path": "src/app/components/Prompt/Prompt.jsx",
"diff": "@@ -26,7 +26,7 @@ class Prompt extends React.Component {\n}\nif (message.args) {\nargs = JSON.parse(message.args);\n- var decoded = invoice.decode(args.paymentR... | TypeScript | MIT License | getalby/lightning-browser-extension | PR refactor 1/2
(needs the next commit in history also)
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,502 | 16.04.2021 11:29:20 | -7,200 | 115c4d53c32fb7a8c9256fb23e5e8ee64d0a0532 | PR refactor 2/2
needs the prev. commit also | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Prompt/Prompt.jsx",
"new_path": "src/app/components/Prompt/Prompt.jsx",
"diff": "@@ -28,7 +28,7 @@ class Prompt extends React.Component {\nargs = JSON.parse(message.args);\nconst decodedPaymentRequest = invoice.decode(args.paymentRequest)\n}... | TypeScript | MIT License | getalby/lightning-browser-extension | PR refactor 2/2
needs the prev. commit also
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,461 | 09.05.2021 02:18:40 | -7,200 | 82fa2237b5397f3cf6a07e4b277acf8c4dd288d7 | Simplify initial setup
This adds a function to add the development regtest account from the welcome page.
This should make current development easier and make it easier developers to run the extension without thinking about LND. | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Options/Options.jsx",
"new_path": "src/app/components/Options/Options.jsx",
"diff": "@@ -14,7 +14,6 @@ import LnBitsForm from \"../LnBits\";\nimport NativeConnectionForm from \"../NativeConnection\";\nimport ListData from \"../ListData\";\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | Simplify initial setup
This adds a function to add the development regtest account from the welcome page.
This should make current development easier and make it easier developers to run the extension without thinking about LND. |
244,461 | 04.06.2021 13:39:08 | -7,200 | 624d91b47dd72ea2351e2021d83e954de2e54bb5 | Fix prompot if no payment request is available | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Prompt/Prompt.jsx",
"new_path": "src/app/components/Prompt/Prompt.jsx",
"diff": "@@ -20,15 +20,16 @@ class Prompt extends React.Component {\nconst message = qs.parse(window.location.search);\nlet origin = {};\nlet args = {};\n+ let invoice =... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix prompot if no payment request is available |
244,461 | 04.06.2021 13:39:27 | -7,200 | ce87ccf3d35ac88883e65a97f5544eaa350311bb | Extend origin data | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.js",
"new_path": "src/extension/content-script/originData.js",
"diff": "// https://github.com/joule-labs/joule-extension/blob/1ba2050ef0dcfacdd6bfedf291acaff39d1baa8a/src/app/utils/prompt.ts\nfunction getDocumentName() {... | TypeScript | MIT License | getalby/lightning-browser-extension | Extend origin data |
244,495 | 14.06.2021 13:01:23 | -7,200 | 1d6dd7fda69510e56cec83ffe89a55f966ea3530 | feat: added some initial storybook stories | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/LndHub/LndHub.stories.jsx",
"diff": "+import React from \"react\";\n+\n+import LndHub from \".\";\n+\n+const metadata = {\n+ title: \"Components/LndHub\",\n+ component: LndHub,\n+};\n+\n+export default metadata;\n+\n+export co... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added some initial storybook stories |
244,461 | 15.06.2021 10:06:20 | -7,200 | 66546d8b81a5b0f7d11be546a88dc093da54e85a | Add global state management
This uses zustand to have a global state object in the background script that holds all data and also can sync the data to the extension's browser storage.
Frontend code should use the extension messaging to interact with the background script where all the state logic happens | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"webext-options-sync\": \"^2.0.1\",\n\"webextension-polyfill\": \"^0.7.0\",\n\"webpack-dev-server\": \"^3.11.2\",\n- \"webpack-sources\": \"^2.2.0\"\n+ \"webpack-sources\": \"^2.2.0\",\n+ \"zustand\": \"^3.5... | TypeScript | MIT License | getalby/lightning-browser-extension | Add global state management
This uses zustand to have a global state object in the background script that holds all data and also can sync the data to the extension's browser storage.
Frontend code should use the extension messaging to interact with the background script where all the state logic happens |
244,461 | 15.06.2021 10:57:10 | -7,200 | f766dbb014f88b3ca10187e996899af91343812d | Ups... do not overwrite the invoice variable | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Prompt/Prompt.jsx",
"new_path": "src/app/components/Prompt/Prompt.jsx",
"diff": "@@ -8,7 +8,7 @@ import Unlock from \"../Unlock\";\nimport Enable from \"../Enable\";\nimport Loading from \"../Loading\";\nimport ConfirmPayment from \"../Confi... | TypeScript | MIT License | getalby/lightning-browser-extension | Ups... do not overwrite the invoice variable |
244,485 | 15.06.2021 12:24:25 | -10,800 | c56f78550615191ec444da99199386a92a162e69 | Change card props | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Onboard/Shared/card.jsx",
"new_path": "src/app/components/Onboard/Shared/card.jsx",
"diff": "import React from \"react\";\n-export default function Card({ topLabel, lastLabel, heading }) {\n+export default function Card({ alias, satoshis, fi... | TypeScript | MIT License | getalby/lightning-browser-extension | Change card props |
244,485 | 15.06.2021 12:27:37 | -10,800 | c702f3e46708255d02965472c30a7d08a169d587 | laststep to LastStep | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Onboard/LastStep/index.jsx",
"new_path": "src/app/components/Onboard/LastStep/index.jsx",
"diff": "@@ -2,7 +2,7 @@ import React from \"react\";\nimport Template from \"../Shared/template\";\nimport Button from \"../../Shared/button\";\n-expo... | TypeScript | MIT License | getalby/lightning-browser-extension | laststep to LastStep |
244,485 | 15.06.2021 12:30:09 | -10,800 | f294f18b63b82f9ec144c752724f455553aeab21 | Destructure features | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Onboard/Welcome/features.jsx",
"new_path": "src/app/components/Onboard/Welcome/features.jsx",
"diff": "import React from \"react\";\n-export default function Features(props) {\n+export default function Features({features}) {\nreturn (\n<dl c... | TypeScript | MIT License | getalby/lightning-browser-extension | Destructure features |
244,485 | 15.06.2021 12:51:18 | -10,800 | b83a625f149ba51ca01807dfaf143fddb061a8f1 | dl + card update | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Onboard/Welcome/features.jsx",
"new_path": "src/app/components/Onboard/Welcome/features.jsx",
"diff": "@@ -2,7 +2,7 @@ import React from \"react\";\nexport default function Features({features}) {\nreturn (\n- <dl className=\"mt-10 space-y-10... | TypeScript | MIT License | getalby/lightning-browser-extension | dl + card update |
244,485 | 15.06.2021 12:58:35 | -10,800 | 4bc020ad8f2dddb6f018177c2b4f4d90410faa9e | import '../app/styles/index.css'; once | [
{
"change_type": "MODIFY",
"old_path": ".storybook/preview.js",
"new_path": ".storybook/preview.js",
"diff": "+import '../app/styles/index.css';\nexport const parameters = {\nactions: { argTypesRegex: \"^on[A-Z].*\" },\n"
},
{
"change_type": "MODIFY",
"old_path": "src/stories/Button.stor... | TypeScript | MIT License | getalby/lightning-browser-extension | import '../app/styles/index.css'; once |
244,495 | 15.06.2021 13:29:29 | -7,200 | b9b424adb3e65866ba0dc7b12f1b22802103a506 | fix: make unlocking work when pressing enter | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Unlock/index.jsx",
"new_path": "src/app/components/Unlock/index.jsx",
"diff": "@@ -6,6 +6,7 @@ import { UnlockTwoTone } from \"@ant-design/icons\";\nimport utils from \"../../../common/lib/utils\";\nimport variables from \"./variables.module... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: make unlocking work when pressing enter |
244,495 | 15.06.2021 13:56:13 | -7,200 | 2c020ac6da79152c2bc24499f5d172d670dc3b4f | feat: show loading indicator upon loading transactions | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Home/Transactions.jsx",
"new_path": "src/app/components/Home/Transactions.jsx",
"diff": "@@ -6,30 +6,22 @@ import \"./styles.scss\";\nimport { Empty, List, Avatar, Icon, Tooltip } from \"antd\";\nimport { StockOutlined } from \"@ant-design/i... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show loading indicator upon loading transactions |
244,495 | 15.06.2021 17:19:15 | -7,200 | 5913e6f32ae011bbbdaf3862fc43087af9feff66 | fix: fixed tailwindcss integration | [
{
"change_type": "MODIFY",
"old_path": ".storybook/main.js",
"new_path": ".storybook/main.js",
"diff": "+const path = require(\"path\");\n+\nmodule.exports = {\n- core: {\n- builder: \"webpack5\",\n+ stories: [\"../src/**/*.stories.mdx\", \"../src/**/*.stories.@(js|jsx|ts|tsx)\"],\n+ addons: [\"@sto... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: fixed tailwindcss integration |
244,461 | 15.06.2021 19:04:23 | -7,200 | 6ed6080fb1234dec257f7b5ae626cf95d780c8f9 | Import state instead of passing it in as a function parameter | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/routes/accounts/add.js",
"new_path": "src/extension/background-script/routes/accounts/add.js",
"diff": "import { encryptData } from \"../../../../common/lib/crypto\";\nimport utils from \"../../../../common/lib/utils\";\n+import... | TypeScript | MIT License | getalby/lightning-browser-extension | Import state instead of passing it in as a function parameter |
244,461 | 15.06.2021 19:04:47 | -7,200 | 54c5957a8066fd9e56495ff193322223e432bf8c | Old unlock action route | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/routes/index.js",
"new_path": "src/extension/background-script/routes/index.js",
"diff": "@@ -14,10 +14,10 @@ const connectorCall = (state, message, sender) => {\nconst routes = {\nln: {\ngetInfo: connectorCall,\n- isUnlocked: c... | TypeScript | MIT License | getalby/lightning-browser-extension | Old unlock action route |
244,495 | 15.06.2021 19:52:45 | -7,200 | ebb9b5d6519674f4d224fbdcdeb8943f40b5744a | feat: added balance card | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/BalanceCard/index.jsx",
"diff": "+import React from \"react\";\n+\n+export default function Card({ alias, crypto, fiat }) {\n+ return (\n+ <div className={`bg-blue-bitcoin p-6 pb-2 rounded-2xl shadow-lg`}>\n+ <p className=\"te... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added balance card |
244,495 | 15.06.2021 20:22:50 | -7,200 | 3e527bb9ee3a40212496c62da041e625fe2ba714 | feat: styled the header | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Transactions/index.jsx",
"new_path": "src/app/components/Transactions/index.jsx",
"diff": "@@ -8,8 +8,6 @@ import { sortByFieldAscending } from \"../../../common/utils/helpers.js\";\nfunction Transactions({ exchangeRate, transactions }) {\ni... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: styled the header |
244,461 | 15.06.2021 21:21:04 | -7,200 | 7b2ae7fa47e08235988e1b9d090d22638391c9e4 | No longer need to pass the state in | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -65,7 +65,7 @@ const handleConnectorCalls = (message, sender, sendResponse) => {\nconsole.log(\"hallo\");\nconsole.log(message.type);\n- return route... | TypeScript | MIT License | getalby/lightning-browser-extension | No longer need to pass the state in |
244,495 | 15.06.2021 21:50:20 | -7,200 | 12db1a956fa25b7be87ce5bfe2383592c393410d | refactor: moved more components to screens | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Popup/Popup.jsx",
"new_path": "src/app/components/Popup/Popup.jsx",
"diff": "@@ -4,7 +4,7 @@ import { HashRouter, Switch, Route } from \"react-router-dom\";\nimport utils from \"../../../common/lib/utils\";\nimport Home from \"../../screens/... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: moved more components to screens |
244,495 | 16.06.2021 09:48:13 | -7,200 | fea893feda9fe496d40157f429fa5da66ed31355 | feat: switch to local font implementation | [
{
"change_type": "ADD",
"old_path": "src/app/styles/fonts/Inter-italic.var.woff2",
"new_path": "src/app/styles/fonts/Inter-italic.var.woff2",
"diff": "Binary files /dev/null and b/src/app/styles/fonts/Inter-italic.var.woff2 differ\n"
},
{
"change_type": "ADD",
"old_path": "src/app/styles... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: switch to local font implementation |
244,495 | 16.06.2021 10:09:58 | -7,200 | f7378a0e1d15b133438499ff916f2ff90ea74c68 | feat: move header into an appbar component | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/Appbar/index.jsx",
"diff": "+import React from \"react\";\n+import { CashIcon, CogIcon } from \"@heroicons/react/outline\";\n+\n+import utils from \"../../../common/lib/utils\";\n+\n+export default function Appbar({ title, sub... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move header into an appbar component |
244,495 | 16.06.2021 10:29:45 | -7,200 | d1bfe1fa41280d0f6a473c12d3f35b7879055106 | feat: added appbar stories, including loading state | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"query-string\": \"^7.0.0\",\n\"react\": \"^17.0.2\",\n\"react-dom\": \"^17.0.2\",\n+ \"react-loading-skeleton\": \"^2.2.0\",\n\"react-router-dom\": \"^5.2.0\",\n\"sha.js\": \"^2.4.11\",\n\"stream\": \"^0.0.... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added appbar stories, including loading state |
244,495 | 16.06.2021 10:52:26 | -7,200 | fba717226bb1ca53c3b5ca60367b71efc5eb3528 | feat: add skeleton design to balancecard | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/BalanceCard/index.jsx",
"new_path": "src/app/components/BalanceCard/index.jsx",
"diff": "import React from \"react\";\n+import Skeleton from \"react-loading-skeleton\";\n+\n+const skeletonStyle = {\n+ opacity: 0.5,\n+};\nexport default funct... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add skeleton design to balancecard |
244,495 | 16.06.2021 11:41:05 | -7,200 | 8ef8e901463edeffaf308e7b16d2e3328f069b03 | doc: add comment why subfolder has been removed | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -171,7 +171,7 @@ module.exports = {\nfilename: \"lsat.html\",\n}),\n// write css file(s) to build folder\n- new MiniCssExtractPlugin({ filename: \"[name].css\" }),\n+ new MiniCssExtractPlugin({ f... | TypeScript | MIT License | getalby/lightning-browser-extension | doc: add comment why subfolder has been removed |
244,495 | 16.06.2021 12:32:59 | -7,200 | 4efa61c4ff9c33eb28a8726acd03d16e396fc7a4 | feature: added bitcoin design icons | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependencies\": {\n\"@ant-design/icons\": \"^4.6.2\",\n\"@babel/runtime\": \"^7.13.10\",\n+ \"@bitcoin-design/bitcoin-icons\": \"^0.1.0\",\n\"@headlessui/react\": \"^1.2.0\",\n\"@heroicons/react\": \"^1.0.1... | TypeScript | MIT License | getalby/lightning-browser-extension | feature: added bitcoin design icons |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.