-
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
FeedIndex
to map the feed items into a scrolling date ordered stream-
FeedIndexItem
is either a post or a notif (e.g. of a like)-
PostIndexItem
is the render for a post object -
LikeIndexItem
will 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 |
-
EditPostForm
is a wrapped version ofPostForm
with the relevant information added -
PostShow
will render anPostInteractions
list-
PostInteracitons
will renderLikeIndexItem
s of likes of the current post
-
-
ReblogIndexItem
created and added to:FeedIndexItem
- this can likely be a wrapped version of
PostIndexItem
since it displays the same information + that it's a reblog
- this can likely be a wrapped version of
-
ReblogNotificationItem
created and added to:-
PostShow
(where the reblog is of the post) -
FeedIndexItem
(a little notification for the reblog author)
-