Skip to content

[Feature Request] Allow to order plugin in each dalay type #4

@l2eused

Description

@l2eused

I have one problem with commander and unicode search plugins in android phone. The problem is when I set my 2 plugins above in same delay (long delay for example), my unicode search command icon can't load in toolbar (I use commander to custom my unicode search command for mobile toolbar) but for advanced table (I also use as command in mobile toolbar too) it doesn't. So I guess it because order of loading is alphabetically order so when commander plugin is loaded, the unicode search command is not yet load and cause error command (question icon in mobile toolbar). So I want to request this feature to fix my problem here.

TLDR; order loading to fix some plugins that need to run before/after others plugin.

my idea:

  • adding section to order plugin to load before/after normal order

for example

**plugin list:**
- AA
- BB
- CC
- DD
- FF
- EE

**set**
AA as long delay
BB as long
CC as Instant
DD as long
FF as short
EE as long

**normal loading order**
CC FF AA BB DD EE

**want to set**
DD, AA as last
EE as first

so in order list should be

> set this plugin to first in order (sort by order in this box)
> `EE`

> set this plugin to last in order (sort by order in this box)
> `DD`
> `AA`

**in this case, order is**
CC FF EE BB DD AA

as above example, just add new 2 insert box that is order as first and order as last

the priority would be:

  1. delay set (instant, short, long)
  2. first order box
  3. normal order (alphabet)
  4. last order

and run as

  1. instant first
  2. instant normal
  3. instant last
  4. short first
  5. short normal
    .
    .
    .

This isn't main setup for user, just use it only for few plugins that need to be order. (Should be in advanced settings)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions