-
Notifications
You must be signed in to change notification settings - Fork 235
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
Dashboard #477
base: user-dashboard
Are you sure you want to change the base?
Dashboard #477
Conversation
@sayamkanwar give me some time I'll go through the code. |
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.
@sayamkanwar most of the changes in PR are style changes, can you revert the style changes and remove flake8 ignore
ide/urls.py
Outdated
@@ -1,9 +1,12 @@ | |||
# flake8: noqa |
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.
Please remove this and fix the style issues properly
ide/views.py
Outdated
@@ -1,3 +1,4 @@ | |||
# flake8: noqa |
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.
Same here
@@ -24,38 +26,67 @@ def fetch_layer_shape(request): | |||
net[layerId]['shape'] = {} | |||
net[layerId]['shape']['input'] = None | |||
net[layerId]['shape']['output'] = None | |||
dataLayers = ['ImageData', 'Data', 'HDF5Data', 'Input', 'WindowData', 'MemoryData', 'DummyData'] | |||
dataLayers = [ |
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.
Revert this
if (net[layerId]['info']['type'] in dataLayers): | ||
|
||
if net[layerId]['info']['type'] in dataLayers: | ||
|
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.
remove newline
return JsonResponse({ | ||
'result': 'error', 'error': str(sys.exc_info()[1])}) | ||
return JsonResponse({'result': 'error', | ||
'error': str(sys.exc_info()[1])}) |
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.
Revert this style changes
ide/views.py
Outdated
return JsonResponse({'result': 'error', 'error': str(sys.exc_info()[1])}) | ||
|
||
if Network.objects.filter(name=net_name).exists(): | ||
|
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.
Remove newline
ide/views.py
Outdated
if Network.objects.filter(name=net_name).exists(): | ||
|
||
# Update the exising json field | ||
|
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.
Remove newline
Sure @Ram81! |
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.
@sayamkanwar also fix the webpack errors
@sayamkanwar can you please fix the issues you mentioned in #496 |
Hi,
I have implemented the dashboard's design and functionality.
Details: #471
Please review @Ram81 @RishabhJain2018
Thank you! :)