Commit Graph

181 Commits

Author SHA1 Message Date
Arthur Lu
8924540757 fix service worker inital cache items
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-12-01 16:48:15 -08:00
Kara Hoagland
e9bae6fe2d
Merge branch 'sprint-3' into filter-sort 2022-12-01 16:29:09 -08:00
Arthur Lu
cf7b0da5ad fix tests to match modified localStorage layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-12-01 16:25:15 -08:00
Kara Hoagland
3145a99e23 most recent if updated 2022-12-01 16:00:51 -08:00
Arthur Lu
730f904a58 fix style
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-12-01 22:32:50 +00:00
Arthur Lu
7cb90e23c0 add comments and docs to sw.js,
add service worker ADR
2022-12-01 08:37:49 +00:00
Arthur Lu
1ed46b8ade implement fix for strange first load cache behavior 2022-12-01 08:09:22 +00:00
Arthur Lu
d95f0036ac clean up some styling 2022-12-01 07:36:19 +00:00
Sanjit Joseph
df80486f45 Decrease create button size 2022-11-30 22:01:24 -08:00
Sanjit Joseph
e2b9c98176 Removed unusued plate art 2022-11-30 21:32:01 -08:00
Sanjit Joseph
be31dbfbd7 Style search bar 2022-11-30 18:09:09 -08:00
Sanjit Joseph
78f627b39d Change text from 'filtering method' to 'sorting method' 2022-11-30 18:02:07 -08:00
Sanjit Joseph
d964d1e275 Edit style for search bar 2022-11-30 18:01:33 -08:00
Sanjit Joseph
c09e82c6ab Move filter bar inline with search 2022-11-30 17:42:51 -08:00
Sanjit Joseph
f300c740c4 Move filter bar to separate div 2022-11-30 17:31:47 -08:00
Sanjit Joseph
79e7561beb Disallow dragging on invisible create button 2022-11-30 17:24:26 -08:00
Sanjit Joseph
18f79936fe Move create_button styling out of index.html 2022-11-30 17:21:03 -08:00
Sanjit Joseph
42a560ab0e Rename Grouppink (?) to create_button.png 2022-11-30 17:18:49 -08:00
Sanjit Joseph
18a3230ad7 Merge branch 'filter-sort' of https://github.com/cse110-fa22-group29/cse110-fa22-group29 into filter-sort 2022-11-30 17:12:36 -08:00
Sanjit Joseph
1347e3bbc1 Implement new create button 2022-11-30 17:11:57 -08:00
Sanjit Joseph
7b8fea9d67 Upload new create button 2022-11-30 17:11:39 -08:00
Arthur Lu
eb3133c676 fix ReviewCard.js element id issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-30 17:02:42 -08:00
Arthur Lu
11b152fec9 Merge branch 'filter-sort' of https://github.com/cse110-fa22-group29/cse110-fa22-group29 into filter-sort 2022-11-30 16:36:23 -08:00
Arthur Lu
64d57ffd90 fix review details html id consistency,
fix appTestHelpers with proper element selection

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-30 16:36:21 -08:00
Kara Hoagland
23bf3a2c84 fix create page tag duplicate 2022-11-30 16:35:45 -08:00
Arthur Lu
3580941207 Add functional service worker caching towards local first functionality,
fix favicon link issue in ReviewDetails.html
Co-authored-by: rheabhutada02 <rheabhutada02@users.noreply.github.com>

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-30 16:18:18 -08:00
Kara Hoagland
9bc5b5624b add clear search and no result 2022-11-30 16:11:42 -08:00
Arthur Lu
fa7b8dc7f5 add text break to Form.css
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-30 14:58:34 -08:00
Arthur Lu
5943a5c8ef update tests to match new tag and sorting helper prototypes,
remove getTopReviewsFromStorage and getReviewsByTag from localStorage and main

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-30 14:49:41 -08:00
Kara Hoagland
5621139dd7 added different filtering methods + load more btn 2022-11-30 02:49:49 -08:00
Kara Hoagland
a65b65d748 add tag search
add top rating sort
add star localstorage
2022-11-29 20:51:45 -08:00
Kara Hoagland
6a0708a3f0 moved break for delete 2022-11-29 14:27:48 -08:00
Kara Hoagland
1cdaa63935 delete tag bug 2022-11-29 14:16:17 -08:00
Kara Hoagland
847e8a1aa1 No tag duplicates 2022-11-28 18:48:55 -08:00
Kara Hoagland
5e06bd0cf7 Merge branch 'sprint-3' into separate-tag-storage 2022-11-27 20:34:12 -08:00
Kara Hoagland
dd0bcbe57d moved from details to localStorage 2022-11-27 17:31:13 -08:00
Kara Hoagland
1484a882b2 tag storage 2022-11-27 15:48:00 -08:00
Arthur Lu
f99cfd0eff fix tag vertical fitting issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 18:39:33 -08:00
Arthur Lu
a63552f32b fix ReviewCard css,
fixes article tag overflow issue,
should resolve #85

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 18:00:09 -08:00
Arthur Lu
ae2e14172d change #d-mealImg to #d-meal-img and #d-mealName to #d-meal-name
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 17:38:19 -08:00
Arthur Lu
af4378ee40 fix some linting issues,
fix bug in localStroage unit tests

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 16:06:24 -08:00
Arthur Lu
39aa535864 cleanup e2e test code
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 16:03:47 -08:00
Arthur Lu
9ff58a1c2c add sorting and filtering localStorage helper functions,
add new unit tests for new helper functions

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-26 15:37:48 -08:00
Sanjit Joseph
4c649e7770 Update favicon with current logo 2022-11-24 02:41:02 -08:00
Sanjit Joseph
5db9320dae Give the raccoon a chef's hat 2022-11-24 02:36:02 -08:00
Sanjit Joseph
b2dd734ade Add hover text to new entry button 2022-11-24 02:27:27 -08:00
Sanjit Joseph
622d324c9a Add rounded corners to food image element 2022-11-24 02:24:37 -08:00
Sanjit Joseph
5901888475 Add hover text to home/edit/delete buttons 2022-11-24 02:13:41 -08:00
Sanjit Joseph
de1ec502b1 Fix default image cropping issues + add caption 2022-11-23 18:04:09 -08:00
Sanjit Joseph
4832726b14 Update E2E tests to check for new default image 2022-11-23 17:22:23 -08:00