-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpseudo-code.txxt.js
More file actions
69 lines (57 loc) · 2.21 KB
/
pseudo-code.txxt.js
File metadata and controls
69 lines (57 loc) · 2.21 KB
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
//next:
//mostly refactored, but need to be able to set duration variable dynamically as a prop from Card component
//refactor with Hooks according to diagram in notebook
//lots of this is undefined, may need to look over course more
//next:
// get play Functionality with setInterval()
// Hooks?
// get clearInterval()
//next:Play pause stop buttons
//xSplit Card into smaller components
//xxmake if statement for play pause button
//Data holds times, and is passed down as state
//Countdown function can be an event handler triggered by play button
//Renders to timer display
//Parent Component (Flex container)
//Card Component
//Timer display
//Time selector (25-50)
//xxPlay pause button
//xxStop button
//Work Journal display
//max width and overflow auto?
//input for work journal
//Work end function
//Display alert that asks if you want to extend
//if yes, go to work extension card
//If no, ask break time
//Go to break card
//Work extension
//Copy of work card, with chosen time
//Create break Card component
//Time-selector (5-10-15)
//Display notes
//Habit tracker input sets Title of Work card
//Break ends, push Card to cardHistory list
//cardHistory List
//25/50 card
//Create 25 min card with timer
//Timer holds a button that can trigger a dropdown, which will change the amount of time
//Start timer triggers timer
//If timer gets to 0, ask if want to extend (5 min snooze)
//if yes, fade it out, and bring the next one up
//If no, next slide will ask how long next block will be
//During timer, display input field
//Start timer, take a timestamp
//notes go to list above input field
//Break block
//input field is transformed to habit tracker input, character limited
//display notes with timestamp at top
//save for next 25/50 block
//Input to field is displayed as a header to notes
//At end, play sound, alert
//At end ask if you want to extend
//If no, next slide will ask how long next block will be
//Playlist
//Display playlist on side when asking to extend
//Show position in playlist