rivia 0.0.105 → 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.
- package/dist/index.js +14 -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";
|
|
@@ -4828,8 +4840,8 @@ var ProductManagement = /* @__PURE__ */ function() {
|
|
|
4828
4840
|
style.innerHTML = `
|
|
4829
4841
|
.pm-dot {
|
|
4830
4842
|
position: absolute !important;
|
|
4831
|
-
top:
|
|
4832
|
-
right:
|
|
4843
|
+
top: -3px !important;
|
|
4844
|
+
right: -3px !important;
|
|
4833
4845
|
width: 8px !important;
|
|
4834
4846
|
height: 8px !important;
|
|
4835
4847
|
background-color: red !important;
|