Skip to content

Viewport change event#4180

Merged
moniika merged 13 commits into
RaspberryPiFoundation:developfrom
moniika:viewport-change-event
Sep 1, 2020
Merged

Viewport change event#4180
moniika merged 13 commits into
RaspberryPiFoundation:developfrom
moniika:viewport-change-event

Conversation

@moniika

@moniika moniika commented Aug 15, 2020

Copy link
Copy Markdown
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

#1052

Proposed Changes

  • Added emitting event on viewport changes.
  • Added tests for event viewport change event.

Reason for Changes

Allows for listening for changes to viewport.

Test Coverage

Ran mocha tests.

Tested on:

  • Desktop Chrome

Additional Information

Planning to implement new event type for viewport changes in separate PR.

@moniika
moniika marked this pull request as draft August 15, 2020 02:07
Comment thread tests/mocha/workspace_svg_test.js Outdated
Comment thread tests/mocha/workspace_svg_test.js Outdated
Comment thread tests/mocha/workspace_svg_test.js Outdated
Comment thread tests/mocha/workspace_svg_test.js Outdated
@moniika
moniika marked this pull request as ready for review August 18, 2020 23:34

@rachel-fenichel rachel-fenichel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two nits then lgtm.

Comment thread core/workspace_svg.js Outdated
Comment thread core/workspace_svg.js Outdated
@moniika
moniika merged commit 739b8b3 into RaspberryPiFoundation:develop Sep 1, 2020
@moniika
moniika deleted the viewport-change-event branch September 1, 2020 01:41
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.

2 participants