3451 Commits

Author SHA1 Message Date
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
Bryan Mutai
da9287f715
Refactor issue extraction logic in findIssuesInPR function (#2332) 2025-07-31 10:00:51 -05:00
ekzyis
7857601c36
wallet logs: less visual clutter, refactor (#2369)
* Remove unnecessary initial state for template logs

* Rename skip to noFetch

* Remove outdated TODO

* Cleaner wallet template logs + refactor
2025-07-31 09:58:34 -05:00
soxa
1aeb206842
fix: prevent GET_NEW_COMMENTS query from running in-between renders (#2345) 2025-07-30 12:35:38 -05:00
ekzyis
d175d0e64d
Fix missing validation for NWC receive (#2365) 2025-07-30 11:37:25 -05:00
ekzyis
6aeffa7aff
Add Blitz wallet (#2353) 2025-07-29 10:59:42 -05:00
ekzyis
5f7d0ead1d
Update instructions to add new wallet (#2352) 2025-07-29 10:59:02 -05:00
ekzyis
2fa2f0baea
Add flake.lock (#2351) 2025-07-29 16:55:52 +02:00
ekzyis
1dc4018a3c
Use touch-action: pan-y to fix DnD vs scroll (#2350)
* Fix handleTouchMove not handling leaving elements

* Fix DnD vs scroll on mobile
2025-07-28 17:11:21 -05:00
ekzyis
0968c77bdf
Fix missing reuse of nav.module.css (#2349)
* Fix autoprefixer warning

* Fix missing reuse of nav.module.css
2025-07-28 17:10:30 -05:00
ekzyis
454cb55f7f
Fix autoprefixer warning (#2348) 2025-07-28 17:09:42 -05:00
soxa
9c8071339f
Declarative Web Push support (#2300)
* Declarative Web Push support, standardized JSON format

TODOs:
- sane app badge count

* URL backwards compatibility, add icon to the JSON payload, fix malformed payload recognition on classic push notifications

* typo: wrong app_badge placement in JSON payload

* adapt declarative JSON payload for legacy Push API using spec-conformant transformations
2025-07-28 17:09:13 -05:00
ekzyis
20147cae15
Fix undefined in resolved WalletTemplate id (#2344) 2025-07-27 22:04:22 -05:00
ekzyis
cf5ac8272d
Handle error property in NWC response (#2343) 2025-07-27 14:12:49 -05:00
ekzyis
a827dc6fde
Use x-overflow for tab navigation (#2337)
* Use x-overflow for tab navigation

* Define all CSS for tabs in nav.module.css
2025-07-27 12:37:25 -05:00
soxa
a4a0fdb060
Fix live comments behavior on paginated comments and threads (#2334)
* livecomments: patches for paginated comments; broader ViewMoreReplies component

live comments:
- don't show the thread button for thread comments that are shown as full items (top level)
- don't try to count/inject on paginated comments, just show the live comments dot
- dedupe new comments being fetched with already existing comments, useful for just showing the dot, but not the button

comments:
- live comments dot now appears on both paginated and bottomed out comments
-- merge ViewAllReplies with ReplyToAnotherPage

* fix thread comment recognition, now based on depth
2025-07-26 18:06:22 -05:00
ekzyis
ef1c586231
Replace text-wrap with white-space because of better support (#2338) 2025-07-26 17:24:11 -05:00
ekzyis
ec5ea1bc5f
Extending awards.csv (#2335)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-07-26 12:48:03 -05:00
ekzyis
be1b497dfd
Add review guideline for cursor bot (#2336)
see https://docs.cursor.com/bugbot#rules
2025-07-26 12:46:35 -05:00
ekzyis
f14c0ed0e4
Extending awards.csv (#2328) 2025-07-25 10:14:18 -05:00