-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement new UI for selecting signals #189
Conversation
Signed-off-by: Ivan Čukić <[email protected]>
Signed-off-by: Ivan Čukić <[email protected]>
Signed-off-by: Ivan Čukić <[email protected]>
Signed-off-by: Ivan Čukić <[email protected]>
a33e03f
to
6e5c98a
Compare
Signed-off-by: Magnus Groß <[email protected]>
6e5c98a
to
803e2e2
Compare
Signed-off-by: Magnus Groß <[email protected]>
The CI complains about it, even though it runs gcc14 already. Signed-off-by: Magnus Groß <[email protected]>
Signed-off-by: Magnus Groß <[email protected]>
Signed-off-by: Ivan Čukić <[email protected]>
Signed-off-by: Magnus Groß <[email protected]>
Also generate about 100k signals for testing. Signed-off-by: Magnus Groß <[email protected]>
Signed-off-by: Ivan Čukić <[email protected]>
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.
Thanks a lot for the UI design implementation.
The selector works/looks functionally OK. There are some immediate follow-up items/issues (thanks for @ivan-cukic for documenting):
- the columns are not filled with the correct test mock-information information (minor) -> will follow this up afterwards
- [2SP] UI: Extend subscription to support not only STREAMING data #194
- [0.5SP,0.5SP] UI: Button to add signals and show them immediately in a chart #195
- [0.5SP,0.5SP] UI: Allow selecting multiple signals to add at the same time #193
and some that could/should be followed up afterwards, namely: - [1SP] UI: Move time consuming operations off of the main UI thread #190
- [0.5SP,0.5SP] UI: Mouse press on a block in the flow graph should not open settings panel #192
- [0.5SP] UI: Show error messages to the user #191
but which should not prevent the merging of this implementation. 👍
dns::Entry{ "mdp", *restUrl.hostName(), 12345, "/GnuRadio/Acquisition", "", entry.name, entry.unit, entry.sample_rate, "STREAMING" }, | ||
dns::Entry{ "mds", *restUrl.hostName(), 12345, "/GnuRadio/Acquisition", "", entry.name, entry.unit, entry.sample_rate, "STREAMING" } | ||
dns::Entry{*restUrl.scheme(), *restUrl.hostName(), *restUrl.port(), "/GnuRadio/Acquisition", "", entry.name, entry.unit, entry.sample_rate, "STREAMING"}, | ||
// dns::Entry{"mdp", *restUrl.hostName(), 12345, "/GnuRadio/Acquisition", "", entry.name, entry.unit, entry.sample_rate, "STREAMING"}, |
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.
We should make this dependent on whether the UI is run on the web or natively (i.e. within the browser or desktop).
void Block::setDatatype(DataType type) { m_datatype = type; } | ||
DataType Block::datatype() const { return m_datatype; } | ||
void Block::setCurrentInstantiation(const std::string& newInstantiation) { | ||
m_inputs.clear(); |
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.
to note: should follow GR4 naming conventions -> separate issue.
|
||
class SignalSelector { | ||
private: | ||
std::string m_windowName = "Add Device Signals"; |
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.
follow GR4 naming conventions -> separate issue
Closes #188
Set
OPENDIGITIZER_LOAD_TEST_SIGNALS=1
for testing.The rendered columns are the name and comment for now, but can be changed if desired.
signals.webm