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.

Thumbs-up function

See original GitHub issue

Kind (Required)

  • Proposal / Discussion

Overview (Required)

  • We are showing thumbs-up instead of a session survey.
  • We have set up the necessary Firestore rules for it.
  • Please let us know if you have any missing rules or security issues.
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /confsched/2020 {
      match /sessions/{sessionId} {
        match /{allSubcollections=**} {
          allow create
        // Allow to increment only the 'shards' field and only by 1.
        match /thumbsup_counters/{counterId} {
          allow get;
          allow write: if == ["shards"]
                         && (resource == null || ==
                + 1);
  • I think that the user can press the button any number of times. (Cannot be canceled.) Like medium crap.
  • Regarding the creation of Firestore documents for sessions and counters, we are thinking of creating a Firestore document if there is no document from the application.

now design
image image


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

mkeedacommented, Jan 28, 2020

OK 🙆 I’ll fix the code as soon as possible.

takahiromcommented, Feb 4, 2020

I talked with designer 👍 0 = white 1 or more(all people) = blue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where Does the 'Thumbs-Up' Gesture Really Come From?
It's a widely recognized gesture: fingers curled into the palm, thumb stretched out, pointing skyward. But what's the history of the gesture and ......
Read more >
Creating a thumbs up/like function - Power Platform Community
Hello, I would like to have a thumbs up/like feature into a gallery on one of my screens. Here is a bit of...
Read more >
What does a "thumbs up" mean in Iraq?
Iraqis are giving passing Americans the "thumbs up" sign, which the troops interpret as a symbol of support. But many veteran travelers ...
Read more >
Converting Thumbs-Up/Thumbs-Down to Percentiles with ...
Instead, I present an original piecewise linear function that transforms skewed data into percentiles with skewness intact.
Read more >
Thumbs up: movements made by the thumb are smoother and ...
In humans, the thumb plays a crucial role in producing finger opposition movements. These movements form the basis of several activities of ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found