Add user ratings
Summary: Adds a star rating to flipper internal. Based on the nuclide behaviour: We get an event emitted when a user changes their rating. And we also get the rating with every ping event, which is fired every minute, if flipper is the primary window. The only thing I don't like that much is that this doesn't actually say anywhere what the stars are for. Reviewed By: passy Differential Revision: D16420281 fbshipit-source-id: 69a52f64058955d7cd068215478e95c554cb9ed4
This commit is contained in:
committed by
Facebook Github Bot
parent
a646c4e2ff
commit
f7875002dd
@@ -47,6 +47,8 @@ export default (store: Store, logger: Logger) => {
|
||||
clients,
|
||||
} = store.getState().connections;
|
||||
|
||||
const {flipperRating} = store.getState().application;
|
||||
|
||||
if (!selectedDevice || !selectedPlugin) {
|
||||
return;
|
||||
}
|
||||
@@ -70,6 +72,7 @@ export default (store: Store, logger: Logger) => {
|
||||
plugin: selectedPlugin,
|
||||
app,
|
||||
sdkVersion,
|
||||
flipperRating,
|
||||
};
|
||||
|
||||
// reset dropped frames counter
|
||||
|
||||
Reference in New Issue
Block a user