-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
JamesKoenig edited this page Feb 9, 2021
·
4 revisions
| URI Pattern | Description |
|---|---|
/ (when signed out) |
signup/sign in (Splash) |
/ (when signed in) |
user's feed |
- feed uses
FeedIndexto map the feed items into a scrolling date ordered stream-
FeedIndexItemis either a post or a notif (e.g. of a like)-
PostIndexItemis the render for a post object -
LikeIndexItemwill be the container for a like notification
-
-
| URI Pattern | Description |
|---|---|
/login |
login form |
/signup |
sign up form (adds a user) |
- uses
SessionForm
| URI Pattern | Description | component/container name |
|---|---|---|
/post/:postId |
a post's show page | PostShow |
/post/new |
create new post form | PostForm |
/post/:postId/edit |
edit post form | EditPostForm |
-
EditPostFormis a wrapped version ofPostFormwith the relevant information added -
PostShowwill render anPostInteractionslist-
PostInteracitonswill renderLikeIndexItems of likes of the current post
-
-
ReblogIndexItemcreated and added to:FeedIndexItem- this can likely be a wrapped version of
PostIndexItemsince it displays the same information + that it's a reblog
- this can likely be a wrapped version of
-
ReblogNotificationItemcreated and added to:-
PostShow(where the reblog is of the post) -
FeedIndexItem(a little notification for the reblog author)
-