3570 Commits

Author SHA1 Message Date
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
soxa
e0ddba09a8
fix: exclude child comments related fields from comment edit mutation (#2391) 2025-08-06 11:37:28 -05:00
ekzyis
0781156305
Fix protocolId missing as dependency (#2396) 2025-08-05 11:48:28 -05:00
ekzyis
b96b5d0c89
Remove unused keyCheck hook (#2395) 2025-08-05 11:47:25 -05:00
ekzyis
cbc41c0d99
Fix wallet_updated_at_trigger on wallet delete (#2394) 2025-08-04 17:07:47 -05:00
github-actions[bot]
39bbaf2942
Extending awards.csv (#2393)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-08-04 09:58:04 -05:00
pory
7a499f59a8
fix link to /daily in CCinfo loads forever (#2381)
* fix #2370

* don't rely on rewrite for internal links to daily

---------

Co-authored-by: porygone-z <porygone-z@kali>
Co-authored-by: k00b <k00b@stacker.news>
2025-08-04 09:56:31 -05:00
k00b
77e3f6aed1 reduce daily stimulus 2025-08-03 13:02:12 -05:00
ekzyis
8384f866b4
Fix autoWithdraw settings schema (#2388) 2025-08-03 12:27:11 -05:00
ekzyis
6fa1c226ae
Fix link to dust limit settings in CCInfo (#2387) 2025-08-03 12:24:17 -05:00
ekzyis
7c6a65c332
Wallet tests as separate mutations (#2385)
* Rename mutation to UPSERT_WALLET_RECEIVE_LND_GRPC

* Move wallet typedefs into individual sections

* Split wallet tests into separate mutation

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-08-03 12:23:56 -05:00
ekzyis
21532509fb
Rename mutation to UPSERT_WALLET_RECEIVE_LND_GRPC (#2384) 2025-08-03 12:18:01 -05:00
ekzyis
067d9069cb
improvements to upload fees code (#2382)
* Use $queryRaw instead of $queryRawUnsafe

* Replace comment with destructuring

* Return all upload fees as BigInt
2025-08-03 12:17:34 -05:00
ekzyis
1bcc864ef4
Better upload fee info (#2380)
* Better upload fee info

* Calculate total from info shown to user
2025-08-03 12:16:16 -05:00
ekzyis
f58b853e8b
Fix input type of url for NWC receive (#2389) 2025-08-03 07:42:52 +02:00
ekzyis
6d244a5de6
Handle uploads in territory descriptions (#2379)
* Remove unused parameter

* Mark uploads as paid on territory create and update

* Refactor upload expiry check

* Check upload expiry on territory create

* Include upload fees in territory create/update cost

* Also check for expired uploads on edits

* Find deleted uploads with one query
2025-08-01 19:40:15 -05:00
k00b
45acbaa4fa pay pory 2025-08-01 18:34:49 -05:00
ekzyis
bc569be34a
Fix spacing if no badges (#2376) 2025-07-31 18:04:12 -05:00
ekzyis
416b675a2f
Format GraphQL wallet stuff + string interpolation (#2375)
* Format GraphQL wallet stuff

* Use string interpolation for GraphQL wallet stuff
2025-07-31 15:01:54 -05:00
k00b
7247083b72 pay pending awards 2025-07-31 13:02:14 -05:00
github-actions[bot]
d392bbe3b5
Extending awards.csv (#2374)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-07-31 13:00:11 -05:00
Edward Kung
0299bbe4bc
fix hashtag links opening in new tabs (#2373) 2025-07-31 12:58:58 -05:00
github-actions[bot]
c77d10dad2
Extending awards.csv (#2372)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-07-31 10:37:39 -05:00