INNER CODE UNIT · Python

search_stats

Kohei-Wada/taskdog · packages/taskdog-ui/src/taskdog/tui/app.py:528

    def search_stats(self) -> None:
        """Show the statistics dashboard."""
        self.command_factory.execute("stats")

    def _refresh_mode_badges(self) -> None:
        """Refresh the footer mode badges to reflect current toggle/sort state."""
        if self.main_screen and self.main_screen.custom_footer:
            self.main_screen.custom_footer.update_mode_badges(self.state)

    def set_sort_order(self, sort_key: str) -> None:
        """Set the sort order for Gantt chart and task list.

        Called when user selects a sort option from Command Palette.

        Args:
            sort_key: Sort key (deadline, planned_start, priority, id)
        """
        self.state.sort_by = sort_key

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…