Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make minimum app #3

Draft
wants to merge 47 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
478e0d5
Add Report composenent
tanacchi Sep 8, 2021
5f1d799
Show status of task
tanacchi Sep 8, 2021
0604c12
Split files by TaskList and Task
tanacchi Sep 8, 2021
66e65e8
Add task status toggler
tanacchi Sep 8, 2021
36b45e4
Use store for tasks
tanacchi Sep 8, 2021
0d93ac3
Add list of dones and undones
tanacchi Sep 8, 2021
5e62633
Refactor tasks
tanacchi Sep 8, 2021
c409b31
Change idx => id
tanacchi Sep 8, 2021
c1e0242
Add other input form to Report page
tanacchi Sep 12, 2021
6485daa
Add today's date on top
tanacchi Sep 12, 2021
97262f3
Add nested structure for task list
tanacchi Sep 12, 2021
031c00c
Add new input form to add children of task
tanacchi Sep 12, 2021
826f694
Change to toggle status on only icon clicked
tanacchi Sep 12, 2021
ea4cc9c
Toggle new children form by click
tanacchi Sep 12, 2021
4fee523
Remove default aim ("ahi")
tanacchi Sep 14, 2021
065e63b
Hide children task form when form focused out
tanacchi Sep 14, 2021
c84478f
Handle drag start event for Task
tanacchi Sep 14, 2021
30e5cc3
Add handler for all Drag&Drop event
tanacchi Sep 14, 2021
f67b335
Swap sequence of task list by Drag and Drop
tanacchi Sep 14, 2021
16a8a19
Update taskList on store by swapping
tanacchi Sep 14, 2021
4fff13e
Ignore config files for firebase
tanacchi Sep 15, 2021
535ed7d
Add dependencies about firebase
tanacchi Sep 15, 2021
78f0436
Init firebase app on App.svelte
tanacchi Sep 15, 2021
8f498b3
Use sveltefire module for firebase
tanacchi Sep 15, 2021
82fb16a
Setup firebase workspace
tanacchi Sep 15, 2021
32fe562
Init firebase app and firestore on firebase.js
tanacchi Sep 21, 2021
d7850f9
Success to add data to firestore
tanacchi Sep 21, 2021
0d62ed9
Implement anonymous signin / signout
tanacchi Sep 22, 2021
b37e1a0
Render Report component when logged in
tanacchi Sep 22, 2021
454a9f8
Create taskList instance on Report component
tanacchi Sep 22, 2021
27f11a1
Move date formatter to utils.js
tanacchi Sep 22, 2021
b0e8357
Save task datta when new task added
tanacchi Sep 22, 2021
04b3aaf
Authenticate with GitHub account
tanacchi Sep 25, 2021
5cdbb66
Fetch task data from firebase
tanacchi Sep 25, 2021
3e8e65b
Set initial value of tasks if data not found
tanacchi Sep 28, 2021
bfe0b5a
Update db when tasks state toggled or order changed
tanacchi Sep 28, 2021
aa73bab
Add dependencies of dotenv
tanacchi Sep 28, 2021
47060bb
Remove sveltefire
tanacchi Sep 28, 2021
e2e8134
[TMP] Disable Github Actions
tanacchi Sep 28, 2021
cacb6bf
Merge pull request #2 from prochart2/connect-to-firebase
tanacchi Sep 28, 2021
55f4d7e
Add packages of svelte-routing
tanacchi Sep 28, 2021
a6537d2
Add routing settings on App.svelte
tanacchi Sep 28, 2021
c3ffeff
Get date string on argument of Report
tanacchi Sep 28, 2021
cbe047d
Add list of dialy on top page
tanacchi Sep 28, 2021
06fbe6d
Replace tab to 4 spaces
tanacchi Sep 29, 2021
08a10db
Add back button
tanacchi Sep 29, 2021
4c790fe
Merge pull request #4 from prochart2/add-dialy-list-page
tanacchi Sep 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,21 @@ tags
[._]*.un~

# End of https://www.toptal.com/developers/gitignore/api/macos,vim,node,linux


# Firebase config
*/firebaseConfig.js

# Created by https://www.toptal.com/developers/gitignore/api/firebase
# Edit at https://www.toptal.com/developers/gitignore?templates=firebase

### Firebase ###
.idea
**/node_modules/*
**/.firebaserc

### Firebase Patch ###
.runtimeconfig.json
.firebase/

# End of https://www.toptal.com/developers/gitignore/api/firebase
20 changes: 20 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
4 changes: 4 additions & 0 deletions firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"indexes": [],
"fieldOverrides": []
}
9 changes: 9 additions & 0 deletions firestore.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if
request.time < timestamp.date(2021, 10, 15);
}
}
}
Loading