@@ -791,6 +791,21 @@ export const Tasks = (
791791 document . getElementById ( 'sync-task' ) ?. click ( ) ;
792792 }
793793 } ) ;
794+ useHotkeys ( [ 'p' ] , ( ) => {
795+ if ( ! showReports ) {
796+ document . getElementById ( 'projects' ) ?. click ( ) ;
797+ }
798+ } ) ;
799+ useHotkeys ( [ 's' ] , ( ) => {
800+ if ( ! showReports ) {
801+ document . getElementById ( 'status' ) ?. click ( ) ;
802+ }
803+ } ) ;
804+ useHotkeys ( [ 't' ] , ( ) => {
805+ if ( ! showReports ) {
806+ document . getElementById ( 'tags' ) ?. click ( ) ;
807+ }
808+ } ) ;
794809 useHotkeys ( [ 'c' ] , ( ) => {
795810 if ( ! showReports && ! _isDialogOpen ) {
796811 const task = currentTasks [ selectedIndex ] ;
@@ -921,25 +936,31 @@ export const Tasks = (
921936 icon = { < Key lable = "f" /> }
922937 />
923938 < MultiSelectFilter
939+ id = "projects"
924940 title = "Projects"
925941 options = { uniqueProjects }
926942 selectedValues = { selectedProjects }
927943 onSelectionChange = { setSelectedProjects }
928944 className = "flex-1 min-w-[140px]"
945+ icon = { < Key lable = "p" /> }
929946 />
930947 < MultiSelectFilter
948+ id = "status"
931949 title = "Status"
932950 options = { status }
933951 selectedValues = { selectedStatuses }
934952 onSelectionChange = { setSelectedStatuses }
935953 className = "flex-1 min-w-[140px]"
954+ icon = { < Key lable = "s" /> }
936955 />
937956 < MultiSelectFilter
957+ id = "tags"
938958 title = "Tags"
939959 options = { uniqueTags }
940960 selectedValues = { selectedTags }
941961 onSelectionChange = { setSelectedTags }
942962 className = "flex-1 min-w-[140px]"
963+ icon = { < Key lable = "t" /> }
943964 />
944965 < div className = "pr-2" >
945966 < Dialog
0 commit comments