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

Extension to visualize metadata provided externally #1418

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d5b4d0f
First modifications
leman31 Aug 8, 2024
0fe9203
Added an example of button under metadata
leman31 Aug 8, 2024
0643830
Added a button in the menu
leman31 Aug 13, 2024
7f8a6e6
Managed to add imports
leman31 Aug 20, 2024
5d4d69d
Managed to execute bash for linux
leman31 Aug 28, 2024
5e97e6e
Last modifications
leman31 Aug 28, 2024
a83a114
Some bugs solved
leman31 Sep 17, 2024
f4cf43c
One of the final versions
leman31 Sep 17, 2024
8608a95
Fixed bugs
leman31 Sep 19, 2024
ee7c809
Small modifications
leman31 Sep 23, 2024
196c4ed
Added more cornercases
leman31 Sep 26, 2024
c2f3c68
Solved some bugs
leman31 Oct 9, 2024
5c2476d
Last modifications
leman31 Oct 23, 2024
3add305
New version of code
leman31 Nov 7, 2024
c448e53
Added new functionality
leman31 Nov 20, 2024
d051a56
Fixed image hovering
leman31 Nov 27, 2024
44baf07
Added cornercases
leman31 Nov 28, 2024
ef5ac14
Added cornercases
leman31 Dec 5, 2024
e00d304
Fixed bugs and cleaned the code
leman31 Dec 11, 2024
5e4a54b
Fixed bugs and added comments
leman31 Dec 12, 2024
6fdef6a
Added more modifications
leman31 Dec 17, 2024
94926ba
Deleted file
leman31 Dec 17, 2024
9026245
Other modifications
leman31 Dec 17, 2024
04b9775
Cleared console logs
leman31 Dec 18, 2024
b056270
Cleared more code
leman31 Dec 18, 2024
a8affc1
Modified
leman31 Dec 18, 2024
20306d5
Modifications
leman31 Dec 18, 2024
d3da404
Modified comments
leman31 Dec 18, 2024
04701fc
More modifications
leman31 Dec 19, 2024
f0910a7
Arranged the code
leman31 Jan 9, 2025
863e855
Cleaned the rest of code
leman31 Jan 15, 2025
ded0404
Solved conflicts
leman31 Jan 16, 2025
3ec23ba
Fixed the bugs from commits
leman31 Jan 16, 2025
4feac2c
Solved the unloaded model error
leman31 Jan 16, 2025
8f97b2b
Merge remote-tracking branch 'upstream/main' into model_metadata
leman31 Jan 17, 2025
ee6a2fa
Fixed first errors
leman31 Feb 12, 2025
0f1f394
Reversed eval and fixed linter errors
leman31 Feb 19, 2025
2540668
Merged
leman31 Feb 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Small modifications
leman31 committed Sep 23, 2024
commit ee7c8091e05e70a46b94173c15d0cbbcc2aa3463
1 change: 0 additions & 1 deletion package.py
Original file line number Diff line number Diff line change
@@ -73,7 +73,6 @@ def _start():

def main(): # pylint: disable=missing-function-docstring
table = { 'build': _build, 'install': _install, 'version': _version, 'start': _start }
print("am intrat in table")
sys.args = sys.argv[1:]
while len(sys.args) > 0:
command = sys.args.pop(0)
6 changes: 3 additions & 3 deletions source/hovers.js
Original file line number Diff line number Diff line change
@@ -114,17 +114,17 @@ static functie() {
if (first.toLowerCase() == "tensor_meta" || first.toLowerCase() == "operator_meta") {
obj["meta"] = meta;
}
else if (first.toLowerCase() == "dblclick_script" || first.toLowerCase() == "dblclick_cmd") {
else if (first.toLowerCase() == "tensor_ondblclick_script" || first.toLowerCase() == "tensor_ondblclick_command" || first.toLowerCase() == "operator_ondblclick_script" || first.toLowerCase() == "operator_ondblclick_command") {
obj[first.toLowerCase()] = meta;
} else {
if (first.toLowerCase() == "add_button") {
if (first.toLowerCase() == "tensor_button" || first.toLowerCase() == "operator_button") {
if (otherstring !== JSON.stringify({})) {
obj["button_" + nofb] = otherstring;
nofb += 1;
}
otherstring = JSON.stringify({"id": obj["id"], "class": childmeta.className, "button_name": lineread[1] == undefined ? '' : lineread[1].trim()});
} else {
if (first.toLowerCase() == "cmd" || first.toLowerCase() == "script") {
if (first.toLowerCase() == "tensor_button_cmd" || first.toLowerCase() == "tensor_button_script" || first.toLowerCase() == "operator_button_cmd" || first.toLowerCase() == "operator_button_script") {
var stri = JSON.parse(otherstring);
stri[first.toLowerCase()] = lineread[1] == undefined ? '' : lineread[1].trim();
otherstring = JSON.stringify(stri);