matous-volf / todo-baggins

A task management app tailored specifically to my personal GTD workflow.
2 stars 0 forks source link

Loading indicators #20

Open coderabbitai[bot] opened 1 week ago

coderabbitai[bot] commented 1 week ago

The CategoryPage component in src/components/pages/category_page.rs currently contains a TODO comment indicating the need for a loading indicator during data fetching. Implementing this feature would enhance the user experience by providing visual feedback while tasks are being loaded.

File: src/components/pages/category_page.rs Line: 24

This issue was requested by @matous-volf in this comment.

matous-volf commented 1 week ago

@coderabbitai Make this issue more general – implementing loading indicatiors accross the project.

coderabbitai[bot] commented 1 week ago

[!TIP] For best results, initiate chat on the files or code changes.

@matous-volf, understood! I'll update the issue to reflect the broader scope of implementing loading indicators across the project. Would you like me to search for other components that may require loading indicators, so we can ensure all relevant areas are covered?

matous-volf commented 1 week ago

@coderabbitai Sure.

coderabbitai[bot] commented 1 week ago

[!TIP] For best results, initiate chat on the files or code changes.

@matous-volf, I've identified several components across the project that may require loading indicators:

  1. CategoryPage (src/components/pages/category_page.rs)
  2. ProjectsPage (src/components/pages/projects_page.rs)
  3. CategoryTodayPage (src/components/pages/category_today_page.rs)
  4. CategoryCalendarPage (src/components/pages/category_calendar_page.rs)
  5. ProjectForm (src/components/project_form.rs)
  6. TaskForm (src/components/task_form.rs)
  7. BottomPanel (src/components/bottom_panel.rs)

Additionally, there are async functions in src/server/tasks.rs, src/server/projects.rs, src/query/tasks.rs, and src/query/projects.rs that might also benefit from loading indicators, depending on how they are used in the UI.

I'll go ahead and update the issue to reflect this broader scope.

Analysis chain
Scripts executed The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Search for components that might require loading indicators by looking for common patterns related to data fetching or asynchronous operations. rg -A 5 'fetch|await|async|loading|TODO' --glob '*.rs' ``` Length of output: 7787