Crequency / KitX

An all-purpose toolbox app that connect everything.
https://kitx.apps.crequency.com
GNU Affero General Public License v3.0
1.17k stars 49 forks source link

[Mobile] Add a sorting strategy to the device list #266

Closed Dynesshely closed 1 year ago

Dynesshely commented 1 year ago

🪦 Is your feature request related to a problem? Please describe.

The order of the device cards in the device list on the mobile terminal is often messed up.

🪧 Describe the solution you'd like

Add default sorting strategy.

My suggestion is as follows:

🧾 Describe alternatives you've considered

Maybe we can provide other injection methods so that users can customize the sorting strategy.

📎 Additional context

No response

github-actions[bot] commented 1 year ago

Tracked by #224 .

Dynesshely commented 1 year ago

I accomplished this in https://github.com/Crequency/KitX-Mobile/commit/a0096c2723b6232f30bf448ffc76292ca7fd78b2, I will open a PR to merge it later.