Admin View Feedbacks - aditya1962/BuyGrand GitHub Wiki
Table of Contents
Basic Overview
This page serves the admin to view feedback sent by users (clients and sellers). On page load feedback details such as feedback ID, feedback, username, role and the submitted date are displayed. The admin has the ability to send a feedback back to the user given their correct login credentials.
Data Processing Overview
The data processing workflow for this page is shown in the image below:
As shown in the image, on page load complete a service reference to the Feedbacks web service in the ServiceApplication project is made. With this reference the Admin view can pass data from and to databases.
On page load a list of sellers along with their feedback ID, feedback, username, role and the submitted date are displayed in a filter and pagination view.
Then the admin has the option to send a feedback back to the user given their correct login credentials. As in load, on click event of the Send Feedback button the service reference is called which in turn calls stored procedures with required parameters to update the view.
There are two databases used in this page. The BuyGrandAdminRR (or Read Replica) database is used for only reading data and the other database BuyGrandAdmin is used for all other operations such as inserting, updating and deleting data.
Features
- View feedback details - On page load the following content for each feedback is loaded in a table. Additionally, pagination is enabled with filters starting from 25 items per page.
- Feedback ID
- Feedback
- Username
- Role
- Submitted date
- Send feedback buttons
- Send feedback - A feedback could be sent back to the sender