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

[OGUI-1608] Refactor to update FrameworkInfo to AboutView #2742

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

mariscalromeroalejandro
Copy link
Collaborator

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

This pull request:

  • Refactors the code by updating FrameworkInfo to AboutView to better align with Model and Page.
  • Files have been renamed and reorganized within the 'pages' folder.

@@ -261,7 +261,7 @@ export default class Model extends Observable {
case 'about':
this.page = 'about';
setBrowserTabTitle('QCG-About');
this.frameworkInfo.getFrameworkInfo();
this.aboutViewModel.getAboutViewModel();
Copy link
Member

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`
Copy link
Member

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.

@graduta graduta self-requested a review February 7, 2025 14:50
@mariscalromeroalejandro mariscalromeroalejandro merged commit 5d2a450 into dev Feb 11, 2025
10 checks passed
@mariscalromeroalejandro mariscalromeroalejandro deleted the feature/OGUI-1608/refactor-frameworkinfo branch February 11, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants