Skip to content

Add ignore mode to /myslot load for selective profile imports#99

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/add-commandline-ignore-option
Draft

Add ignore mode to /myslot load for selective profile imports#99
Copilot wants to merge 3 commits intomasterfrom
copilot/add-commandline-ignore-option

Conversation

Copy link
Contributor

Copilot AI commented Dec 28, 2025

Users need to load profiles containing only specific action bars (e.g., a shared "mounts" bar) without clearing other bars. Currently, loading a profile with only Bar 6 will clear Bars 1-5 and 7-15.

Changes

  • gui.lua: Parse optional third argument as mode flag, detect "ignore" (case-insensitive), pass skipClearEmpty to RecoverData
  • Myslot.lua: Conditionally skip slot clearing loop when opt.skipClearEmpty is true
  • README.markdown: Document new syntax and use case

Usage

-- Normal: clears bars not in profile (existing behavior)
/myslot load ProfileName

-- Ignore mode: preserves bars not in profile
/myslot load ProfileName ignore

Example

Create "Horde-Mounts" profile with only Bar 6 exported. Loading with /myslot load Horde-Mounts ignore updates Bar 6 while preserving all other bars unchanged—ideal for sharing common bars (mounts, professions) across characters.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Featurerequest - commandline options</issue_title>
<issue_description>Would it be possible to allow to specify an ignore option at command line so it would only import datas that is in the profile and leave all other bars and buttons in their current state

Use case - have a separate profile for certain action bars that are the same across all charatcers (eg. a bar with mounts/ professions/macro's)
Example
/myslot load Paladin-Protection --> (imports all data)
/myslot load Horde-Mounts ignore --> would only import the data that is exported inside this profile

say that Horde-Mounts only has exported data for bar 6
right now the first import would overwrite bar 6, the second import would empty all but bar 6

I know I can do it with the GUI but would save a lot of time with command line when 1 "shared" bar
(edit for typos)</issue_description>

<agent_instructions>help me design and impl more complex /myslot load to address the issue</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@tg123 could you please try combination with /myslot clear action /myslot clear macro /myslot clear binding @tg123 sorry i fully revisited the post, seems you want to merge Paladin-Protection and Horde-Mounts right? Horde-Mounts has some empty slot but you do not want to `empty` current too right?

i do not think ui can do it nor command line</comment_new>
<comment_new>@tg123
ah i understand the issue now, thanks let me think</comment_new>


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 28, 2025 08:57
Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>
…calization

Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>
Copilot AI changed the title [WIP] Add ignore option for command line imports Add ignore mode to /myslot load for selective profile imports Dec 28, 2025
Copilot AI requested a review from tg123 December 28, 2025 09:02
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.

Featurerequest - commandline options

2 participants