Testing implementation details can make refactoring easier... sometimes

We take a look at using the Erlang trace module to test some specifics that would otherwise be hard to extract.

Note: This is the launch of my blog, and it’s a backend dev’s first attempt at a blog platform from scratch (Phoenix and NimblePublisher). There’s bound to be bugs, and especially UI problems. Please bear with me and let me know if you have any feedback. :smiley:

4 Likes

The usual design feedback, in decreasing order of importance:

  • Article content being off-center is annoying, either shrink the max body width (max-width-7xl) or center the article horizontally in the container if you want the nav/footer to be wider.
  • Font size is too big, bring it back down to 1rem/16px (1.25 is way too much for body text)
  • The tags need a gap, they’re touching
  • Tags might look better with a border, and maybe capitalize them (you can actually do this in CSS)
  • The zigzag with the date/tags is bothering me, probably just put them in a row together (justify-between)
  • The date could be deemphasized - maybe gray and weight-medium, or smaller
  • The image is begging for rounded corners - straight corners are fine if it’s consistent but it isn’t (code blocks)
  • The refs under the code blocks have too much of a gap, I know it’s the blocks but you can give it negative margin-top or something. Also italicize them, probably
  • All posts return link is slightly too close to the image, and should probably also be gray/bold to make it look less like text and more like a control (play with it)
  • Halve that gap between “Home” and “Blog” in the nav, and maybe try semibold there
  • Lower the vertical padding on the footer and maybe slightly on the navbar too

Home page:

  • Articles have no top padding so they touch the separator
  • “Posts” header needs more emphasis, bump font size and maybe bold
  • Tags have too much gap, cut it in half (and lend some to the article page tags, they need it!)

Other than that it looks good to me. If you make all those changes everything will look fairly professional I think.

P.S. Would love to read more blog posts about ecto_fdb :slight_smile:

3 Likes

Wow thank you so much for taking the time to give all this valuable feedback. I really appreciate it! I’ll get to work :grinning_face:

1 Like