-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor IFeedbackService to match new usage
- Loading branch information
Showing
1 changed file
with
19 additions
and
6 deletions.
There are no files selected for viewing
25 changes: 19 additions & 6 deletions
25
Gandalan.IDAS.WebApi.Client/Contracts/UIServices/IFeedbackService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
namespace Gandalan.IDAS.Client.Contracts.Contracts.UIServices; | ||
using System.Threading.Tasks; | ||
|
||
namespace Gandalan.IDAS.WebApi.Client.Contracts.UIServices; | ||
|
||
/// <summary> | ||
/// Service for collection end user feedback, for instance via the | ||
/// "smiley" button in the top right corner of an app | ||
/// UI-Service for collecting end user feedback. | ||
/// </summary> | ||
public interface IFeedbackService | ||
{ | ||
/// <summary> | ||
/// i.e. opens a dialog window, takes screenshots, emails them etc. | ||
/// opens the feedback dialog window to create a new feedback entry. | ||
/// </summary> | ||
Task OpenNewFeedbackWindow(); | ||
|
||
/// <summary> | ||
/// navigate to a WebView to create a new feedback entry. | ||
/// </summary> | ||
/// <param name="pcode">optional, preselected pcode</param> | ||
/// <returns></returns> | ||
Task NavigatorToNewFeedback(string pcode = null); | ||
|
||
/// <summary> | ||
/// navigate to a WebView to view the feedback entry list. | ||
/// </summary> | ||
void CollectUserFeedback(); | ||
} | ||
Task NavigatorToFeedbackList(); | ||
} |