Skip to content

fix: made the reports page tabs swipable for better UX#583

Open
rohansen856 wants to merge 1 commit intoCCExtractor:mainfrom
rohansen856:reports_page_swipable
Open

fix: made the reports page tabs swipable for better UX#583
rohansen856 wants to merge 1 commit intoCCExtractor:mainfrom
rohansen856:reports_page_swipable

Conversation

@rohansen856
Copy link
Contributor

Description

Made the reports page swipable by implementing TabBarView in lib\app\modules\reports\views\reports_view.dart, lib\app\modules\reports\views\reports_view_taskc.dart and lib\app\modules\reports\views\reports_view_replica.dart

From all 3 pages removed:

            onTap: (value) {
              controller.selectedIndex.value = value;
            },

and updated:

            IndexedStack(
                index: controller.selectedIndex.value,

to:

            TabBarView(
                controller: controller.tabController,

Fixes #578

Screenshots

WhatsApp.Video.2026-02-05.at.12.24.48.PM.mp4

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

Signed-off-by: rohansen856 <rohansen856@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UX Issue: Pages are not swipable, only tab icons work

1 participant