-
Notifications
You must be signed in to change notification settings - Fork 27
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
🎨 Removes stringified data
field in socketio message
#5335
🎨 Removes stringified data
field in socketio message
#5335
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5335 +/- ##
======================================
Coverage 87.4% 87.4%
======================================
Files 1315 1315
Lines 54075 54078 +3
Branches 1174 1174
======================================
+ Hits 47304 47313 +9
+ Misses 6521 6515 -6
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ver/src/simcore_service_webserver/socketio/messages.py
…pcrespov/osparc-simcore into is5078/fix-json-payment-ack-soi-message
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.
✅
data
field in socketio message
4f66ce7
to
1923c8e
Compare
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, that is a very nice change!
I do not see the counterpart in the frontend though? should you not have a bunch of files that stop parsing the strings back?
services/web/server/src/simcore_service_webserver/socketio/messages.py
Outdated
Show resolved
Hide resolved
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, that is a very nice change!
I do not see the counterpart in the frontend though? should you not have a bunch of files that stop parsing the strings back?
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.
@pcrespov I guess this one goes away now, right? can we close it?
1923c8e
to
65a3c53
Compare
…ver/src/simcore_service_webserver/socketio/messages.py
65a3c53
to
1c809e6
Compare
…pcrespov/osparc-simcore into is5078/fix-json-payment-ack-soi-message Conflicts: services/web/server/src/simcore_service_webserver/socketio/messages.py
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.
👍🏼
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.
👍🏼
services/static-webserver/client/source/class/osparc/snapshots/IterationsView.js
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/desktop/WorkbenchView.js
Show resolved
Hide resolved
|
…n#5335) Co-authored-by: Ignacio Pascual <[email protected]>
…n#5335) Co-authored-by: Ignacio Pascual <[email protected]>
What do these changes do?
Following from #5078 (comment) this PR removes removes stringified
data
field in the socketio message.Basically we have changed (1) by (2).

The rest is all adaptation to this change and some refactoring to reduce code duplication. Specifically:
data
field is not stringified but json-encodedRelated issue/s
How to test
Dev Checklist
DevOps Checklist