rivia 0.0.106 → 0.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +12 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4647,6 +4647,18 @@ var ProductManagement = /* @__PURE__ */ function() {
4647
4647
  const div = document.createElement("div");
4648
4648
  div.className = "pm-lite-item";
4649
4649
  const date = it.created_at ? new Date(it.created_at).toLocaleDateString() : "";
4650
+ div.style.cursor = "pointer";
4651
+ div.addEventListener("click", () => {
4652
+ const baseUrl = `https://${state.config.workspace}.rivia.ai/users/changelog`;
4653
+ const params = new URLSearchParams({
4654
+ changelogId: it.changelog_id || it.id || "",
4655
+ // adjust based on your API
4656
+ pm_user_id: state.pmUserId || ""
4657
+ });
4658
+ console.log("it.id", it.id);
4659
+ const finalUrl = `${baseUrl}?${params.toString()}`;
4660
+ window.open(finalUrl, "_blank");
4661
+ });
4650
4662
  if (it.label) {
4651
4663
  const tag = document.createElement("span");
4652
4664
  tag.className = "pm-lite-tags";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rivia",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",