@lv-x-software-house/x_view 1.2.5-dev.24 → 1.2.5-dev.26
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 +5 -4
- package/dist/index.mjs +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -352,7 +352,7 @@ function ContextMenu({
|
|
|
352
352
|
const canCreateVersion = ability.can("create", "Versioning");
|
|
353
353
|
const canReadVersion = ability.can("read", "Versioning");
|
|
354
354
|
const shouldShowVersioningBtn = canCreateVersion || canReadVersion && hasVersions;
|
|
355
|
-
const canStartQuest = isCurrentNodeQuest && (((_a2 = data.nodeData) == null ? void 0 : _a2.status)
|
|
355
|
+
const canStartQuest = isCurrentNodeQuest && (((_a2 = data.nodeData) == null ? void 0 : _a2.status) === "Backlog" || !((_b2 = data.nodeData) == null ? void 0 : _b2.status));
|
|
356
356
|
const canFinishQuest = isCurrentNodeQuest && ((_c2 = data.nodeData) == null ? void 0 : _c2.assignee_id) === (currentUser == null ? void 0 : currentUser.id) && ((_d = data.nodeData) == null ? void 0 : _d.status) !== "Backlog";
|
|
357
357
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center gap-2 px-2 pt-1 pb-2" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "inline-flex h-2 w-2 rounded-full bg-indigo-400/80 shadow-[0_0_12px_1px_rgba(99,102,241,0.5)]" }), /* @__PURE__ */ import_react.default.createElement("p", { className: "text-[11px] uppercase tracking-wider text-slate-400" }, "A\xE7\xF5es R\xE1pidas")), /* @__PURE__ */ import_react.default.createElement("div", { className: "flex flex-col gap-1" }, canStartQuest && /* @__PURE__ */ import_react.default.createElement(
|
|
358
358
|
"button",
|
|
@@ -3200,7 +3200,9 @@ var IGNORED_KEYS = [
|
|
|
3200
3200
|
"status",
|
|
3201
3201
|
"is_quest",
|
|
3202
3202
|
"raw_title",
|
|
3203
|
-
"assignee_id"
|
|
3203
|
+
"assignee_id",
|
|
3204
|
+
"reviewStack",
|
|
3205
|
+
"timeline"
|
|
3204
3206
|
];
|
|
3205
3207
|
function extractCustomPropsFromNode(node) {
|
|
3206
3208
|
const customPropTypes = node._customPropTypes || {};
|
|
@@ -13257,7 +13259,7 @@ function XViewScene({
|
|
|
13257
13259
|
timeline: newTimeline
|
|
13258
13260
|
};
|
|
13259
13261
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13260
|
-
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13262
|
+
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode, true);
|
|
13261
13263
|
}
|
|
13262
13264
|
setDetailsNode(updatedNode);
|
|
13263
13265
|
}, [session, actionHandlerContext]);
|
|
@@ -15875,7 +15877,6 @@ function XViewScene({
|
|
|
15875
15877
|
onClick: () => setInvalidTargetError(null),
|
|
15876
15878
|
style: {
|
|
15877
15879
|
background: "rgba(255, 255, 255, 0.1)",
|
|
15878
|
-
border: "none",
|
|
15879
15880
|
color: "white",
|
|
15880
15881
|
padding: "4px 10px",
|
|
15881
15882
|
borderRadius: "8px",
|
package/dist/index.mjs
CHANGED
|
@@ -313,7 +313,7 @@ function ContextMenu({
|
|
|
313
313
|
const canCreateVersion = ability.can("create", "Versioning");
|
|
314
314
|
const canReadVersion = ability.can("read", "Versioning");
|
|
315
315
|
const shouldShowVersioningBtn = canCreateVersion || canReadVersion && hasVersions;
|
|
316
|
-
const canStartQuest = isCurrentNodeQuest && (((_a2 = data.nodeData) == null ? void 0 : _a2.status)
|
|
316
|
+
const canStartQuest = isCurrentNodeQuest && (((_a2 = data.nodeData) == null ? void 0 : _a2.status) === "Backlog" || !((_b2 = data.nodeData) == null ? void 0 : _b2.status));
|
|
317
317
|
const canFinishQuest = isCurrentNodeQuest && ((_c2 = data.nodeData) == null ? void 0 : _c2.assignee_id) === (currentUser == null ? void 0 : currentUser.id) && ((_d = data.nodeData) == null ? void 0 : _d.status) !== "Backlog";
|
|
318
318
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2 px-2 pt-1 pb-2" }, /* @__PURE__ */ React.createElement("span", { className: "inline-flex h-2 w-2 rounded-full bg-indigo-400/80 shadow-[0_0_12px_1px_rgba(99,102,241,0.5)]" }), /* @__PURE__ */ React.createElement("p", { className: "text-[11px] uppercase tracking-wider text-slate-400" }, "A\xE7\xF5es R\xE1pidas")), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-1" }, canStartQuest && /* @__PURE__ */ React.createElement(
|
|
319
319
|
"button",
|
|
@@ -3161,7 +3161,9 @@ var IGNORED_KEYS = [
|
|
|
3161
3161
|
"status",
|
|
3162
3162
|
"is_quest",
|
|
3163
3163
|
"raw_title",
|
|
3164
|
-
"assignee_id"
|
|
3164
|
+
"assignee_id",
|
|
3165
|
+
"reviewStack",
|
|
3166
|
+
"timeline"
|
|
3165
3167
|
];
|
|
3166
3168
|
function extractCustomPropsFromNode(node) {
|
|
3167
3169
|
const customPropTypes = node._customPropTypes || {};
|
|
@@ -13262,7 +13264,7 @@ function XViewScene({
|
|
|
13262
13264
|
timeline: newTimeline
|
|
13263
13265
|
};
|
|
13264
13266
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13265
|
-
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13267
|
+
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode, true);
|
|
13266
13268
|
}
|
|
13267
13269
|
setDetailsNode(updatedNode);
|
|
13268
13270
|
}, [session, actionHandlerContext]);
|
|
@@ -15880,7 +15882,6 @@ function XViewScene({
|
|
|
15880
15882
|
onClick: () => setInvalidTargetError(null),
|
|
15881
15883
|
style: {
|
|
15882
15884
|
background: "rgba(255, 255, 255, 0.1)",
|
|
15883
|
-
border: "none",
|
|
15884
15885
|
color: "white",
|
|
15885
15886
|
padding: "4px 10px",
|
|
15886
15887
|
borderRadius: "8px",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.5-dev.
|
|
3
|
+
"version": "1.2.5-dev.26",
|
|
4
4
|
"description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
|
|
5
5
|
"author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
|
|
6
6
|
"license": "UNLICENSED",
|