-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ia-cloud-cnct2] パレット上のノード表示 #70
Comments
リソースのJSONファイルに、editor.paletteLabelのエントリーがないのが第1原因ですが、 paletteLabel: function() { のコードで、this._("editor.paletteLabel")はエントリーのない場合は、"" か undefind あたりが帰るのかと思っていましたが、エントリーキーそのものが帰ってくるのですね。そういえばプロパティ編集画面のリソース参照でもそうですね。 return this.("editor.paletteLabel") !== "editor.paletteLabel" ? this.("editor.paletteLabel") : "ia-cloud CCS"; としなければならないですね。ほとんど全てのノードがそうです。 |
return this.("editor.paletteLabel") !== "editor.paletteLabel" ? this.("editor.paletteLabel") : "ia-cloud CCS"; は結構冗長なコードな気がしますね。 やはりラベル自体はパレット表示以外についても当然ちゃんと用意すべきということで、 |
本件、Issueに残しますか? |
そうですね、 oneditprepare() {
return this.("editor.paletteLabel");
} コードにこのように書くのはデフォルトの挙動と変わりないので、記載しないほうが簡潔かと思います。
この議論(経緯)は今現在Issueでやりとりしているので残っていると思いますが、 |
2つのノードについての英語名が設定されていないため、
何のノードなのかわからない状態になっています。
何か名前を考える必要があると思います。
The text was updated successfully, but these errors were encountered: