Commit Graph

14 Commits

Author SHA1 Message Date
towards-a-new-leftypol 9269448477 render thread 2024-02-07 07:49:23 -05:00
towards-a-new-leftypol 831c0ba096 WIP: render thread - get thread bodies working 2024-02-05 05:22:12 -05:00
towards-a-new-leftypol d998067828 Parse thread response, begin rendering thread 2024-02-01 05:48:00 -05:00
towards-a-new-leftypol 37b576b96b implement getting thread in Client 2024-02-01 02:55:26 -05:00
towards-a-new-leftypol 683e855536 Hook into push/sub uri to change pages 2024-01-29 20:01:12 -05:00
towards-a-new-leftypol 013a04a7d2 Display most recent catalog 2024-01-15 15:40:52 -05:00
towards-a-new-leftypol 9b72d2fbe4 Add json payload encoding, headers to http request
- also get settings from page metadata
2024-01-14 18:54:36 -05:00
towards-a-new-leftypol 27a156f4e5 Http decodes data with aeson 2024-01-13 12:52:03 -05:00
towards-a-new-leftypol 107013756b Refactor http example into Client component
- Client will have own Action and Model
    - Model is TODO but needs to hold all of the aborts
      usually a front-end client wants to abort other ongoing requests

- Network.Client will have an update function that uses effectSub to
  create a thread that will inform the app of the results of the xhr
  action. We shouldn't just do this in Main, it gets messy
2024-01-12 18:59:20 -05:00
towards-a-new-leftypol bbc6a69d57 Some basic first attempt at XHR
- There's a lot of wrong here:
- Send function is referenced from the GHCJS.DOM.JSFFI.Generated
  directly, so idk if this compiles to native (it's fine to ignore this
  point though because we only really care about the front-end for XHR)
- There are actions that should be generalized out, probably there
  needs to be a network client component, with an interface to keep
  track of stuff for us accross different actions that trigger http
2024-01-11 18:59:00 -05:00
towards-a-new-leftypol fcea3f87fe Figure out how to use the router (initial action) 2023-12-25 08:21:56 -05:00
towards-a-new-leftypol d8f3637839 Example sub-component (Catalog Grid) 2023-12-22 06:06:52 -05:00
towards-a-new-leftypol 088c3f7d90 Hello world 2023-12-14 07:18:25 -05:00
towards-a-new-leftypol 5cc670fca9 Initial commit - struggle to set up a working environment
- default.nix is the working config (copied from mixo-component-example)
2023-11-28 04:46:39 -05:00