question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Feature Request: Rating control (stars)

See original GitHub issue

Proposal: Adaptive Cards Feedback Controls

Summary

Feedback control features should be implemented in the Adaptive Cards framework. Specifically, the framework should allow for binary feedback (i.e., thumbs up/thumbs down functionality), as well as the traditional star-rating feedback. These controls should be flexible enough to fit the needs of any card author.

Rationale

  • Several customers have directly expressed interest in tools allowing users to easily send feedback, such as a star-rating system or a thumbs up/thumbs down system. Customers are currently finding workarounds to this functionality, but a native feature would improve usability for both users and developers.
  • User feedback and customer data are key for companies to gauge success and explore avenues for improvement. Feedback control functionality for Adaptive Cards would facilitate easier collection of feedback and data points.
  • Both the traditional star-rating control as well as a separate thumbs up/thumbs down control are necessary due to the different use cases between the two controls. A binary system may be better suited for situations in which a company values quantity of responses (a user may be more inclined to respond with fewer options). In fact, Netflix recently made the switch to a binary feedback system after finding that this type of system received 200% more user responses than the traditional star-rating system. On the other hand, a company that values more engaged feedback, such as Yelp or Amazon in the case of restaurant and product reviews, may find that a star-rating system better suits its needs.

Scope

Capability Priority
This proposal will allow card authors to gather user feedback on an Adaptive Card, both on a 5-point and binary (2-point) scale Must
This proposal will allow card authors access to customization features for feedback control, including the ability to change rating icons, rating scale, and rating labels Should
This proposal will allow end users to see dynamic card changes in response to actions like hover and click Should
This proposal will allow card authors display-only capabilities for their ratings Could
This proposal will allow card authors to create a slider rating Could

Important Notes

  • Example 1: Medical survey image

    • Features of note:
      • Labels for options
      • Flexible quantity of options
      • Icon customization
  • Example 2: Yelp restaurant feedback yelpcatpureedited

    • Features of note:
      • Dynamic hover changes rating icons
      • Dynamic hover changes elements outside of rating; once an option is clicked, this could potentially lead to further input options based on the initial rating option (e.g., a bad rating will lead to an optional text box appearing asking the end user to explain their rationale)
      • Basic five-point rating system
  • Example 3: Simple 5-star rating image

  • Example 4: Rating sliders image

  • Example 5: Binary controls image

Open Questions

  • Should default rating icons should be native to the host? If so, this may add an extra burden to the host

Adaptive Cards-specific Considerations

Schema

https://github.com/microsoft/AdaptiveCards/compare/master...specs/3054-2

Introduce a new Input.Rating element.

standard

{
    "type": "AdaptiveCard",
    "body": [
        ...
        {
            "type": "Input.Rating",
            "id": "userRating"
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
}

Customizing the number of stars

Say they want 6 stars…

{
    "type": "AdaptiveCard",
    "body": [
        ...
        {
            "type": "Input.Rating",
            "id": "userRating",
            "maxValue": 6
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
}

Customizing the icons

image

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "Input.Rating",
      "id": "userRating",
      "icons": {
        "unselected": {
          "type": "Image",
          "url": "https://yelp.com/icons/unselectedStar.png"
        },
        "selected": {
          "type": "Image",
          "url": "https://yelp.com/icons/selectedStar.png"
        }
      }
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

Host Config

There should not be any changes to the host config.

Down-level impact

If the authors were using work arounds for previous versions, they could choose move to the simpler version of having native feedback controls.

Host burden

It is possible that the host would have to configure how they would like stars to show up in terms of color and style, but they could just render as default stars.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:31 (13 by maintainers)

github_iconTop GitHub Comments

4reactions
mohitkoulcommented, Nov 12, 2020

Lack of support responsible for death of Adaptive Card.

3reactions
archanag51commented, Jan 7, 2020

Yeah , please do let know when will this feature be available in production

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rating-Widget: Star Review System – WordPress plugin
The Rating-Widget Star Ratings WordPress plugin allows you to create and manage ratings ... You may also post feature requests, ideas and bug...
Read more >
Ratings, reviews, and responses - App Store
You can ask for ratings and respond to reviews to improve your app's discoverability, ... Ratings. Users can rate your app on a...
Read more >
5 Best Practices For Managing Feature Requests
Manage your feature requests effectively with these tips for SaaS founders, product owners, and product managers.
Read more >
Feature Requests | Starfish Reviews
Based on the number of stars the user-selected would determine what page they were taken to next. 3 stars or less would take...
Read more >
Getting More User Reviews: How and When to Ask For a ...
When you set up an in-app rating request, you are asking someone to give you a one to five-star rating. This is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found