Skip to content

Remove isFabric(), viewName, getScrollableNode along with all usages #7103

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

Merged
merged 7 commits into from
Feb 26, 2025

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Feb 26, 2025

Co-authored-with: Krzysztof Piaskowy [email protected]

Summary

This PR replaces all isFabric(), IS_FABRIC and global._IS_FABRIC checks with true (as well as optimizes the expressions and removes dead code).

Turns out, getScrollableNode call was inside !IS_FABRIC so we also removed that.

We also removed viewName from ViewDescriptor as it was used only on Paper.

Test plan

Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

The PR is good, I'm just worried about some bits of the code that were already there.

@tomekzaw tomekzaw added this pull request to the merge queue Feb 26, 2025
Merged via the queue into main with commit 1427b91 Feb 26, 2025
10 checks passed
@tomekzaw tomekzaw deleted the remove-is-fabric-ts-js branch February 26, 2025 11:56
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.

4 participants