Skip to content

Conclude discussion on interactive object PR #217 #248

@dcolleoni

Description

@dcolleoni

Here I copy some comments to PR #217 which could not addressed within the PR.

ReportMutableScopeInteractive line 95 : What is the advantage of defining a singletone having only a workspace property (it should be with capital W) that can be accessed easily through the storage? IMO this makes the code harder to read because it would not be immediately clear where this workspace comes from from reading the subsequent scopes.

ReportMutableScopeInteractive line 150 : why is this not taken from the storage? it would be more efficient than querying each time. See also #237.

ReportMutableScopeInteractive line 527 : It is not immediately clear to me what this multithreading issue is about, but I think I have an idea. It might be that this workspace here is one of the source of the issue, because all dropdowns also use to query this workspace (which eventually query the datasource) and the controls happen to be on different concurrent tasks. If the dropdowns used the storage without query to the workspace (as I suggest in the comments above), then the query performed here to produce the csv could just work ok.

Metadata

Metadata

Labels

smapprelated to smapp mode

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions