Commit Graph

62 Commits

Author SHA1 Message Date
Xinrui Chen d2e381ae8b merge 2022-10-09 18:21:26 -07:00
Xinrui Chen 4d3bb8edd4
added mobile layout (#68) 2022-10-09 17:53:45 -07:00
Xinrui Chen 2101b2a416
Move State out of Helpers (#65) 2022-09-04 14:15:15 -07:00
Xinrui Chen 5d43a1186d
Update Helper Functions (#63)
- adjusted filter fns and added ci
2022-09-03 19:43:36 -07:00
Xinrui Chen 0279675828
changed padding for more density (#61) 2022-08-14 21:27:26 -07:00
Xinrui Chen cc061f851c
Unit Tests for Parse, Filters Helpers (#60)
* added test for filters

* test for `parse` function

* adjusted test

* updated comments for better autocomplete
2022-08-14 21:27:12 -07:00
Zane Schaffer b939d9e51c
refactor: change writeable stores to readable (#59) 2022-08-08 19:47:58 -07:00
Xinrui Chen f2b9b8f2f9
addFields (#57)
* update: added manufacturer and url fields to ts

* feat: added link to product title, updated dithering fx
2022-07-24 10:43:58 -07:00
Xinrui Chen ddbbf8ed0d update: changed dither to use gif 2022-07-24 07:36:46 -07:00
Xinrui Chen 95fdfc8144 update: changed all hover styles to blue dither 2022-07-23 18:29:00 -07:00
Xinrui Chen c15d16abed update: adjusted js to ts import 2022-07-23 16:43:56 -07:00
Xinrui Chen 0df3d21813 update: types added for `index.ts`, `stores.ts`
Co-authored-by: Zane Schaffer <mail@zane.wiki>
2022-07-23 16:41:38 -07:00
Xinrui Chen aff6ee2d4e update: added `Image`, `Emotion` type 2022-07-23 16:35:12 -07:00
Xinrui Chen d763155ebf update: accurate types for tag & rating refs 2022-07-23 16:04:43 -07:00
Xinrui Chen 82bbf9a21c update: param, toProduct helpers typed 2022-07-23 15:36:35 -07:00
Xinrui Chen a015bfcda4 Merge branch 'dev' of https://github.com/zschaffer/rating-room into typing 2022-07-22 15:17:33 -07:00
Xinrui Chen 2fab2aed86 feat: moved filters into stores, adjusted filter setting for defaults with structured clone 2022-07-22 13:23:30 -07:00
Zane Schaffer 9bb2689989 Merge branch 'dev' into 23-implement-unit-testing-helper-functions 2022-07-22 12:11:47 -07:00
Xinrui Chen 23adceeca2 feat: added types folder 2022-07-22 11:56:12 -07:00
Xinrui Chen e9538c5776 Cleaned up `index.svelte` and condensed helper functions 2022-07-20 22:15:43 -07:00
Xinrui Chen 8b24676720 Added favicon closes #24 2022-07-20 17:21:25 -07:00
Xinrui Chen b72b578253 styles: adjust feature styling 2022-07-20 14:55:26 -07:00
Xinrui Chen 0f216c9073 update: refactored `toProduct` function and added docs 2022-07-20 10:46:04 -07:00
Xinrui Chen 2a999137f5 fix: adjusted products store to productsView for prev next nav 2022-07-19 16:58:29 -07:00
Xinrui Chen b8ecf536d9 feat: navigation for prev/next with parameter updating 2022-07-19 16:39:56 -07:00
Xinrui Chen 45e73d4cca feat: update dependancy 2022-07-19 15:33:11 -07:00
Xinrui Chen f379400b6b Added mui icon dependancy 2022-07-19 15:21:23 -07:00
Zane Schaffer 033ae2ffe0 test(helpers/getavgrating): full coverage unit tests 2022-07-19 13:17:46 -07:00
Zane Schaffer 2fbde8cf3f test: create basic testing framework
Setup configuration for Vitest

BREAKING CHANGE: vite.config.js updated - needs to be pulled
2022-07-19 12:50:23 -07:00
Xinrui Chen 66621c21df style: header now set to sticky 2022-07-19 12:27:39 -07:00
Zane Schaffer b4f8ae3f0f fix: change vite version to 3 for playwright
Playwright requires Vite 3, previously we were using Vite 2. Package.json updated accordingly
2022-07-19 08:43:42 -07:00
Xinrui Chen 62948e2068 Emotion images render on ratings page and rating box is always 100% of screen width 2022-07-18 15:51:43 -07:00
Xinrui Chen 71c467f5b4 Added an initial redirect on page load 2022-07-18 11:45:43 -07:00
Xinrui Chen 71d9b4a84b Adjusted product hover styles 2022-07-17 21:13:16 -07:00
Xinrui Chen 1ec7949382 Bugfix Image scaling 2022-07-17 20:15:27 -07:00
Xinrui Chen f981ee3867 Removed console log 2022-07-17 19:08:51 -07:00
Xinrui Chen b430db62b2
Merge pull request #9 from zschaffer/productView
productView
2022-07-17 19:05:07 -07:00
Xinrui Chen 5fae7f05c1 Working comments and placeholder for emotion images 2022-07-17 19:03:21 -07:00
Xinrui Chen 898285165c emotions are now saved in stores 2022-07-17 18:42:17 -07:00
Xinrui Chen 8b91a157cf Added ref to tag mapping 2022-07-17 18:25:32 -07:00
Xinrui Chen 67cffbacf6 Added title, tags, description, date created to product view 2022-07-17 18:12:02 -07:00
Xinrui Chen 0e1e631e43 Adjusted split scrolling 2022-07-17 17:18:22 -07:00
Xinrui Chen 1cbe0758c1 Adjusted helper functions to call from single index file 2022-07-14 08:47:59 -07:00
Xinrui Chen cafb35108a State handler for navigating with forward and back button added 2022-07-13 22:28:44 -07:00
Xinrui Chen da710538d3 Changed slug routes to query params 2022-07-13 21:57:06 -07:00
Xinrui Chen 60bf2d640a Adjusted filter to bind value properly 2022-07-11 13:49:01 -07:00
Xinrui Chen 7b2bd39470 Made not-found page for missing slug and normalized inputs 2022-07-11 10:04:45 -07:00
Zane Schaffer b27b8725be use product name for sidebar links 2022-07-11 09:34:55 -07:00
Zane Schaffer 161a016527 fix Feature import 2022-07-11 09:32:58 -07:00
Zane Schaffer 3f1d39e20e Merge remote-tracking branch 'origin/credits' into dev 2022-07-11 09:30:50 -07:00