Skip to content

Conversation

@benjiwheeler
Copy link
Contributor

Resolves

Proposed Changes

instead of maintaining the state of font loading in the font-loader-hoc, put it into redux.

Reason for Changes

We need font loading state to be shared across project page and editor, so that fonts are not loaded a second time.

The second font load was triggering a second vm load of the project data.

Test Coverage

none... not obvious what we would test

Browser Coverage

Check the OS/browser combinations tested (At least 2)

Mac

  • Chrome
  • Firefox
  • Safari

Windows

  • Chrome
  • Firefox
  • Edge

Chromebook

  • Chrome

iPad

  • Safari

Android Tablet

  • Chrome

Copy link
Contributor

@paulkaplan paulkaplan left a comment

Choose a reason for hiding this comment

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

LGTM

@paulkaplan paulkaplan assigned benjiwheeler and unassigned paulkaplan and fsih Dec 20, 2018
@benjiwheeler benjiwheeler merged commit 19f5b19 into scratchfoundation:develop Dec 20, 2018
Copy link
Contributor

@fsih fsih left a comment

Choose a reason for hiding this comment

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

LGTM too, just had a question

};
default:
break;
return;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand this change. It might help to add a comment explaining how you could get into this state, and what you are doing in that case.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants