[openstreetmap/openstreetmap-website] Add user profile heatmap visualization for contributions (PR #5402)

Holger Jeromin notifications at github.com
Tue Dec 17 07:30:00 UTC 2024


@HolgerJeromin commented on this pull request.



> +      [CalendarLabel, {
+        position: "left",
+        key: "left",
+        text: () => weekdays,
+        textAlign: "end",
+        width: 30,
+        padding: [23, 10, 0, 0]
+      }],
+      [Tooltip, {
+        text: (date, value) => getTooltipText(date, value, locale)
+      }]
+    ]);
+  } catch (error) {
+    console.error("Error during Cal-Heatmap initialization:", error);
+  }
+});

```suggestion
}, {once: true});
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5402#pullrequestreview-2508046543
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5402/review/2508046543 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241216/93f71524/attachment.htm>


More information about the rails-dev mailing list