towards-a-new-leftypol
2e3ef2e841
Hook up jumping to an earlier time with the slider on the catalog page
2024-02-20 09:42:03 -05:00
towards-a-new-leftypol
49157c27f2
Add input range time control
...
- add component module
- hook up events, update function etc
2024-02-19 13:02:16 -05:00
towards-a-new-leftypol
0345a755a4
Backlinks aka mentions
2024-02-16 12:26:30 -05:00
towards-a-new-leftypol
a8594e31f7
remove unused attribute, commented out code
2024-02-14 12:12:12 -05:00
towards-a-new-leftypol
f4dda79c05
Working post no links
2024-02-14 12:09:48 -05:00
towards-a-new-leftypol
e2ce096289
Human readable time title attribute
2024-02-14 11:40:25 -05:00
towards-a-new-leftypol
9f9ee7d857
Format time (in UTC)
2024-02-14 08:27:36 -05:00
towards-a-new-leftypol
1b819fea2c
ThreadView - fix threads getting messed up when there's a post without a body
2024-02-14 08:27:14 -05:00
towards-a-new-leftypol
d981c0b23f
add correct image dimensions
2024-02-14 06:15:59 -05:00
towards-a-new-leftypol
6d49618c54
delete some commented out imports
2024-02-13 21:23:24 -05:00
towards-a-new-leftypol
57776a1110
Render quote links properly
2024-02-13 06:19:27 -05:00
towards-a-new-leftypol
03066403fb
adjust backlink font-size to 11px
2024-02-13 06:19:06 -05:00
towards-a-new-leftypol
7592bd19ee
Catalog - don't render intro if there's no subject
2024-02-13 03:56:25 -05:00
towards-a-new-leftypol
e63b688239
Minor css fixes
2024-02-13 03:52:08 -05:00
towards-a-new-leftypol
b44523d6d9
Update catalog view styles
2024-02-11 15:27:22 -05:00
towards-a-new-leftypol
24758470af
Put Model into separate module
...
- pass model to BodyRender
- so we can render the quotelinks better (TODO)
2024-02-11 13:58:16 -05:00
towards-a-new-leftypol
be7b381988
minor style changes
2024-02-11 13:58:03 -05:00
towards-a-new-leftypol
1d97524db4
minor css fix for multifile replies (make reflow consistent with site)
2024-02-10 08:05:42 -05:00
towards-a-new-leftypol
c416363fe3
Parse Quote links
...
- use parsec to parse
- since the function is pure we can use it in BodyRender
- need to pass the model to BodyRender before we can correctly
render the link TODO
2024-02-10 08:02:45 -05:00
towards-a-new-leftypol
a257c0c291
Render body elements
...
- TODO: quote links need to be parsed, display properly and
handled
2024-02-10 06:07:29 -05:00
towards-a-new-leftypol
1950b45157
Parsing PostBodies seems to work okay
...
- tie in parsing into the threadview update function
- that may not be the final place for it but it works for now to just
bring out the Show instances.
- need a renderer now
2024-02-09 09:19:32 -05:00
towards-a-new-leftypol
3b1d130f41
Parse post body using DOM
...
- add module for parsing post body
- creates and element and sets the innerhtml of it to a string
- then iterates over the nodes that were created to
get them into a data structure
- re-use data-structure from bunkerchan-upload script
- parsing logic is similar but uses ghcjs-dom API instead of HXT
2024-02-09 05:38:06 -05:00
towards-a-new-leftypol
388c9a5b28
Show name and post number in post intro
...
- still missing accurate links, timestamp
2024-02-09 04:18:16 -05:00
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
840edb86ab
Make HTTP Client more generic
...
- refactor our http call to easily construct more api methods
- make the Client Interface and Action types be polymorphic
- this requires the main application keeping an Action constructor
in the ClientAction, so we can later know what type to decode
(this is a bit weird I'm not gonna lie but it works)
2024-02-01 01:52:57 -05:00
towards-a-new-leftypol
cd3bb2064f
WIP Client.getThread
2024-01-31 20:36:50 -05:00
towards-a-new-leftypol
dc82c318a7
write an example postgREST query to get a whole thread based only on site_name, board_pathpart, and board_thread_id
2024-01-29 22:55:00 -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
57e1fe590e
Show thumbnails
2024-01-25 23:51:59 -05:00
towards-a-new-leftypol
0a75e96f27
Get ready to have file details in CatalogGrid
...
- update posts type (new fields not yet used)
2024-01-22 15:20:43 -05:00
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