Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Fix composer bugs #4206

Merged
merged 3 commits into from
Nov 6, 2018
Merged

Fix composer bugs #4206

merged 3 commits into from
Nov 6, 2018

Conversation

brianlovin
Copy link
Contributor

Status

  • WIP
  • Ready for review
  • Needs testing

Deploy after merge (delete what needn't be deployed)

  • hyperion (frontend)

Someday we'll refactor the composer properly to have shared logic for the inbox composer and community-view composer. Until then, @mxstbr, this fixes a scoping issue where localStorage variables were being set only on the first time the community-view composer was used, which broke persistence when editing the composer or publishing a thread. Basically I just had to refactor everything to be class methods rather than globally-scoped variables which pointed to localStorage values.

This seems to work just fine locally.

Copy link
Contributor

@mxstbr mxstbr left a comment

Choose a reason for hiding this comment

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

Shipit

@brianlovin brianlovin merged commit b9413e5 into alpha Nov 6, 2018
@brianlovin brianlovin deleted the fix-composer-bugs branch November 6, 2018 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants