-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen autocomplete #97
Conversation
Codecov Report
@@ Coverage Diff @@
## master #97 +/- ##
==========================================
- Coverage 77.63% 76.80% -0.84%
==========================================
Files 238 29 -209
Lines 18644 1319 -17325
==========================================
- Hits 14475 1013 -13462
+ Misses 4169 306 -3863 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
else | ||
autocomplete_data = OpenC3::TargetModel.all(scope: scope).flat_map do |target_name, target_info| | ||
OpenC3::TargetModel.packets(target_name, type: type.upcase.intern, scope: scope).flat_map do |packet| | ||
packet_to_autocomplete_hashes(packet, target_info, type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't going to scale well to lots of packets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked ok for 1000 cmd packets generated by loadsim
@@ -169,6 +171,9 @@ export default { | |||
} | |||
this.updateScreens() | |||
}) | |||
Api.get('/openc3-api/autocomplete/keywords/screen').then((response) => { | |||
this.keywords = response.data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about autocomplete for target,packet,item in valueWidgets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I punted on that for now. Might be a way to incorporate the existing stuff in there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of playwright failures still (and long run time)
closes #48