Skip to content

Commit

Permalink
Merge pull request #1122 from OpenFn/1113-investigate-workflow-diagram
Browse files Browse the repository at this point in the history
Investigating Workflow Diagram
  • Loading branch information
taylordowns2000 authored Sep 19, 2023
2 parents be377bc + 99b5103 commit 1b486be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and this project adheres to

### Fixed

- Fix randomly unresponsive job panel after job deletion
[#1113](https://github.com/OpenFn/Lightning/issues/1113)

## [v0.9.0] - 2023-09-15

### Added
Expand Down
6 changes: 3 additions & 3 deletions assets/js/workflow-diagram/components/PlusButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ function PlusButton() {
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="w-4 h-4"
className="w-4 h-4"
>
<path
fill-rule="evenodd"
fillRule="evenodd"
d="M12 5.25a.75.75 0 01.75.75v5.25H18a.75.75 0 010 1.5h-5.25V18a.75.75 0 01-1.5 0v-5.25H6a.75.75 0 010-1.5h5.25V6a.75.75 0 01.75-.75z"
clip-rule="evenodd"
clipRule="evenodd"
/>
</svg>
</button>
Expand Down
5 changes: 0 additions & 5 deletions lib/lightning_web/live/workflow_live/edit.ex
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,6 @@ defmodule LightningWeb.WorkflowLive.Edit do

{:noreply,
socket
|> push_patch(
to:
~p"/projects/#{socket.assigns.project}/w/#{socket.assigns.workflow}",
replace: true
)
|> apply_params(next_params)
|> push_patches_applied(initial_params)}
else
Expand Down
2 changes: 0 additions & 2 deletions test/lightning_web/live/workflow_live/edit_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,6 @@ defmodule LightningWeb.WorkflowLive.EditTest do
%{op: "remove", path: "/edges/1"}
]
})

assert_patched(view, ~p"/projects/#{project}/w/#{workflow}")
end

@tag role: :viewer
Expand Down

0 comments on commit 1b486be

Please sign in to comment.