@@ -363,17 +363,19 @@ def _panel_make_layout(self):
363363 )
364364 save_button .on_click (save_button_callback )
365365
366- self . download_button = pn .widgets .FileDownload (
366+ download_button = pn .widgets .FileDownload (
367367 button_type = "primary" , filename = "curation.json" , callback = self ._panel_generate_json , height = 30
368368 )
369- buttons_row .append (self .download_button )
370369
371370 restore_button = pn .widgets .Button (name = "Restore" , button_type = "primary" , height = 30 )
372371 restore_button .on_click (self ._panel_restore_units )
373372
374373 remove_merge_button = pn .widgets .Button (name = "Unmerge" , button_type = "primary" , height = 30 )
375374 remove_merge_button .on_click (self ._panel_unmerge )
376375
376+ remove_split_button = pn .widgets .Button (name = "Unsplit" , button_type = "primary" , height = 30 )
377+ remove_split_button .on_click (self ._panel_unsplit )
378+
377379 # Create layout
378380 buttons_save = pn .Row (
379381 save_button ,
@@ -388,7 +390,7 @@ def _panel_make_layout(self):
388390 buttons_curate = pn .Row (
389391 restore_button ,
390392 remove_merge_button ,
391- remove_split ,
393+ remove_split_button ,
392394 sizing_mode = "stretch_width" ,
393395 )
394396
@@ -404,7 +406,7 @@ def _panel_make_layout(self):
404406 # Create main layout with proper sizing
405407 sections = pn .Row (self .table_delete , self .table_merge , self .table_split , sizing_mode = "stretch_width" )
406408 self .layout = pn .Column (
407- self . buttons_save , buttons_curate , sections , shortcuts_component , scroll = True , sizing_mode = "stretch_both"
409+ save_sections , buttons_curate , sections , shortcuts_component , scroll = True , sizing_mode = "stretch_both"
408410 )
409411
410412 def _panel_refresh (self ):
@@ -454,7 +456,7 @@ def _panel_ensure_save_warning_message(self):
454456 import panel as pn
455457
456458 alert_markdown = pn .pane .Markdown (
457- f"""⚠️⚠️⚠️ Your curation is not saved""" ,
459+ f"""⚠️ Your curation is not saved! """ ,
458460 hard_line_break = True ,
459461 styles = {"color" : "red" , "font-size" : "16px" },
460462 name = "curation_save_warning" ,
0 commit comments