unisonweb / elm-browser

A Unison Github repo explorer in Elm
MIT License
34 stars 4 forks source link

Spa #48

Closed exw closed 4 years ago

exw commented 4 years ago

This adds basic spa functionality successfully, but:

-- missing working implementation for term/type/decl routes, and

-- still has the issue of being unable to accept external links to branches/hashes, returning as a Bytes download rather than being processed through the View.

ashishsc commented 4 years ago

how's this going @exw ? need any help?

exw commented 4 years ago

@ashishsc Yeah, I'm having some trouble understanding some stuff in client-src/Main.elm...

1) figuring out what result param I need to pass in to the Cmd Message for the HTTP request messages, and then also

2) I'm trying to figure out how to chain tasks together correctly, both which tasks need to get chained and then why the compiler doesn't like my Task.map2 syntax

ashishsc commented 4 years ago

let's pair at the meetup tomorrow?

exw commented 4 years ago

Spa stuff is added for branches, now accepts direct links to individual branches.

Couple TODOs remaining:

-- fix missing direct linking to terms, types, type declarations, and patches -- 404 currently just redirects to head branch