New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: PureScript in Signal Desktop #2

Open
wants to merge 108 commits into
base: development
from

Conversation

Projects
None yet
1 participant
@gasi
Owner

gasi commented May 22, 2018

Highlights

  • Define types such as Message, Conversation, based on researching and reconstructing the shape and types of existing and legacy data in IndexedDB as well as how the current app consumes data, etc.
  • Build raw IndexedDB access layer using purescript-indexeddb.
  • Parse existing IndexedDB data into strong types.
  • Attachment type module passes existing unit tests.
  • Render conversation view using PureScript Halogen library (similar to React) integrated with existing code.
  • Showcase simple FFI for:
    • libphonenumber
    • Conversation.compareTitle
    • Avatar.hashCode
  • Showcase the power of case expressions and compile-time checking that all cases have been handled:

gasi added some commits Feb 17, 2018

Add PureScript developer tools
- Compiler: `purescript`
- Build tool: `pulp`
Rename `Message` to `RawMessage`
This will allow us to use `Message` for our union type of the different message
types, e.g. incoming, outgoing, verified-change, keychange, etc.

gasi added some commits Mar 18, 2018

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