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

Emin Kocan notifications at github.com
Tue Dec 17 12:17:34 UTC 2024


@kcne 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);
+  }
+});

Fixed. Thanks for the suggestion

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

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


More information about the rails-dev mailing list