pipe-kan 0.21.0 → 0.22.0

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/pipe-kan.js CHANGED
@@ -952,7 +952,7 @@ function handleAppApi(req, res, app) {
952
952
  const body = text ? JSON.parse(text) : {};
953
953
  const key = String(body.key ?? "");
954
954
  const status = String(body.status ?? "");
955
- if (body.raw) {
955
+ if (body.raw === true) {
956
956
  const result = await app.moveRaw(key, status);
957
957
  json(res, result.ok ? 200 : 409, result);
958
958
  return;
@@ -1015,7 +1015,7 @@ function withPipedBoardContext(board, clientContext = []) {
1015
1015
  return [...pipedBoardContext(board), ...clientContext];
1016
1016
  }
1017
1017
  function formatBoardView(view) {
1018
- const opener = view.kind === "epics" ? "All epics" : "All stories";
1018
+ const opener = view.kind === "epics" ? "All epics" : view.kind === "combined" ? "All combined" : "All stories";
1019
1019
  const scope = view.selectedEpic ? `${opener}, children of ${view.selectedEpic}` : opener;
1020
1020
  const lines = [
1021
1021
  view.scope === "pipe" ? "The user is working with piped Jira issues (the full payload). Answer from these Jira issues. This is not GitHub and not the local source repo." : "The user attached the current Jira Kanban board (visible cards only). Answer from these Jira issues. This is not GitHub and not the local source repo.",