Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove globalize floodfill job #7173

Merged
merged 4 commits into from
Jun 27, 2023
Merged

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Jun 23, 2023

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • Use fill tool in 3D and check that no globalize UI is there anymore

Issues:


(Please delete unneeded items, merge only when none are left open)

@philippotto philippotto self-assigned this Jun 23, 2023
@philippotto
Copy link
Member Author

@fm3 Could you remove the back-end code related to the globalize floodfill job? 😇

@fm3
Copy link
Member

fm3 commented Jun 26, 2023

Done :)

Should we write a migration removing these jobs from the db? Or is the front-end still able to list them in the table?

@philippotto
Copy link
Member Author

Good point. I hadn't thought about it, but I just checked it: as long as the the front-end receives the job list as before (i.e., the backend can serialize these as JSON), it will show the floodfill jobs as before (because it handles the different job types quite generically).

Copy link
Member

@hotzenklotz hotzenklotz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -463,7 +462,9 @@ export function* floodFill(): Saga<void> {
yield* put(
addUserBoundingBoxAction({
boundingBox: coveredBoundingBox,
name: getBBoxNameForPartialFloodfill(oldSegmentIdAtSeed, activeCellId, seedPosition),
name: `Limits of flood-fill (source_id=${oldSegmentIdAtSeed}, target_id=${activeCellId}, seed=${seedPosition.join(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am correctly assuming that this code is for the local, frontend only flood-fill operation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly 👍

@philippotto philippotto merged commit 7a0727a into master Jun 27, 2023
@philippotto philippotto deleted the remove-globalize-floodfill branch June 27, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove globalize floodfill job Unify code of globalize floodfill modal and the starting jobs modals
3 participants