Skip to content

What defines the order of sessions in mini.starter? #1354

Answered by echasnovski
dathinaios asked this question in Q&A
Discussion options

You must be logged in to vote

(Just noticed that I am actually using mini.sessions.. 😬)

Yeah, that appears to be the case. Then this is indeed relevant:

The default items contain "Sessions" section which displays only sessions detected with 'mini.sessions'. It's default order is indeed from most to least recent, but can be changed to alphabetical. Other than that you'd have to write your own section with any order you'd want.

If you really need custom session order, then you can use a callable MiniStarter.config.items entry which reads MiniSessions.detected and converts it to array of 'mini.starter' items in the order you want. The relevant part of MiniStarter.sections.sessions should be a good starting point: sim…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dathinaios
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
@dathinaios
Comment options

@echasnovski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #1352 on November 21, 2024 15:08.