Commit Graph

2591 Commits

Author SHA1 Message Date
Keyan 811d46d9b5
Merge pull request #955 from SatsAllDay/901-chart-skeletons
Chart skeletons
2024-03-25 17:07:36 -05:00
Satoshi Nakamoto 263d0cc425 remove duplicative styles 2024-03-25 15:35:32 -04:00
Satoshi Nakamoto 32bc483e48 chart skeletons 2024-03-25 15:35:32 -04:00
ekzyis 81502f8645 Better zapUndos default 2024-03-25 20:34:28 +01:00
ekzyis 3da299bddc Fix zapUndos not nullable in schema 2024-03-25 20:34:28 +01:00
ekzyis fe3724aa7d Rename to ZapUndosField
This makes the component name more consistent with the setting.
2024-03-25 20:34:28 +01:00
ekzyis 46f044552a Remove unnecessary false 2024-03-25 20:34:28 +01:00
ekzyis c2aef34ba2 Add threshold for zap undos 2024-03-25 20:34:28 +01:00
ekzyis 42d7a31584 Fix custom zap modal closed after zap undo 2024-03-25 20:32:23 +01:00
ekzyis 0193ac97fe Fix toast progress bar jump due to end flow hack
If an underlying toast finished, an empty toast that automatically immediately hides was dispatched to end the flow ("end flow hack").

If this empty toast had the same tag, the code marked the top toast as hidden even though it was not hidden.

This meant that during render, the animation-delay for the top toast (which was already rendered) was added again, leading to a progress bar jump.

This is fixed by no longer using this "end flow hack" where a toast is dispatched but a dedicated function to end flows.
2024-03-25 20:32:23 +01:00
ekzyis 17071fa615 Add missing tag to custom zap toasts 2024-03-25 20:32:23 +01:00
Keyan 5efbe2e0a6
Merge pull request #968 from stackernews/sndev-keep-standard-ports
Keep standard ports inside container
2024-03-25 13:31:19 -05:00
ekzyis f4a7819bb3 Keep standard ports inside container
This makes it possible to continue to use lncli without --rpcserver inside the docker container even if the GRPC port exposed on the host machine is different.

This is the case on my machine since I am running a mainnet LND node on my machine so port 10009 is already used.

I could change the port to 20009 via LND_GRPC_PORT and STACKER_LND_GRPC_PORT (they can even have the same port) but then lncli inside the container needs to be aware of that which means that the sndev script would need to parse .env.development (or some other "magic") to know the GRPC port inside the container.

However, I decided that using standard ports inside the container is better to keep the sndev script simple at the cost of having to think about host vs container ports since they are different now.

One reason for that is that I think one even does not need to think about the host ports since they aren't even needed? But that's another topic.
2024-03-25 19:02:32 +01:00
Keyan 7e10325309
Merge pull request #966 from stackernews/delete-api-webpush
Remove unused api/webPush/index.js
2024-03-25 09:26:20 -05:00
Keyan 2597d431c2
Merge pull request #967 from stackernews/remove-unnecessary-sndev-fn
Remove unused functions in sndev
2024-03-25 09:26:01 -05:00
Keyan f6729125e7
Merge pull request #964 from stackernews/tsx-platform-fix
reinstall tsx without node_modules present
2024-03-25 09:24:45 -05:00
ekzyis 176b3ec468 Remove unused functions in sndev 2024-03-25 14:50:51 +01:00
Felipe Bueno e919efc144 MailHog healthcheck with wget instead of curl 2024-03-25 09:26:45 -03:00
ekzyis 00447d5662 Remove unused api/webPush/index.js 2024-03-25 13:14:21 +01:00
Felipe Bueno 06005e3e40 Fix mailhog web UI url on README 2024-03-25 09:09:35 -03:00
keyan 2387c8c307 reinstall tsx without node_modules present 2024-03-24 17:36:24 -05:00
Keyan a289c9a1f4
Merge pull request #963 from stackernews/lastzapat
Add a denormalized lastZapAt field to items for notifications performance
2024-03-24 14:31:03 -05:00
keyan edb3dd365c denormalize last zap on item for notification querying 2024-03-24 14:16:29 -05:00
keyan 2502c176f1 improve sndev db healthcheck 2024-03-24 13:59:23 -05:00
Keyan 8aee4f41df
Update awards.csv for #960 2024-03-24 13:52:46 -05:00
SatsAllDay 9bc95d4bb1
gracefully handle errors when fetching lnurlp wellknown info (#960)
if `fetch` or `req.json` fails, catch those errors and return a default error to the user

if the res payload indicates error but doesn't return a `reason`, also return the same
default error message to the user
2024-03-24 13:25:14 -05:00
Keyan a7b0272200
denormalize replies (#958) 2024-03-23 23:15:00 -05:00
keyan e565e74e2d award for #956 2024-03-23 20:43:39 -05:00
Keyan 5dafe510eb
sndev start docker compose overrides (#957) 2024-03-23 20:34:13 -05:00
SatsAllDay 90c9e21ac4
validate nym arg presence on `./sndev login` command (#956)
check to ensure that a nym is provided to the login command before
proceeding. if omitted, echo an error message, display the help
for the login command, then exit with a non-zero exit code
2024-03-23 20:09:45 -05:00
keyan 101926a8bc award for #926 2024-03-23 17:00:30 -05:00
SatsAllDay 7087647cc0
Add top stackers, spender, and cowboys to newsletter (#954)
* Add top cowboys, stackers, and spenders to newsletter

* Rearrange to match the issue title

* fix top spenders `by` variable

* Update user resolver for top users `spending` `by` value

* wrap in try catch to not have errors break the script execution

return the array as defined whenever an error occurs
2024-03-23 12:23:31 -05:00
Felipe Bueno eef9b3de4d Add email to COMPOSE_PROFILES on sndev + Cleanup README instructions 2024-03-21 15:02:58 -03:00
Felipe Bueno 561e62481d Add 'profiles: email' to the MailHog container 2024-03-21 09:16:29 -03:00
keyan 4b4a5361ef fix #951 also retroactively 2024-03-20 20:56:40 -05:00
ekzyis 01d779723f
Check userId set in sendUserNotification (#949) 2024-03-20 19:59:48 -05:00
ekzyis 889d494eaf
Disable billing autorenew on transfer (#950) 2024-03-20 19:59:06 -05:00
ekzyis a1a82b9680
Delete unused lib/push-notifications.js (#947) 2024-03-20 19:58:42 -05:00
ekzyis a22db1a6a3
Fix timing between billedLastAt and billPaidUntil (#952) 2024-03-20 19:52:38 -05:00
Felipe Bueno 4d02bae826 Fix mailhog link on README.md 2024-03-20 20:40:13 -03:00
ekzyis b35302ccdc
Fix territory transfer sent to everyone (#946) 2024-03-20 16:45:30 -05:00
Felipe Bueno 82dc9b076d Add MailHog container to provide login with email without extra config 2024-03-20 18:41:25 -03:00
keyan e8f9a186c6 fix image url construction 2024-03-20 14:18:11 -05:00
keyan ecd075f483 fix path alias preventing builds 2024-03-20 13:41:32 -05:00
keyan 39652ee275 make dev s3 endpoints clearer 2024-03-20 13:23:59 -05:00
keyan 1e0cd468cc award for #942 2024-03-20 11:26:38 -05:00
SatsAllDay 051ec50e87
Remove leading dash to opt-in to being treated as vendor code (#942) 2024-03-20 11:13:22 -05:00
keyan 27f522a2cf add missing jsconfig for worker 2024-03-19 20:06:33 -05:00
ekzyis d237861ff5
Use module path aliases (#938)
* Use module path aliases

* fix broken refactor

* path mapping for svgs, style, and remaining places (bonus: lose babel dep)

---------

Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-03-19 19:37:31 -05:00
ekzyis 22ff832efb
Don't export sendUserNotification (#937)
* Rename file to webPush.js

* Move webPush code into lib/webPush

* Don't export sendUserNotification

* Fix null in deposit push notification

* restore deposit notification change

---------

Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-03-19 17:43:04 -05:00