Open pwltr opened 2 years ago
Hi, looks fun!
While the aesthetic does not match the rest of Tabliss, your widget does look nice. I'll have a bit of a think of this.
If you would like the widget to land in Tabliss, we do need to handle translations for dashboard text (in your case, the copy "transactions", and the relative date formatting). Check react-intl
docs, or follow some of the other widgets for an example.
Thanks!
Added a transparent color option that maybe fits a bit better into the overall design. For translations I used Intl.RelativeTimeFormat
which has good support and avoids importing locales from date-fns
.
Code-wise it looks good. I'll check out your branch this weekend and give it a final test before merging. Thanks for the addition!
Thanks for reviewing and this great project, I love how clean my start page is now!
Adds a widget for mempool.space that shows the last 1 - 5 mined blocks with their info and re-fetches data every minute. If for any reason you don't want a Bitcoin related widget in this app that's fine. Just had some fun with this and quickly built something.