Commit Graph

91 Commits

Author SHA1 Message Date
Christian Bundy 8efaa37bc1
Add solarized light theme to CSS 2019-09-29 09:03:43 -07:00
Christian Bundy fd55969db9
Add thread schema module to confirm assumptions about replies 2019-09-28 15:53:23 -07:00
Christian Bundy 4fd95918c9
Reduce size of Markdown link on profile page 2019-09-27 11:53:43 -07:00
Christian Bundy 4d55a6690f
Switch back to light mode, keep dark mode in repo 2019-09-27 10:37:24 -07:00
Christian Bundy 029b4de21a
Change styles to dark mode 2019-09-27 09:50:37 -07:00
Christian Bundy 92cf6f04ce
Fix public view to avoid showing private messages 2019-09-26 20:27:03 -07:00
Christian Bundy 5f6cc68dbf
Change button hover cursor to pointer 2019-09-26 20:19:54 -07:00
Christian Bundy bccae0449a
Change `<code>` style to remove red highlight 2019-09-26 15:11:44 -07:00
Christian Bundy de41a6827a
Change textarea to use consistent styling 2019-09-26 09:57:03 -07:00
Christian Bundy 82e74da571
Add stylelint-config-standard for more opinionated CSS 2019-09-25 19:07:38 -07:00
Christian Bundy d91969365d
Add stylelint to ensure CSS styles aren't broken 2019-09-25 19:05:41 -07:00
Christian Bundy 8a66f7647f
Change textarea to increase height on `:focus` 2019-09-25 18:39:30 -07:00
Christian Bundy aa8e0780f3
Remove option to publicly reply to private messages 2019-09-25 13:13:26 -07:00
Christian Bundy face906558
Change public view to contain compose form 2019-09-25 12:48:44 -07:00
Christian Bundy 6442e1b87c
Fix `<body>` margin on low-width screens 2019-09-25 12:35:45 -07:00
Christian Bundy f233ec7b02
Change <pre> styles to lighter background 2019-09-24 15:06:58 -07:00
Christian Bundy b6c4d202f3
Fix Markdown mention code by removing new styles 2019-09-24 15:04:04 -07:00
Christian Bundy 7ebc63eb7f
Change <pre> styles for legibility 2019-09-24 14:51:15 -07:00
Christian Bundy eb9aba026c
Change <nav> margin size for better spacing 2019-09-24 13:54:53 -07:00
Christian Bundy 5d8560f881
Refactor nav into unordered list 2019-09-19 13:31:47 -07:00
Christian Bundy 9d60e2aabc
Add maximum image height for 4:3 ratio 2019-09-16 18:10:49 -07:00
Christian Bundy 100dd781f2
Add more details to content warning colors 2019-08-14 19:07:40 -07:00
Christian Bundy 27f237ce75
Add placeholder image for missing avatars 2019-08-14 14:54:26 -07:00
Christian Bundy f5962ad117
Add auto-filled value for reply textarea 2019-08-14 12:59:08 -07:00
Christian Bundy d8001e6d76
Add mentions to message and Markdown to profiles 2019-08-14 11:44:25 -07:00
Christian Bundy 0997a3b5b3
Change cursor when hovering over `<summary>` 2019-08-13 14:31:51 -07:00
Christian Bundy 243c0ac14c
Add support for content warnings 2019-08-13 13:53:11 -07:00
Christian Bundy d6f4959ec9
Add simple reply mechanism for basic replies 2019-08-07 18:49:23 -07:00
Christian Bundy b8384eea68
Add links to reply and reply all pages 2019-08-06 19:44:09 -07:00
Christian Bundy c91b74eb8f
Refactor directories, add docs, fix profile header 2019-07-02 20:52:49 -07:00
Christian Bundy 29629945ee
Change blockquote style to reduce vertical space 2019-06-30 13:44:36 -07:00
Christian Bundy 888d0152d6
Change message stroke width to be smaller 2019-06-30 13:08:53 -07:00
Christian Bundy da61a18ccc
Change styles and restyle with CSS variables 2019-06-30 12:59:32 -07:00
Christian Bundy 82a96c4644
Fix inconsistent body width 2019-06-29 14:19:25 -07:00
Christian Bundy dfe3a2eb8e
Fix accessibility issues found with crawler 2019-06-29 13:24:44 -07:00
Christian Bundy 57ec8355b7
Add highlight for thread "target"
I don't think "target" is the right word to use, but when you click a
message and you're taken to the thread I think it's useful to actually
highlight which message you selected.
2019-06-29 12:06:47 -07:00
Christian Bundy e803b4486b
Change link redirect to center messsage footer
Previously when you liked a post it would redirect you back to the
previous page with the top of the post at the top of the screen. This
was jarring and weird and I didn't like it at all.

This change makes it so that the footer of the message you liked
appears in the center of the screen, which is (in my experience) much
closer to where it usually is when you click the like button.

Before: when you click the like button the scroll resets so the top of the
message is at the top of the screen.

After: when you click the like button the scroll resets so that the footer of
the message is in the center of the screen.

Wanted: a way to redirect back to the original page *without* resetting the
scroll position.
2019-06-29 11:21:26 -07:00
Christian Bundy 01b4a54954
Add spartan status page for simple debugging 2019-06-28 19:55:36 -07:00
Christian Bundy 02e1d9dd7b
Add nested replies to thread view 2019-06-28 13:55:05 -07:00
Christian Bundy 87969f1c6d
Refactor `<ol>` and `<ol>` left padding 2019-06-27 19:41:33 -07:00
Christian Bundy 400477d5c1
Refactor dependency graph to create layers
I was playing around with Madge and noticed that the previous dependency
graph looked almost *exactly* like a bowl of spaghetti I had last week.
After a few hours on Wikipedia I got interested in refactoring the code
so that each `require()` imported a module from one level deeper into
the tree.

I don't know if this is actually useful, but it's better than spaghetti.

In the future I think I should probably refactor the database
convenience functions out of the "models" since they really aren't
models but it's the best name I could come up with for what they are and
how they're used. This will probably go through some more evolution when
I rip out EJS and replace it with something much smaller.
2019-06-26 22:25:13 -07:00