-
Notifications
You must be signed in to change notification settings - Fork 0
/
punchList.txt
249 lines (218 loc) · 6.66 KB
/
punchList.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
✅ done, but needs to be tested
❌ finished
🔵 Primary focus
*****DOUBLE CHECK NOTHING IS ON THE WINDOW******
BEFORE SLEEP:
🔵 HAVE HEROKU RUNNING
SEED DB:
USERS/BLOGS
POSTS
🔵 finish/branch/seed the following
🔵 TAGS
🔵 FOLLOWS
STYLE
* everything
❌-css reset
❌-backgroundcolor done
❌-auth buttons done
post index ln: 8:9
add class and id's to h3s
* SEARCH BAR
-logo done
2c. welcome message before login/signup click
*resize and animate
DASHBOARD
...III. pull real nav icons for create post/ banner nav
USERS
🔵I. users/show.json
ln:1
✅ add blog association, profile to extract list
II. users_controller.rb
ln:9
❌* fix render/redirect on login
* route to explore on signup
🔵 III. UserShow/blog page
* {
✅ actions,
✅ reducer,
✅ controller,
✅ jbuilder,
✅ associations,
🔵 component }
🔵 IV. model
1. associations: follows,
--BONUS--
2. update profile_photo
3. update username
4. change password
V. components
❌ 1. blog_show_container
2. blog_show
2a. append modal.jsx
Splash/Greeting
❌ route to dashboard unless loggedout
🔵 * postCrossSection model with api functions for upkeep
🔵 * about scroll component
🔵 riff tumblr/ me about
❌ house login, signup,/ 2 versions each // bonus: explore
🔵 *** splash_container.jsx ln:6 import about, postCrossSection
❌1. app.jsx ln:25 splashContainer -> protected route
❌ loggedin -> null else splash
✅1a. splash_container.jsx
build showCase "top post"
mapstate: showCase: [posts]
mapdispatch: posts: fetchPosts => =>
❌ mapstate: CurrentUser: session.CurrentUser
❌ mapdispatch: openModal: modal => =>
2. splash.jsx
about component
❌2a. import auth button components,
2a. about on scroll down
2b. pick one of the showCase posts photoUrls
set 1 to main div background +1 to about div background
2c. welcome message before login/signup click
🔵MODAL
❌ I. auth splash
🔵 II. edit post
III. edit/show user/blog
❌IIIa. modal.jsx -> blog_show_container
🔵 IV. about splash
--BONUS--
V. Post zoom
VI. dashboard, on hover USER/BLOG preview component
BANNER
❌ ***figure out if/ how you can do a search bar***
❌ I. lumbr l-tree logo link
🔵 Ia. add search bar functionality
🔵 add or remove by end of day
🔵II. refactor sidebar to dropdown menu on signin ln:36
🔵 IIa. user/blog show link/
🔵 IIb. signout
IIc. all follows link
IId. edit user/blog/show
IIe. all followers
IIf. about modal link- also in footer
IIg. link to github- also in footer
--later linkdin
❌III. containerize login/signup
❌IIIa. import and route logic around currentpage/loggedin?
❌IIIb. render Auth forms and their buttons in modal
DASHBOARD
I. post-index mosaic
🔵II. Dry up/ compartmentalize create post nav
🔵III. pull real nav icons for create post/ banner nav
--bonus--
IV. posts at a glance side nav
POST
🔵 ** debug edit**
I. model
🔵 finish or remove by end of day
1. associations: tags, follows
II. postShow.jsx / postShow.jbuilder
* ref'd on ln:4;ln:17 post_controller.rb
* render postShow zoom in component
recievePost=> postReducer => entities => root
1. Finish postShow component diversification
1a. contentType switchcase on render
1b. original size / resize in index render
2. frontend/components/posts/post_zoom.jsx
2a. import postShow, openModal
🔵III. post_form -> Clean up render, add functionality
🔵IIIa. ln:34 finish attachTag
🔵add or remove by end of day
IIIb. addfollow toggle
🔵 add or remove code by end of day
IV.post_index_item
🔵IVa. add better alt profile photo
🔵IVb. match tumblr formatting
🔵 V. post_index -> clean up code, take in filter
VI. post_show -> refactor for zoom in
VI.a Add buttons:
🔵 edit
🔵 delete
like
follow
VI.b Add links
Authorshow
tags
source
***Semi-bonus: post_index mosaic
UI
🔵 Fix goofy Protected exact path /new situation
* app.jsx ln:29:34 /new should do
ref: https://reactrouter.com/web/api/match
ref: https://reactrouter.com/web/guides/quick-start
ref: https://reactrouter.com/web/api/location
I. Unify error messages
* log what is actually on tumblr
* smooth out the creases/ fail with grace
controllers:
post, ln:20;ln:30;ln:40
sesh, ln:12;ln:22
tags, tbd: ln:9;ln:15
users, ln:15;ln:31
follows, tbd
blogs, tbd
** frontend: take inventory **
log here as you break stuff :/
1.
/:
🔵 remove marker breakpoints by end of day
BACKEND assorted
🔵 ## reroute both backsplash and profile photo to defaults once up on AWS
* add index to blog table on id to user_id
🔵 - ask about making the blog table primary key the same as the user id that creates it
🔵 I. AWS Seed DB
* Users
* blogs
* profile pics
* Tags
* Posts
* Follows
II. refactor reducers
uiReducer
add modal, filters, loading boolean
** modal_container.jsx ln:6 -> modal: state.ui.modal
rootReducer.js
import uiReducer and replace modal
❌III. Dry up sessionForm.jsx
FOLLOWS
I. model
1a. associations,
II. controller,
Return a list of follows associated with:
1a. tag
1b. post
1c. user/blog
IIa. jbuilder,
1a. format/label lists appropriatly for application
III. follow_util, actions, reducer
1a.
fetchAllFollows(user)
//=> [...contentIds] returns contentIds of followed by user
fetchAllFollowers(contentId)
//=> [...userIds] returns all followers of individual content
addFollow(currentUserId, contentId)
//=> null, adds UserId to followers list,
removeFollow(currentUserId, contentId)
//=> null, removes UserId from followers list
1b. follows_reducer => entities => root
IV. components/ buttons
***BUILD 1 COMPONENT AND IMPORT INTO:
1a. post
onclick: follow/unfollow toggle
1b. user/blog
onclick: follow/unfollow toggle
1c. tag
onclick: follow/unfollow toggle
V. semi-bonus: filter,
--SEMI-BONUS--
TAGS ** FOCUS ONLY ONCE EVERYTHING ELSE IS DONE, EMULATE & REFACTOR FOLLOW ITEMS
I. model
1a. associations, validations, new(tag), tag_exists(tag), remove(tag)
II. controller
IIa. jbuilder
III. actions,
IV. semi-bonus: filter,
* search filter
* explore component