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 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 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
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
3 changes: 0 additions & 3 deletions source/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ host.BrowserHost = class {
this._navigator = window.navigator;
this._document = window.document;
this._telemetry = new base.Telemetry(this._window);
this._window.eval = () => {
throw new Error('window.eval() not supported.');
};
this._meta = {};
for (const element of Array.from(this._document.getElementsByTagName('meta'))) {
if (element.name !== undefined && element.content !== undefined) {
Expand Down
6 changes: 0 additions & 6 deletions source/electron.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ host.ElectronHost = class {
this.exception(error, true);
this.message(error.message);
});
this._global.eval = () => {
throw new Error('eval.eval() not supported.');
};
this._window.eval = () => {
throw new Error('window.eval() not supported.');
};
this._window.addEventListener('unload', () => {
if (typeof __coverage__ !== 'undefined') {
const file = path.join('.nyc_output', path.basename(window.location.pathname, '.html'));
Expand Down
Loading
Loading