-
Notifications
You must be signed in to change notification settings - Fork 13
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
[OGUI-1608] Refactor to update FrameworkInfo to AboutView #2742
[OGUI-1608] Refactor to update FrameworkInfo to AboutView #2742
Conversation
…age, rename and reorganize files in 'pages' folder
…ure/OGUI-1608/refactor-frameworkinfo
QualityControl/public/Model.js
Outdated
@@ -261,7 +261,7 @@ export default class Model extends Observable { | |||
case 'about': | |||
this.page = 'about'; | |||
setBrowserTabTitle('QCG-About'); | |||
this.frameworkInfo.getFrameworkInfo(); | |||
this.aboutViewModel.getAboutViewModel(); |
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.
Hi @mariscalromeroalejandro. What is the reason for renaming this method to suggest that a model is retrieved?
@@ -30,10 +30,10 @@ export default class FrameworkInfo extends Observable { | |||
} | |||
|
|||
/** | |||
* Load FrameworkInfo into `item` | |||
* Load About Model into `item` |
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.
The model is the class itself.
This method does not Load About Model into
item``.
In item, data about the server of the GUI and associated services is stored in a remotedata. A remote data is used so that a nice UX is provided to the User, to know when items are loading, failed, or successfully loaded.
This pull request: