Comments (4)
The relevant contribution point to get toolbar items on the toolbar for a webview is the .menus.view/title
contribution point with a "when": "view == <view ID>"
clause.
from vscode-trace-extension.
The relevant contribution point to get toolbar items on the toolbar for a webview is the
.menus.view/title
contribution point with a"when": "view == <view ID>"
clause.
The middle "webview" panel where the graphs are, is opened programatically and not using the contribution point. We'll have to see if we can add the menu the same way.
from vscode-trace-extension.
With recent VsCode version v1.71 (August 2022) it is possible to add conditional editor menus with activeWebviewPanelId
. However, this is not supported when installing the vscode-trace-extension
in Theia.
"editor/title": [
{
"when": "activeWebviewPanelId == 'react'",
"command": "<command>",
"group": "navigation"
}
]
It's probably better to find a platform independent solution for the toolbar.
from vscode-trace-extension.
#96 adds the reset time range
button and the open overview
button. The others still have to be added. Here is the list:
- Undo/Redo button
- Help button for short cuts
- Marker menus
from vscode-trace-extension.
Related Issues (20)
- Server status incorrect after server start when pressing open button HOT 1
- Experiment start and end time not available when re-opening experiment after trace start
- Remote Deployment: Facilitating Automatic Startup and Port Forwarding
- Activation is Premature HOT 1
- Issue Linking TraceViewer packages HOT 6
- Update to recent version of lerna dependency
- Update to Node 18
- Trace Server Manager cannot be used with Open Trace command
- Perform automated 3PP license check as part of CI for PRs
- Item properties do not persist when hidden and re-opened.
- [maintainability] Cycles found in extension's code HOT 1
- [maintainability] Found dependency used without being mentioned in package.json HOT 1
- De-couple starting a trace server with opening a trace.
- Command "traces.openTraceFile" - should it be available from command palette?
- Trace Explorer not refreshed after first trace server started indication
- Welcome Page not rendered after trace server stopped indication (intermittent)
- Trace Explorer/Welcome page not refreshed when updating the server URL (corner case)
- Update server URL: corner case with opened trace view(s) on one server but not the other
- Endless switching of trace viewer tabs and selected traces after trace server start HOT 1
- Welcome page not shown when installing extension in Theia IDE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-trace-extension.