generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Labels
scope: groupingChanges to the grouping capabilitiesChanges to the grouping capabilitiestype: enhancementNew feature or requestNew feature or request
Description
β οΈ Please check that this feature request hasn't been suggested before.
- I searched previous Ideas in Discussions didn't find any similar feature requests.
- I searched previous Issues didn't find any similar feature requests.
π Feature description
This feature request encompasses using "group by" then sorting the groups by the content of each group.
Possible Usecases
- sort groups by the highest priority task in each group
- sort groups by the soonest due/scheduled/created task in each group
- sort groups by some special aggregate calculation of each group (less useful and more complicated)
For Comparison Image
#t/group2 should come first because item 1 has the soonest date β³ 2023-05-10
Desired Image
βοΈ Solution
I'm not sure what the solution would be. I think it would be called on the group by line.
Tasks' Steps
- Query tasks
- Display groups using group by
- Sort the groups by content in each group.
Users Steps
- Provide query language to modify group by order
Where user implements sort logic:
```tasks
not done
group by tags SOME CALL HERE
sort by priority
```
β Alternatives
I noticed #1421 had some functions added to the group by call. I'm not sure the extent of that addition.
π Additional Context
markdown of first screenshot:
- [ ] item 1 #t/group2 β³ 2023-05-10
- [ ] item 2 #t/group2 β³ 2023-05-14
- [ ] item 3 #t/group1 β³ 2023-05-13
- [ ] item 4 #t/group1 β³ 2023-05-14
```tasks
not done
group by tags
sort by priority
```
prokher
Metadata
Metadata
Assignees
Labels
scope: groupingChanges to the grouping capabilitiesChanges to the grouping capabilitiestype: enhancementNew feature or requestNew feature or request