It is absolutely exhausting in this project, to log in and navigate through to the place where you are working on every time you do a change. If I just had a route then the page would refresh at exactly the point in the application I am working on.
Does BAP/A12 provide routing? I am talking about the <PROJECT_NAME> project and the navigator/view panels.
For the customer portals of the <PROJECT_NAME> project we have added routing on top of A12. It basically means that we define routes in the application using this interface
export interface Route {
route: string;
descriptor: Activity.Descriptor;
screenName?: string;
screenActions?(activity: Activity): IterableIterator<{}>;
requiredRole?: string;
match(fullRoute: string): boolean;
}
Whe navigating within the page we update the current route. A URL which is entered is processed using the match method and it’s screenActions are applied if it matched.
You can take a look at the live application at https://pv-insurance-test.digital-solutions.business/home