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
Rework #36
Rework #36
Conversation
Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
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.
Found these so far:
versionName = "2.1.1" | ||
description = "Dynamic Components is an extension that creates any component in your App Inventor distribution programmatically, instead of having pre-defined components. Made with ❤️ by Yusuf Cihan.", | ||
category = ComponentCategory.EXTENSION, | ||
helpUrl = "https://github.com/ysfchn/DynamicComponents-AI2/issues", |
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.
It would be nice to set this to the main repository link then add a link to README to go to the Issues if that's the case.
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.
No problem!
@SimpleEvent(description = "Is called after a schema has finished creating all/most of it's components.") | ||
public void SchemaFinished(YailList parameters, String schema) { | ||
EventDispatcher.dispatchEvent(this, "SchemaFinished", parameters, schema); | ||
} |
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.
I don't know how it will be useful to get the full schema after being created, because I think people will prefer comparing the schema names instead of comparing the full schema data.
package com.yusufcihan.DynamicComponents; | ||
package com.yusufcihan.dynamiccomponents; |
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.
Are you sure this won't break anything when upgrading the extension or during compiling the app?
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.
I actually have experienced issues with this over the past few days. For me if I had run into issues, I simple reimported the extension again and it was fine, but I did change the package name back to what it was originally for what I'll commit later.
And I personally like having comments because it can be useful for future contributions, and people (including us) can still understand the code after a long time, maybe years 😅 P.S - But I'm okay with it as block descriptions explain what it does. |
…nd reverse package name change Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
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.
LGTM, but I need to do some tests before merging. 😄
Is your test done yet? Because it's passed December 24th which was the date I promised many people a fix. |
* Fix indent to 4 spaces * Rework (#36) * Rewrite Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Remove .sh files from root Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Replace old icon.png for README Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Remove .placeholder Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Convert indentations to spaces (2) Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Reword description for GetName Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Change 'helpUrl' to README, reverse deprecation of 'SchemaCreated', and reverse package name change Signed-off-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> Co-authored-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com> * Lower the version name due it is not a major release * Lower the version code because it is bumped twice * Update docs * Add information about thread to docs * Replace badge locations Co-authored-by: Nathan <43486313+StormiFire@users.noreply.github.com> Co-authored-by: StormiFire <7520363-StormiFire@users.noreply.gitlab.com>
What is it?
This PR is to address some of the issues that users have experienced pertaining to 2.1.0.
Review
Deprecations
Multiple functions were deprecated in favor of replacements that are either enhanced or have a new name that better fits the functionality. These will still be rendered (they will not be outlined in red), they will not break your project, but it is suggested you migrate to the new events and functions because some of the old ones may no longer return proper results!
Behavioral changes of non-deprecations
New functions
Internal