Commit Graph

16 Commits

Author SHA1 Message Date
towards-a-new-leftypol 75024b1fd0 use estimated post counts 2024-01-22 13:46:29 -05:00
towards-a-new-leftypol 013a04a7d2 Display most recent catalog 2024-01-15 15:40:52 -05:00
towards-a-new-leftypol 77a319fa8e Add html key for catalog fetch count 2024-01-14 21:54: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 3b59fe8534 Add common submodule (with PostsType) 2024-01-13 11:36:49 -05:00
towards-a-new-leftypol 5532ffc960 http - basic error hooks 2024-01-12 19:25:01 -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 82d85b834b Compose two components (fake actions, since grid doesn't do anything yet) 2023-12-26 02:53:17 -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 f4fa338b6e Add miso-from-html to shell 2023-12-18 21:14:10 -05:00
towards-a-new-leftypol 088c3f7d90 Hello world 2023-12-14 07:18:25 -05:00
towards-a-new-leftypol 055bc806bc clean up nix scripts - build still working 2023-11-28 06:06:41 -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