Skip to content

[Feature Request] Allow to make an display order of module position in config #3761

@bugsounet

Description

@bugsounet

Prerequisites

  • I am running the latest version of MagicMirror², and know that this feature is not available now.
  • I know my issue is not related to a third-party module.
  • I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request

Actually, we can't define order display of modules when using the same position

We have copy and past module config content to move it

I suggest to use a new feature on config to do this

Describe the Use Case

   {
      disabled: false,
      module: "clock",
      position: "top_left"
   },
   {
      disabled: false,
      module: "calendar",
      position: "top_left",
      config: {
        <--- calandar config--->
      }
   },

Sample: I want to display calendar before clock without copy/past any module config

Describe Preferred Solution

Add a new feature named order

This feature allows to change the display order

   {
      disabled: false,
      module: "clock",
      position: "top_left",
      order: 2
   },
   {
      disabled: false,
      module: "calendar",
      position: "top_left",
      order: 1,
      config: {
        <--- calandar config--->
      }
   },

in this case: display calendar and below clock

Participation

  • I am willing to submit a pull request for this change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions