atom / archive-view

Open compressed files in Atom
MIT License
31 stars 32 forks source link

Refactor #60

Closed 50Wliu closed 6 years ago

50Wliu commented 6 years ago

Requirements

Description of the Change

This refactors archive-view to be more in line with how similar packages are designed. Notable changes:

Alternate Designs

None.

Benefits

Better separation of concerns between ArchiveEditor (package lifecycle and services) and ArchiveEditorView (the view and pane item).

Possible Drawbacks

Unintentionally-introduced bugs as a result of the file restructuring. This might also break any saved state that was relying on the ArchiveEditor deserializer name instead of the new ArchiveEditorView. I'll have to look through the commit history and then implement a shim if necessary. I've added back the old ArchiveEditor deserializer to ensure smooth transitions to the new deserializer. After a few versions have passed it should be safe to remove it.

Applicable Issues

None.