Class

TagDialogManager

TagDialogManager(tagsController)

The TagDialogManager handles all functionality related to tag dialogs.

Constructor

# new TagDialogManager(tagsController)

Constructs a new TagDialogManager

Parameters:
Name Type Description
tagsController Object

Reference to the tags controller

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 28

Methods

# async closeDialogAndUpdateTag()

Save changes after editing a tag

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 472

# deleteTagAfterConfirmation()

Delete a tag after user confirmation

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 417

# async handleDeleteTagButtonClick()

Handle the delete tag button click

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 639

# handleEditTagChange()

Handle UI state changes when editing a tag

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 550

# async handleEditTagClick()

Handle the edit tag button click

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 697

# async handleNewTagButtonClick()

Create a new tag dialog

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 570

# initAddTagsToGroupDialog(force)

Initialize the add tags to group dialog

Parameters:
Name Type Default Description
force boolean false

Whether to force initialization even if already done

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 172

# initDeleteTagConfirmationDialog(force)

Initialize the delete tag confirmation dialog

Parameters:
Name Type Default Description
force boolean false

Whether to force initialization even if already done

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 306

# initEditTagDialog(force)

Initialize the edit tag dialog

Parameters:
Name Type Default Description
force boolean false

Whether to force initialization even if already done

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 254

# initNewTagDialog(force)

Initialize the new tag dialog

Parameters:
Name Type Default Description
force boolean false

Whether to force initialization even if already done

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 72

# initRemoveTagAssignmentConfirmationDialog(force)

Initialize the remove tag assignment confirmation dialog

Parameters:
Name Type Default Description
force boolean false

Whether to force initialization even if already done

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 364

# refreshTagDialogs()

Refresh all dialogs (used after locale changes)

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 59

# async removeTagAssignmentAfterConfirmation()

Remove tag assignment after user confirmation

View Source frontend/components/tool_panel/tag_assignment_panel/tag_dialog_manager.js, line 783