Skip to content

Latest commit

 

History

History
104 lines (99 loc) · 2.48 KB

kanban.md

File metadata and controls

104 lines (99 loc) · 2.48 KB

TODO

  • User Api
    • Register should return error if user already exists
    • feed should show following author articles...
  • Update dates in templates
  • Refactor to use structured errors
    • repo's should return raw error
    • services should return user facing errors
    • controllers should format error for templates
  • Refactor to Echo??

Doing

  • Get new/edit articles page
    • edit tags
    • /editor/slug - edit
      • Load article and prefill page
      • update links to patch
    • /editor - new
  • Get article page
    • delete if owner
    • Follow/Unfollow author
    • Favorite/Unfavorite article
    • comments
      • Get on load
      • mark if owner
    • delete comment if owner
    • /article/:slug

Done

  • test login/register
  • update header for authed user
  • Settings page
    • Get settings page
    • make errors dynamic
    • add post for form
    • add logout handler
    • Update settings
      • image
      • username
      • bio
      • email
      • password
  • Profile page
    • Get profile page
    • Make content live
    • link to settings
    • hide follow if own profile
    • show favorited articles
  • Home
    • Fix: home page should load articles
    • Load tags
  • Move to templ
    • move article edit to templ
    • Install
    • render to page
    • create render func
    • move settings to templ
    • move profile to templ
    • move article to templ
  • Articles Api
    • Filter articles
      • by author
      • Add tag
      • add favorites
    • Unfavorite
    • Insert tags
    • Get popular tags
  • Views
    • add banners
    • add error message on htmx 500
  • fix session stored alerts
  • Use fastHttp context in sql requests (this caused a lot of disk io issues with sqlite 🤷)
  • Add seed data import (use gofakeit)
    • add comments
    • add users
    • add articles
    • Add get route
    • return list of articles
    • add author details
    • Check if user is following article author
    • move createAt out of repo, into service
      • This should allow us to manipulate created at during seeding
  • Comments
    • API
      • create comment on article
      • delete comment from article
      • get articles by slug
    • Repo
      • create
      • read
        • by id
        • by author
        • by article
      • delete
    • Service
      • create
      • read
      • delete
      • mark if owner
  • Profile page
    • follow author