···55## TODO
6677- [x] Sign up/sign in with Bluesky
88-- [ ] Maybe some design?
99-- [ ] Add site including verification
88+- [x] Maybe some design?
99+- [x] Add site including verification
1010- [ ] RSS poller
1111- [ ] standard.site document reader
1212- [ ] Post to Bluesky
+1-1
lib/annot_at/publishing.ex
···15151616 @spec list_sites(Scope.t()) :: [Site.t()]
1717 def list_sites(%Scope{user: %User{id: user_id}}) do
1818- Repo.all(from s in Site, where: s.user_id == ^user_id, order_by: [asc: s.inserted_at])
1818+ Repo.all(from s in Site, where: s.user_id == ^user_id, order_by: [desc: s.inserted_at])
1919 end
20202121 def get_site!(%Scope{user: %User{id: user_id}}, id) do
···3535 live_session :authenticated,
3636 on_mount: [{AnnotAtWeb.UserAuth, :require_authenticated}] do
3737 live "/dashboard", DashboardLive
3838+ live "/sites", SitesLive
3839 live "/sites/new", SiteNewLive
3940 live "/sites/:id", SiteLive
4041 end