btcpayserver/BTCPayServer/Views/UIStores
Dennis Reimann c97b859963 Refactor QR functionality
Based on the `ur-registry` upgrade I refactored the `CameraScanner` and `ShowQR` partials: Besides general code changes, the main change is that most of the configuration and result handling now happens on the outer view.
Those partials and functions are now generalized and don't know about their purpose (like handling PSBTs): They can be instantiated with simple data (e.g. for displaying a plain QR code) or different modes (like showing a static and the UR version of a QR code) and the result handling is done via callback.

The callbacks can now also distinguish between the different results (data as plain string vs. UR-type objects for wallet data or PSBT) and also handle the specific type of data. For instance: Before it wasn't possible to strip the leading derivation path from an xpub when scanning the QR code, because the scanner didn't know about the type of data it was handling. Now that the data is handled in the callback, we can implement that functionality for the scan view only.
2022-09-13 10:17:12 +02:00
..
ImportWallet Refactor QR functionality 2022-09-13 10:17:12 +02:00
StoreEmailSettings.cshtml~refs/remotes/Kukks Store Emails (#3611) 2022-06-22 12:05:32 +09:00
_GenerateWalletForm.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
_LayoutWalletSetup.cshtml Improve wallet nav (#3921) 2022-07-04 13:20:08 +09:00
_Nav.cshtml Fix: Warnings and view build issues during dotnet publish (#3902) 2022-06-28 17:38:59 +09:00
_ViewImports.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
_ViewStart.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
CheckoutAppearance.cshtml Checkout UI fix (#4015) 2022-08-03 21:31:16 +09:00
CreateToken.cshtml Adapt desktop breakpoints in views (#3358) 2022-01-27 11:56:46 +09:00
Dashboard.cshtml Move TagHelpers to Abstractions (#3975) 2022-07-22 21:58:25 +09:00
GeneralSettings.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00
GenerateWallet.cshtml Move TagHelpers to Abstractions (#3975) 2022-07-22 21:58:25 +09:00
GenerateWalletOptions.cshtml Move TagHelpers to Abstractions (#3975) 2022-07-22 21:58:25 +09:00
ImportWalletOptions.cshtml Move TagHelpers to Abstractions (#3975) 2022-07-22 21:58:25 +09:00
Lightning.cshtml Dashboard: Add Lightning balances and services (#3838) 2022-06-14 14:36:22 +09:00
LightningSettings.cshtml ui+stores: updates switches ui to be consistent with other switches (#3929) 2022-07-06 12:43:22 +09:00
ListTokens.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00
ModifyWebhook.cshtml Fix webhook display bug (#3959) 2022-07-12 12:37:02 +09:00
Plugins.cshtml Rewording: Integrations become (store) plugins 2022-05-12 13:32:40 +02:00
Rates.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00
RequestPairing.cshtml Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
SetupLightningNode.cshtml Improve Lightning Node setup examples (#4033) 2022-09-09 23:01:20 +09:00
SetupWallet.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
ShowToken.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
StoreEmails.cshtml Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
StoreEmailSettings.cshtml Store Emails (#3611) 2022-06-22 12:05:32 +09:00
StoreEmailSettings.cshtml~Store Emails Store Emails (#3611) 2022-06-22 12:05:32 +09:00
StoreNavPages.cs Store Emails (#3611) 2022-06-22 12:05:32 +09:00
StoreUsers.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00
TestWebhook.cshtml Content Consistency Updates (1.4.0) (#3316) 2022-01-18 10:19:27 +09:00
WalletSettings.cshtml Refactor QR functionality 2022-09-13 10:17:12 +02:00
Webhooks.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00