Thumbs-up function
See original GitHub issueKind (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 request.resource.data.keys() == ["shards"]
&& (resource == null || request.resource.data.shards ==
resource.data.shards + 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.
https://www.figma.com/file/4r9becvhDy3GfXaXex8E8d/App?node-id=21%3A289
now | design |
---|---|
Links
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (22 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK 🙆 I’ll fix the code as soon as possible.
I talked with designer 👍 0 = white 1 or more(all people) = blue.