Theia: Timeline API

Created on 15 Apr 2020  路  9Comments  路  Source: eclipse-theia/theia

Description


Support Timeline API (beta now).

Reproduction Steps


VS Code Insiders has a proposed API for timelines. this extension can be used for testing .
Maybe this API can only be implemented when VS Code adds it into stable.

OS and Theia version:
Any

Diagnostics:

No

scm vscode

Most helpful comment

As I've seen from VS Code source, only APIs for Timelines are types and workspace.registerTimelineProvider.

All 9 comments

We have to implement the widget first in @theia/scm after that connect it with VS Code APIs in @theia/plugin-ext.

@akosyakov it shouldn't be bound to scm, maybe another extension is required.

ok, something like @theia/timeline sounds good as well.

Great! Not only SCMs can provide timeline data. I think this extension should provide both Theia internal API for extensions to connect to as well as VS Code compliant API for plugins, is this correct? Or only VS Code API will be enough?

@theia/timeline should provide API for extensions it is correct, wiring to VS Code API should be done in @theia/plugin-ext. APIs should be aligned though.

As I've seen from VS Code source, only APIs for Timelines are types and workspace.registerTimelineProvider.

@akosyakov Looks like existing History View is good for it, maybe with some changes.

@sh7dm Yes, it could be used as the basis. @westbury would it be fine?

TODO for converting History to Timeline (@ maintainers feel free to update):

  • [ ] Add icons support
  • [ ] Add VS Code compatible API
    More actions me be required too.
Was this page helpful?
0 / 5 - 0 ratings