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

Support status bar command and service stats logging #840

Merged
merged 4 commits into from
Jan 17, 2019
Merged

Conversation

JakeDawkins
Copy link
Contributor

@JakeDawkins JakeDawkins commented Dec 18, 2018

Goals

  • Add an action to the action bar item at the bottom of the VSCode editor that opens up the output for the Apollo extension and prints out basic service info
  • Add support on the language server for reporting that service info
  • Supports multiple projects open in the workspace (like in a monorepo). Stats printed are for the project associated with the open file. If no file is open, it just prints extension version

Client projects when loaded successfully:
screen shot 2019-01-10 at 4 34 45 pm

Error when projects can't load stats (either because of misconfiguration or other language server/extension errors):
screen shot 2019-01-10 at 4 35 20 pm

Note: Service projects currently aren't supported for stats, so clicking the status bar icon just prints the extension version and opens the output pane

@JakeDawkins JakeDawkins changed the title [WIP] Support action bar command and service stats logging Support action bar command and service stats logging Jan 10, 2019
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

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

This looks awesome! Just a few unsolicited comments!

@JakeDawkins JakeDawkins force-pushed the AT-9 branch 2 times, most recently from cc54122 to 7d29070 Compare January 17, 2019 17:51
@JakeDawkins JakeDawkins changed the title Support action bar command and service stats logging Support status bar command and service stats logging Jan 17, 2019
* Added action to vscode to request stats
* Linked status bar onclick to run stats action
* Added stats printing utils for output pane
* Added languageProvider method to request stats from projects
* Added ability to run commands from a parent dir for monorepo support in editors
@JakeDawkins JakeDawkins merged commit 1b34e65 into master Jan 17, 2019
@JakeDawkins JakeDawkins deleted the AT-9 branch January 17, 2019 23:45
glasser added a commit that referenced this pull request Jun 16, 2020
It was registered under the wrong name since its introduction in #840.
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.

3 participants