towards-a-new-leftypol
a7163e2dfd
Move BoardType, ThreadType and SiteType modules into Common.Network
2024-03-05 23:41:38 -05:00
towards-a-new-leftypol
9588a24cb3
Move Network.PostType to Common
2024-03-05 21:38:48 -05:00
towards-a-new-leftypol
ceebf6df60
Move BodyRender into Common
2024-03-05 21:07:54 -05:00
towards-a-new-leftypol
89ccf78c60
Move ThreadView Component into Common
2024-03-05 20:54:58 -05:00
towards-a-new-leftypol
01b36caec8
Move TimeControl component into Common
2024-03-05 20:49:08 -05:00
towards-a-new-leftypol
4fd5702b27
Move back Interface definitions for Network.Client and Search components
...
- these were in the common submodule
2024-03-05 20:36:21 -05:00
towards-a-new-leftypol
059bc1b5d9
Move types out of Http and into Common.Network.HttpTypes
2024-03-05 20:30:19 -05:00
towards-a-new-leftypol
a8a0d514ee
Move Network.ClientTypes into Common
2024-03-05 20:16:27 -05:00
towards-a-new-leftypol
3f6566ab7b
Move Network.CatalogPostType into Common
2024-03-05 20:08:06 -05:00
towards-a-new-leftypol
1874f3a043
Move Action and Routes into the Common git submodule
...
- also fixes to display fewer things because everything is unbearably
slow on mobile even on a lan, I hope that this is something that can
be profiled and optimized out since rendering with very few posts
is reasonably quick.
- things to check: String conversions
2024-03-05 18:15:43 -05:00
towards-a-new-leftypol
c8f720f05b
Searched posts show up as a CatalogGrid
...
- but not many posts have an attachment, so I might have to fix things
2024-03-02 03:03:25 -05:00
towards-a-new-leftypol
534ac9075c
Saving search query using MVar and waiting for that MVar on form submit
2024-03-01 23:43:03 -05:00
towards-a-new-leftypol
b78b2af1ab
Route search results, displaying only heading though
2024-03-01 22:02:13 -05:00
towards-a-new-leftypol
6d17cefabe
Change url to search query
2024-03-01 21:12:39 -05:00
towards-a-new-leftypol
24640dda7f
Save search results inside the Search component
...
- still not displaying results
- still need to change url
- fails because mainUpdate doesn't handle search result action (event)
2024-03-01 20:44:30 -05:00
towards-a-new-leftypol
cd01e255b3
Add search results top-level action type, not used
...
- it's not yet handled
- it's not yet emitted
2024-03-01 20:05:37 -05:00
towards-a-new-leftypol
b42510f72c
Hook in search into the update loop
...
- new SearchType module to prevent cyclical imports
- Can't currently decode search results with the CatalogPost type, need
to update the database search function
2024-03-01 18:29:12 -05:00
towards-a-new-leftypol
cd72af095e
Search WiP: hook Search into Client API, but don't call it yet
2024-03-01 17:46:04 -05:00
towards-a-new-leftypol
f04fd2e591
Search WiP: Add searchbar component
2024-03-01 02:29:24 -05:00
towards-a-new-leftypol
02c7a48770
Add youtube embeds
2024-02-29 20:52:00 -05:00
towards-a-new-leftypol
2176e55bf6
TODO in separate text file
2024-02-20 13:04:09 -05:00
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