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

Update README.md #487

Open
wants to merge 7 commits into
base: webpack-build
Choose a base branch
from

Conversation

EricXie-02
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Sep 27, 2023

Deploy Preview for wonderful-blackwell-a043b5 ready!

Name Link
🔨 Latest commit fe59603
🔍 Latest deploy log https://app.netlify.com/sites/wonderful-blackwell-a043b5/deploys/65eb51f3c5735a000835e294
😎 Deploy Preview https://deploy-preview-487--wonderful-blackwell-a043b5.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

"webRoot": "${workspaceFolder}/src",
"tmpDir": "/home/ericx/Desktop/FirefoxTemp",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use relative path directories to ensure that paths don't get broken

@@ -20,7 +20,10 @@
},
"cSpell.words": ["registryref"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a duplicate file ?

@@ -1,3 +1,11 @@
(function() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you using this for ?

Comment on lines +204 to +205
"x-span": bounds.width,
"y-span": bounds.height,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An you verify whether _xspan and _yspan are not retrieving the right values. If thats the case please create getters for those two properties to return the width and height of the bounds

Comment on lines +338 to +340
console.log(render);
console.log(featureid);
console.log(render.bounds);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary logging, please remove

@@ -555,6 +559,34 @@ export default class Component {
}
}

/**
* Gets the mirrorByX of the component
* @returns {Number} Returns the degree of rotation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it returning degrees of rotation ?

@@ -142,6 +142,7 @@ export default class Device {
addComponent(component: Component): void {
if (component instanceof Component) {
this.__components.push(component);
console.log("component",component)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary loggin

@@ -363,7 +363,6 @@ export default class Feature {
deriveRenderName(): string {
if (!ComponentAPI.library[this.type]) {
console.error("Type unrecognized, defaulting to template.");
this._type = "Template";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for removing this ? I'm more curious than anything else

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you using this for ?

Comment on lines +43 to +45
//Commented out due to additional parameter added to method
// const render = ComponentPortRenderer2D.renderComponentPort(componentport, [0,0], 0, 0, 0, zfactor);
// componentportrenders.push(render);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we are not rendering the component ports now ?

Copy link
Collaborator

@rkrishnasanka rkrishnasanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, however some small modifications need to change. Especially if x and y span properties are not returning the right values, we need to make sure that they working correctly (since this is being used in more places other than export).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants