Closed gjwgit closed 1 day ago
Provider for PageController: I created a pageControllerProvider using Riverpod’s StateProvider to manage the PageController.
Access PageController in DatasetDisplay: In the DatasetDisplay widget, I use ref.watch(pageControllerProvider) to access the PageController and attach it to the PageView.
Update PageController in DatasetPopup: In the DatasetPopup widget, I use ref.read(pageControllerProvider) to get access to the PageController and move to the second page after the dataset is loaded.
We can head toward using PageViewer() as a replacement for Page? Desirable functionality
Is this a duplicate of #202?
Yes it is. Thanks for picking that up @Lutra-Fs. I have closed #202
The current branch kev/413_page is great so far. Now to add the navigation. Then migrate to replace Page (with PageView).
https://github.com/gjwgit/rattleng/pull/483 PR created
New issue created to fix integration tests: https://github.com/gjwgit/rattleng/issues/485
AS per #483 this is failing for me at present. Moving back to in progress.
Description
After loading the dataset proceed to the ROLES page. This is what I always do as a user, so probably good to do it by default.
Why
So that we show a new user that a new page is generated and they should get insight from this new page. It helps to train the user into using the navigation. It is also the first thing I need to do as an experienced user - go to PAGE 1 - and so it is useful to make this easier for me.