* Don't fetch logs as anon
* Only fetch logs if we need them on the current page
* Wait for poll to finish with setTimeout
This makes sure that we wait for the pending poll to finish before we poll again. This prevents running multiple polls at the same time on slow connections.
I noticed we don't need to queue a new poll ourselves since a poll updates effect dependencies so we will cleanup and run the effect again anyway.
* Fix polling via useEffect abuse
* Derive wallet status from logs
* Add send/recv icons
* Set status individually for send and recv
* Move status logic into own function
* Add LNbits, Blink, CLN, LND, phoenixd logo
* Fix wallet.status.any not using Status enum
* Fix WebLN being weird
* Use phoenixd logo with text
* Also use wallet logo on config page
* Also poll logs for wallet status
* Use logger.info for logs not relevant for wallet status
* Remove no longer used wallet badges
* Crop LND logo like other logos
* Fix all wallets show 'configure'
* Fix wallet status not respecting enabled
* Fix wallet.def.requiresConfig undefined
* Fix banner shown for WebLN
* Fix attach shown when configured
* Filter by context.status to determine wallet status
* Fix +- shown without context
* Fix missing theme support for wallet logos
* fix uploaded videos don't load on safari
* fix safari loading video as image, min-content restored
* refinements for ssr and skip load check for images
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
* fix: reply storage is updated with the new content on file upload
* Revert "fix: reply storage is updated with the new content on file upload"
This reverts commit 350931fd0c7a47ffe59716722755ab294c481b71.
* chore: reworked image draft save by using events
* chore: helpers.setValue called just after setNativeValue
* chore: updated setNativeValue function to be more use-case specific
* fix: upvote widget not rendered when comment is collapsed
* fix: restored missing conditional on handleShortPress
* chore: icon horizontal space maintained even if the comment is collapsed
* chore: 'rendered' argument renamed to 'visible'
* chore: collapsed condition merged with the 'disabled' variable
* reduce unecessary code
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>