Skip to content
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

Merged
merged 12 commits into from
Jul 30, 2024

Conversation

vimpostor
Copy link
Contributor

@vimpostor vimpostor commented Jul 24, 2024

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

@vimpostor vimpostor force-pushed the ivan/new-signal-selection-ui branch from a33e03f to 6e5c98a Compare July 24, 2024 10:04
vimpostor and others added 7 commits July 24, 2024 15:02
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: Magnus Groß <[email protected]>
Also generate about 100k signals for testing.

Signed-off-by: Magnus Groß <[email protected]>
Copy link
Member

@RalphSteinhagen RalphSteinhagen left a 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):

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"},
Copy link
Member

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();
Copy link
Member

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";
Copy link
Member

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

@RalphSteinhagen RalphSteinhagen merged commit c39e885 into main Jul 30, 2024
9 of 10 checks passed
@RalphSteinhagen RalphSteinhagen deleted the ivan/new-signal-selection-ui branch July 30, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[5pt,6pt] Implement new UI for selecting signals
4 participants