3492 Commits

Author SHA1 Message Date
ekzyis
e3445a137d
Optimize chain sync of LND nodes (#2467) 2025-08-29 06:12:53 +02:00
ekzyis
03d3cd1e9e
Update link to CLN docs (#2466) 2025-08-29 03:35:52 +02:00
ekzyis
74361aea18
npx prisma format (#2465) 2025-08-29 02:17:26 +02:00
ekzyis
c5b50d71ac
Small refactor of code flow in multiAuthMiddleware (#2455) 2025-08-27 20:50:18 +02:00
ekzyis
7fcc1b1b78
Fix progress line not connecting if there's only one (#2449) 2025-08-27 09:05:47 -05:00
github-actions[bot]
8fa158246c
Extending awards.csv (#2448)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-26 17:31:25 -05:00
k00b
2a8085a995 disable graphql landing page 2025-08-26 17:22:45 -05:00
Scroogey-SN
e0bea64175
fix #2444: div for table scrollbar (#2446)
* fix #2444: div for table scrollbar

* span to div, white-space: nowrap in .css
2025-08-26 17:12:17 -05:00
k00b
47a48fe952 pay remaining rewards 2025-08-26 13:42:52 -05:00
k00b
7890f97282 pay awards 2025-08-26 10:24:19 -05:00
ekzyis
500657cb93
Merge commit from fork 2025-08-26 09:52:26 -05:00
github-actions[bot]
438dc8c121
Extending awards.csv (#2445)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-26 09:47:54 -05:00
Edward Kung
4998041d73
Automatically generate table of contents in text (#2213)
* automatic toc generation in markdown

* don't open hash links in new tab

* only process toc for top level items

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-08-26 09:42:01 -05:00
Scroogey-SN
68bd96a65c
pass limit in nextCursorEncoded() (#2434)
* pass limit in nextCursorEncoded()

* Also fix cursor in query for related items

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-08-26 09:40:28 -05:00
soxa
28bce7c9f7
load new replies to comments on fetch more (#2430) 2025-08-26 09:39:53 -05:00
soxa
8517e7277c
live comments: toggle (#2421)
* enhance: toggle live comments on posts, default status set by user settings

* wip: toggle via mutation, footer placement

* chat icon on footer, consistent naming, perf tweaks

* update all tabs on toggle by dispatching events, correct icon, cleanup

cleanup:
- remove useless window checks
- use skip instead of conditional options
- correct naming

* update localstorage on user setting change

* revert disableLiveComments user setting

* avoid redundant setState and usage of maybe stale state

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-08-26 09:39:09 -05:00
ekzyis
e46f4f01b2
Wallet flow (#2362)
* Wallet flow

* Prepopulate fields of complementary protocol

* Remove TODO about one mutation for save

We need to save protocols in separate mutations so we can use the wallet id returned by the first protocol save for the following protocol saves and save them all to the same wallet.

* Fix badges not updated on wallet delete

* Fix useProtocol call

* Fix lightning address save via prompt

* Don't pass share as attribute to DOM

* Fix useCallback dependency

* Progress numbers as SVGs

* Fix progress line margins

* Remove unused saveWallet arguments

* Update cache with settings response

* Fix line does not connect with number 1

* Don't reuse page nav arrows in form nav

* Fix missing SVG hover style

* Fix missing space in wallet save log message

* Reuse CSS from nav.module.css

* align buttons and their icons/text

* center form progress line

* increase top padding of form on smaller screens

* provide margin above button bar on settings form

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-08-26 09:19:52 -05:00
github-actions[bot]
a620c0b0ce
Extending awards.csv (#2441)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-25 15:00:18 -05:00
Bryan Mutai
fd05585eaa
add devcontainer config for codespaces (#2248)
* add devcontainer config for codespaces

* fix issues in documenting changes.
2025-08-25 12:47:37 -05:00
github-actions[bot]
616c9b3440
Extending awards.csv (#2439)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-25 09:06:03 -05:00
k00b
19146844ca do not show deleted replies in notifications 2025-08-25 08:45:51 -05:00
pory
37a7f79625
remove free comments (#2420)
* remove free comments

* working on logic with bios and fees

* Revert "working on logic with bios and fees"

This reverts commit 0de31cbaaddd6733d8a2e8c099d0108d9f634512.

---------

Co-authored-by: pory-gone <pory-gone@users.noreply.github.com>
2025-08-25 08:28:46 -05:00
k00b
6179ffb82b add boost details 2025-08-20 07:45:25 -05:00
k00b
636122dd51 fix outlawed boosts 2025-08-20 07:40:57 -05:00
soxa
a3c5a33bc4
Fix paginated comments button not showing on comment injection/creation (#2426)
* fix: also tick nDirectComments to respect pagination logic

* update nDirectComments only for the provided parentId

* explicit type conversion
2025-08-17 11:43:19 -05:00
k00b
baa92c0ddc better horizontal comment density + fix downzap icon width 2025-08-17 01:41:58 -05:00
soxa
6a7796fc87
fix: key the navigator provider to unmount on item id changes (#2425) 2025-08-17 00:30:21 -05:00
soxa
4a83723dbf
fix: don't use route changes to clear the navigator, misclearing favicon (#2423) 2025-08-15 17:59:51 -05:00
k00b
5f4e7c8a8b pay rewards 2025-08-15 13:51:18 -05:00
soxa
610e6dcb91
live comments: favicon (#2400)
* live comments: stable navigator for new outlined comments

* favicons: FaviconProvider, handle new comments favicon via navigator

* navigator keyboard shortcuts: arrow right/escape key

* enhance: responsive fixed positioning; cleanup

enhance:
- two types of padding for desktop and mobile via CSS

cleanup:
- use appropriate <aside> for navigator
- reorder CSS

* Comments Navigator Context, new comments dot UI, refs autosorting, auto-untrack children

- Navigator Context for item pages

UI/UX
- WIP: compact comments dot UI on navbars
- long press to clear tracked refs
- auto-untrack node's children on scroll

Logic
- auto-sort comment refs via createdAt
- remove outline on untrack if called by scroll

* stable navigator dot UI positioning

* cleanup: better naming, clear structure

* re-instate favicon state updates on navigator

* CSS visibility tweaks

* scroll to start position of ref

* fix undefined navigator on other comment calls

* add explanation for early favicon clear

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-08-15 13:43:31 -05:00
soxa
df2ccd9840
live comments: comments navigation (#2377)
* live comments: stable navigator for new outlined comments

* navigator keyboard shortcuts: arrow right/escape key

* enhance: responsive fixed positioning; cleanup

enhance:
- two types of padding for desktop and mobile via CSS

cleanup:
- use appropriate <aside> for navigator
- reorder CSS

* Comments Navigator Context, new comments dot UI, refs autosorting, auto-untrack children

- Navigator Context for item pages

UI/UX
- WIP: compact comments dot UI on navbars
- long press to clear tracked refs
- auto-untrack node's children on scroll

Logic
- auto-sort comment refs via createdAt
- remove outline on untrack if called by scroll

* stable navigator dot UI positioning

* cleanup: better naming, clear structure

* CSS visibility tweaks

* scroll to start position of ref

* fix undefined navigator on other comment calls

* remove pulse animation
2025-08-15 13:22:06 -05:00
soxa
0394a5bdc2
fix: prevent pull-to-refresh from triggering on unexpected scroll positions (#2419) 2025-08-13 13:31:49 -05:00
github-actions[bot]
3feb4f055f
Extending awards.csv (#2418)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-12 18:36:42 -05:00
Edward Kung
97cbfec38e
Order carousel as images appear in items / markdown (#2239)
* carousel sort in deterministic order

* imgIndex 0 for ItemEmbed

* fix order for item-full

* fix indexing in ItemEmbed

* Revert "fix indexing in ItemEmbed"

This reverts commit f7863af30a1a02b189bfc79237606851c4da1abf.

* Revert "fix order for item-full"

This reverts commit 489e25ea82056bd83a818e581eb2bbfcf947e401.

* Revert "imgIndex 0 for ItemEmbed"

This reverts commit cd5fff1bae151e44db717f2a2173f673793bc6d0.

* carousel preserves ordering rendered on screen

* reorder carousel when sort changes

* fix cursor detected bugs

* register media to carousel before image load, confirm afterwards

* Remove unnecessary ref from dependencies

* Add missing dependencies

* Add missing dependencies

* Check if src was found in Carousel

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-08-12 18:30:46 -05:00
github-actions[bot]
af77985b38
Extending awards.csv (#2417)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-12 17:42:27 -05:00
Abhi Shandilya
6b01a41705
fix: include subs in grace status in suggestions (#2405)
* include subs in grace status in suggestions

* make myself a contributor

* Refactor subSuggestions with Prisma.sql

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-08-12 17:17:54 -05:00
ekzyis
71ce403b0c
Replace GIFs with WebP (#2416)
* Rename maze.gif to maze.webp

* Replace gif, mp4 with webp
2025-08-12 12:03:55 -05:00
github-actions[bot]
aef2cfc199
Extending awards.csv (#2414)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-10 15:43:42 -05:00
pory
d9d968f0fa
fixing line numbers on error traces in development (#2413)
Co-authored-by: porygone-z <porygone-z@kali>
2025-08-10 15:02:23 -05:00
ekzyis
21a9696ea0
Use SSR for wallets (#2397)
* Use SSR for wallet forms

* Fix back/forward navigation with useData hook

* Fix protocol fallback not working with shallow routing

* Fix wallet refetch

* Replace useEffect for default selection with smart link

* Remove unused useWalletQuery

* Move server2client wallet transform into single function

* Add comment about graphql-tag fragment warning

* Check if wallet not found

* Handle wallet is sometimes null on back or forward navigation
2025-08-10 12:15:40 -05:00
ekzyis
abfe54125a
Fix GraphQL cannot represent bigint as integer (#2412)
* Fix GraphQL cannot represent bigint as integer

* Fix uploadFeesMsats not returned
2025-08-10 12:10:49 -05:00
k00b
438b5041f1 Revert "auto show: Use textarea as the anchor element if available (#2407)"
This reverts commit 1379c419df836e064d0a3f904442a7af9c4b5842.
2025-08-09 18:19:34 -05:00
k00b
3c637e5ec2 add favicon for notifications back 2025-08-09 18:15:47 -05:00
soxa
1379c419df
auto show: Use textarea as the anchor element if available (#2407)
* enhance: use textarea as the anchor element if available

* correct only downwards vertical layout shifts
2025-08-09 15:35:48 -05:00
soxa
dea8945e43
fix wrong URL on Reply on another page (#2410)
* fix wrong URL on Reply on another page

* better naming and explanation for bottomed out comments
2025-08-09 15:14:29 -05:00
ekzyis
d5a2573657
Add proxy fee to minSendable of lnurl-pay (#2404) 2025-08-08 11:05:33 -05:00
soxa
0e842e9915
live comments: auto show new comments (#2355)
* enhance: FaviconProvider, keep track of new comment IDs to change favicon, remove new comment IDs per outline removal

* don't track oneself comments

* enhance: auto-show new comments, idempotency by ignoring already injected comments, preserveScroll utility

* fadeIn animation on comment injection; cleanup: remove unused counts and thread handling; non-critical fix: always give rootLastCommentAt a value

* reliably preserve scroll position by tracking a reference found at the center of the viewport; cleanup: add more comments, add cleanup function

* mitigate fractional scrolling subtle layout shifts by rounding the new reference element position

* enhanced outlining system, favicon context keeps track of new comments presence

- de-outlining now happens only for outlined comments
- enhanced outlining: add outline only if isNewComment
- de-outlining will remove the new comments favicon
- on unmount remove the new comments favicon

* remove the new comments favicon on new comments injection

* track only deduplicated new comments

* fix typo

* clearer unsetOutline conditions, fix typo in live comments hook

* backport: remove the injectedComment class from injected comments after animation ends

* set the new comments favicon on any new outlined comment

* enhance: directly inject new comments; cleanup: dismantle ShowNewComments, remove newComments field

* tweaks: slower injection animation, clear favicon on Comment section unmount

* change nDirectComments bug strategy to avoiding updates on comment edit

* cleanup: better naming, re-instate injected comments outline

* injection: major cache utilities refactor, don't preserve scroll if no comments have been injected

- don't preserve scroll if after deduplication we don't inject any comments

- use manual read/write cache updates to control the flow
-- allows to check if we are really injecting or not

- reduce polling to 5 seconds instead of 10

- light cleanup
-- removed update cache functions
-- added 'injected' to typeDefs (gql consistency)

* cleanup: detailed comments, refactor, remove clutter

Refactor:
+ clearer variables
+ depth calculation utility function
+ use destructured Apollo cache
+ extract item object from item query
+ skip ignored comment instead of ending the loop

CSS:
+ from-to fadeIn animation keyframes
- floatingComments unused class

Favicon:
+ provider exported by default

* fix wrong merge

* split: remove favicon context

* split: remove favicon pngs

* regression: revert to updateQuery for multiple comment fragments handling

* reverse multiple reads for deduplication on comment injection

* fix regression on apollo manipulations via fn; cleanup: remove wrong deps from outlining
2025-08-08 10:04:54 -05:00
ekzyis
1bda8a6de2
/wallets/debug: fix getDate is not a function (#2402)
* Fix getDate is not a function

* Remove 'ago' suffix because of possible DD-MM-YYY format

* Remove unnecessary string interpolation
2025-08-07 19:00:43 -05:00
ekzyis
7a7ed1745c
Fix territory edits (#2403) 2025-08-07 18:59:53 -05:00
k00b
44992fd1bf add kpi script 2025-08-06 18:32:37 -05:00