-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dependencies update. Restructure each page to be modularized. Refactor Scene Page and more #61
base: dev
Are you sure you want to change the base?
Conversation
…re the LoginPage class and functions. And change import syntax of mui icons at App.js
…directory to inside the pages
…ed Scene Page, by splitting to SceneList and SceneShow. Restructure SceneList so the Scenes are tabbed into user scenes and example scenes. Filter, actions, etc are still WIP.
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.
Everything looks great to me I don't want to be nick-picky but there are a few lines commented (as shown below). If they're meant for future reference and not lines you forget to remove then its all good. 👍
|
||
// //Extract uid(different from ids) from data we received | ||
// let uids = ids.map(id=>data[id].uid); | ||
// //Filter out the repeated uids and the uids isn't 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.
Not sure if you've commented these for future reference but if not it would be good to remove these
|
||
const CourseFilter = (props) => ( | ||
<Filter {...props}> | ||
{/* <TextInput label="Search" source="q" alwaysOn /> */} |
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.
Comments here as well
<Create {...props}> | ||
<SimpleForm toolbar={<RefExCreateToolbar />}> | ||
<TextInput source="functionName" /> | ||
{/* <TextInput source="info" /> */} |
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.
More commented lines
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.
Looks good, however, some things are scarce with comments, and some things have been commented out (without a note as to why they are still there and not deleted).
Changes
Bump node engine version from 10.13 to 12.18
Update to following dependencies:
Added two new dependencies:
Removed unused dependencies
File Structure Change:
Resource Pages
Scene Page
components folder
Further TODOs