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

Add events tree view with menus for jupyter notebook generation #4

Merged
merged 5 commits into from
Nov 7, 2023

Conversation

jonlamb-gh
Copy link
Contributor

  • Adds a new tree view for events and their attributes for a selected timeline (currently just a single timeline)
  • Adds menus for generating an event-timing jupyter notebook for a selected event and an event attribute notebook for a selected attribute for an event
  • Updates the OpenAPI schema to include the newly added events-summary-for-a-timeline

}

async createEventTimingNotebook(item: EventNameTreeItemData) {
let selectedEventNames = this.view.selection.flatMap((data) => data.eventName);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flatMap seems odd here. Is eventName sometimes an array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, I meant to use map here.

@jonlamb-gh jonlamb-gh merged commit d3b440b into main Nov 7, 2023
1 check passed
@jonlamb-gh jonlamb-gh deleted the ipynb branch November 12, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants