improve the html #1

Open
opened 2 years ago by dawidkubis · 1 comments
Owner

The html currently lies either in src/www/ or in src/post.rs, the latter being for convenience, but we could probably move everything to www in the future.
What should be done:

  • add number of replies in threads
  • change the "Create Thread" into something more idiomatic, since we are using the same form for posting and creating threads
  • prettify everything
  • add a visual cue to differentiate between viewing all threads and viewing a single one
  • somehow dodge javascript while doing all this; maybe webassembly could be done as a compile-time feature but I'm not sure if I like it

We could also possibly split the included src/www/ into chunks at compile-time, to speed up response times, or maybe cache the specific threads/root into memory.

The html currently lies either in `src/www/` or in `src/post.rs`, the latter being for convenience, but we could probably move everything to `www` in the future. What should be done: + add number of replies in threads + change the "Create Thread" into something more idiomatic, since we are using the same form for posting and creating threads + prettify everything + add a visual cue to differentiate between viewing all threads and viewing a single one + somehow dodge javascript while doing all this; maybe webassembly could be done as a compile-time feature but I'm not sure if I like it We could also possibly split the included `src/www/` into chunks at compile-time, to speed up response times, or maybe cache the specific threads/root into memory.
Poster
Owner

Also faq.html should probably be wrapped in index.

Also faq.html should probably be wrapped in index.
dawidkubis added the
enhancement
label 2 years ago
dawidkubis added the
help wanted
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dawidkubis/kchan#1
Loading…
There is no content yet.