-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
Description
The ask here is to reduce redundancy in the application code. Here are the few areas that can be made better :
- Reduce redundancy in ViewModels : Most of the ViewModels, contain at least two members, title and description. Above that, the group pages consist of one more item - navigation cards / items. We can make a BasePageViewModel and BaseGroupPageViewModel which will consist of these common members and rest of the view models can inherit these and then provide there own members required for the pages
- Reduce redundancy in Views : As of now, although we have seperate pages for each group, however the view for each of these pages is exactly the same. Moreover, the structure of their view models are also the same. Find a way to combine all of these into a single page with different data populated
- Remove excess imports : Currently all the C# files import the required namespaces, and are not utilizing the global using feature of C#. Add the common namespaces in
Usings.csand remove the respective namespaces from the files.