Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion ui/files_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,15 @@ def build_config_view(self):
ui_utils.build_concurrency_settings_slider(self, ctk, useConcurrencyHeading=True)

# Migration Plan Options
ui_utils.build_migration_plan_options(self, ctk, max_parallel_batches=5)
ui_utils.build_migration_plan_options(
self,
ctk,
max_parallel_batches=7,
parallel_batches_disclaimer=(
"* 6 parallel batches are only supported for 15k+ licenses; "
"7 parallel batches are only supported for 50k+ licenses."
),
)

def update_progress(self, msg):
if isinstance(msg, str):
Expand Down
13 changes: 11 additions & 2 deletions ui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def build_concurrency_settings_slider(self, ctk, useConcurrencyHeading=False):
concurrency_frame, 1, 0, "Load Multiplier:", self.load_multiplier
)

def build_migration_plan_options(self, ctk, max_parallel_batches):
def build_migration_plan_options(self, ctk, max_parallel_batches, parallel_batches_disclaimer=None):
ctk.CTkLabel(
self.adv_frame,
text="Migration Plan Options",
Expand Down Expand Up @@ -243,7 +243,16 @@ def build_migration_plan_options(self, ctk, max_parallel_batches):
),
font=FONT_BODY_SMALL,
text_color=COLOR_TEXT_SUB,
).pack(anchor="w", padx=25, pady=(2, 15))
).pack(anchor="w", padx=25, pady=(2, 0 if parallel_batches_disclaimer else 15))

if parallel_batches_disclaimer:
ctk.CTkLabel(
self.adv_frame,
text=parallel_batches_disclaimer,
font=FONT_BODY_SMALL,
text_color=COLOR_TEXT_SUB,
justify="left",
).pack(anchor="w", padx=25, pady=(2, 15))

def build_advanced_settings_frame(self, ctk):
self.adv_frame = ctk.CTkFrame(
Expand Down
Loading