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

Move supports_progress to global state #2815

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Nov 1, 2024

Motivation

We want to allow add-ons to show progress bars if the editor supports it. However, whether it supports it or not is currently a state of Store, which add-ons don't have access to. We need to put that in the global state.

Implementation

Moved supports_progress to the global state.

Automated Tests

I got rid of a test that wasn't very useful and that was difficult to avoid flakiness after this change.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @vinistock and the rest of your teammates on Graphite Graphite

@vinistock vinistock requested review from andyw8 and st0012 November 1, 2024 14:05
@vinistock vinistock added server This pull request should be included in the server gem's release notes enhancement New feature or request labels Nov 1, 2024 — with Graphite App
@vinistock vinistock marked this pull request as ready for review November 1, 2024 14:06
@vinistock vinistock requested a review from a team as a code owner November 1, 2024 14:06
@vinistock vinistock self-assigned this Nov 1, 2024
@vinistock vinistock merged commit 93f9669 into main Nov 1, 2024
39 checks passed
@vinistock vinistock deleted the 11-01-move_supports_progress_to_global_state branch November 1, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants