Skip to content

Commit

Permalink
Merge pull request #450 from gandalan/12100_FeedbackVerbesserungen
Browse files Browse the repository at this point in the history
Refactor IFeedbackService to match new usage
  • Loading branch information
ewu-nma authored Nov 26, 2024
2 parents 412ed17 + ac40e18 commit 12d0267
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 NavigateToNewFeedback(string pcode = null);

/// <summary>
/// navigate to a WebView to view the feedback entry list.
/// </summary>
void CollectUserFeedback();
}
Task NavigateToFeedbackList();
}

0 comments on commit 12d0267

Please sign in to comment.