Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Display loading indicator while FilePatchView is loading #323

Closed

Description

@kuychaco

... so that the UI feels more responsive when displaying large diffs

Activity

  1. self-assigned this
    on Jan 7, 2017
  2. smashwilson commented on Jan 7, 2017

    @smashwilson
    Contributor

    I'll have a look at this next week! 😄

  3. BinaryMuse commented on Jan 7, 2017

    @BinaryMuse
    Contributor

    I started working on this yesterday, but since the slow rendering is synchronous, it doesn't seem to help much. I tried a strategy to show the first couple hundred lines and then render the rest and it feels even slower. I'm not sure this is a good idea in hindsight

  4. smashwilson commented on Jan 7, 2017

    @smashwilson
    Contributor

    Ah so it's actually the rendering speed that's the bottleneck, rather than computing and fetching and parsing the patch? Yeah, that feels like something that would be a lot easier to tackle once Fiber lands.

  5. smashwilson commented on Jan 7, 2017

    @smashwilson
    Contributor

    (Assuming that my intuition about what Fiber does is correct, that is.)

  6. BinaryMuse commented on Jan 7, 2017

    @BinaryMuse
    Contributor

    Yeah, is the synchronous DOM flushing from etch and the associated layout recalculation from showing the tab. Using a tiling strategy is the right thing but since we're moving to use the editor, which already does this, I don't think we should put forth the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions