Skip to content

Commit

Permalink
Refactor IFeedbackService to match new usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu-nma committed Nov 25, 2024
1 parent 412ed17 commit a55de1b
Showing 1 changed file with 19 additions and 6 deletions.
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();
}

0 comments on commit a55de1b

Please sign in to comment.