Commit graph

629 commits

Author SHA1 Message Date
Roman Cervantes
ee3a79f119 removed unnecessary and incorrect syntax 2019-12-17 23:26:57 -07:00
Roman Cervantes
39cbf23a81
Game progress clean up (#162)
* Remove bus event for progresses

* Remove progress pie for now

* Progress mutations

* progress actions

* Additional translations

* Fix indentation

* Update getter to get value from platform-specific progress

* Modal clean up, make close button fixed always

* update sort logic to get values from platform-specific

* Use native progress element for view only

* Removed completed todo

* Added desktop media query

* Added todo to sync notes and progresses

* Cleaned up gameProgress component

* Todo

* Show progress on top and button next to other actions

* remove deprecated hollow button class

* Update accent color for default theme

* Cleaned up gameCardGrid a bit

* linter fix

* removed computed prop

* Fix typo

* space out actions

* null check
2019-12-17 22:47:35 -07:00
Patrick Kontschak
b01a2da74b don't show drag icons if sorting is enabled (#156)
* don't show drag icons if sorting is enabled

Sorting overwrites the dragging order. Therefore the drag icons should only be visible if sorting is disabled.

* reverse initial attempt

* Add custom sort icons

* use `sort-amount-down` as default

* Linting

* params are kebab case

it's a ~~Jersey~~Vue thing
2019-12-17 09:30:59 -07:00
Patrick Kontschak
d2a3f78942 Add Progress (WIP) (#152)
* Copy GameNotes and use it as boilerplate

* Save and display progress data

* Save and display progress data

* Mobile adjustments and add label

* Mobile adjustments and add label

* save progress as integer

* Add sorting by progress

* Display progress on select GameCards

* Fix `progress()` return

* Reduce amount of props

* Copy change

* remove unnecessary check

* use `input[type=range]`

* remove unnecessary check

* Add progress-pie in the Grid view

Credit goes to @oliviale for her lovely CSS progress pie

* Save and display progress data

* Add progress-pie in the Grid view

Credit goes to @oliviale for her lovely CSS progress pie

* fix rebase conflict

* add translation

* Fixed merge conflict typo
2019-12-16 22:05:35 -07:00
Roman Cervantes
cce8aa2fed
Grid view placeholder (#161) 2019-12-16 21:54:31 -07:00
Roman Cervantes
9a44c58c52
Fixed move lists functionality (#159) 2019-12-16 14:43:45 -07:00
Roman Cervantes
b3cfa56cf2 Track drag status via store 2019-12-16 12:05:52 -07:00
Roman Cervantes
2c1d24d201 Disable snap scroll when dragging 2019-12-16 11:46:46 -07:00
Roman Cervantes
8b083058e1 Add fallback rules for older browsers, clean up a bit 2019-12-16 11:24:39 -07:00
Roman Cervantes
6419d3403a Disable snap scroll until chrome mobile is fixed 2019-12-16 11:07:05 -07:00
Roman Cervantes
b3590036bd
Move game rating class logic from template to method (#154) 2019-12-14 23:13:21 -07:00
Roman Cervantes
2024b13f34
Added blur and grayscale effect to modal (#155) 2019-12-14 23:09:09 -07:00
Roman Cervantes
31f3ca14f8 Use primary text for igdb credit 2019-12-14 22:15:44 -07:00
Patrick Kontschak
c7b47871f7 Grid and Masonry (#150) 2019-12-14 21:32:40 -07:00
Patrick Kontschak
c1e068348a Display empty stars for a better UX (#153)
I wanted to add this commit to a bigger branch where I would add custom rating and display that alongside the IGDB rating.

But with #152 not working as intended I'm fairly certain I'm gonna fall into the same problem with this feature, so I'll wait until there's a solution.
2019-12-14 17:37:36 -07:00
Patrick Kontschak
1aa618ca4b Input focus (#146)
* add focusInput functions

`autofocus` on inputs doesn't seem to work. So I manually set `focus()` whenever `open()`/`clear()`/`reset()` is called.

* set focus to searchInput after adding a game (WIP)

I know too little about Vue.js, but I'm certain that it's a bad practice to look 2 parents up to find the `searchInput` ref. Either the ref needs to be added to its children or `focusInput()` needs to be added to `GameCard.js` to use as a mixin.

* linting

* remove unnecessary if statements

* remove comments
2019-12-14 17:34:27 -07:00
Patrick Kontschak
ec62706b02 Add scroll-snap for mobile view (#147)
Mobile view is a bit icky to navigate.

I'm planning to work on an app-like mobile styling. But for now this would make it already a lot less annoying to use on mobile.
2019-12-14 14:38:33 -07:00
Roman Cervantes
561df1af27 clean up 2019-12-13 16:53:38 -07:00
Roman Cervantes
8d69fd428c Added sorting and filtering 2019-12-13 16:50:30 -07:00
Roman Cervantes
02d2584317 Renamed platforms footer component 2019-12-13 11:15:36 -07:00
Roman Cervantes
da4891c5b3 Igdb style refresh 2019-12-13 11:15:14 -07:00
Roman Cervantes
4450e8186b Prevent x overflow 2019-12-13 10:35:57 -07:00
Roman Cervantes
dadcb2dc4c Added platform release year 2019-12-13 10:26:26 -07:00
Roman Cervantes
a32204ef7e prompt to add list for new collections 2019-12-13 00:07:15 -07:00
Roman Cervantes
e1658cd2cb Always show avatar 2019-12-12 23:59:08 -07:00
Roman Cervantes
0fe86385ff Added alternate view to platforms page 2019-12-12 23:53:37 -07:00
Roman Cervantes
bc76ad90d1 Fixed indentation 2019-12-03 15:50:05 -07:00
Roman Cervantes
510c9f48a4 Game notes adjustments 2019-12-03 15:49:18 -07:00
Roman Cervantes
6c220abce4 Refactor game notes 2019-12-03 15:18:13 -07:00
Roman Cervantes
c43e531fcf Hide rating if no rating available 2019-12-03 14:21:50 -07:00
Roman Cervantes
aa3c3fc57d Moved save tags to actions 2019-12-03 11:26:19 -07:00
Roman Cervantes
bd12734bc6 Don't center align game covers on wide card 2019-12-02 15:23:39 -07:00
Roman Cervantes
3ab77f8d17 Show game actions right away 2019-12-02 12:13:07 -07:00
Roman Cervantes
2cdf0d9465 Auto save settings 2019-12-02 11:49:34 -07:00
Roman Cervantes
95838d19cc Auto save list settings 2019-12-02 11:46:28 -07:00
Roman Cervantes
25299e7d03 Remove no longer used style prop 2019-12-02 11:34:02 -07:00
Roman Cervantes
5a26667d35 Wallpaper text update 2019-12-02 11:21:23 -07:00
Roman Cervantes
12abc36e4f Removed old code 2019-12-02 11:21:06 -07:00
Roman Cervantes
59dd9cc78e Make show game ratings setting list-specific 2019-12-02 11:20:58 -07:00
Roman Cervantes
68ef0e0fcb Added pseudo-stroke to header text 2019-11-27 20:31:58 -07:00
Roman Cervantes
0f60a4d367 TODO 2019-11-26 14:37:10 -07:00
Roman Cervantes
90c837b348 round placeholder 2019-11-26 14:35:00 -07:00
Roman Cervantes
c157cf9e21 Added space between tags in game cards 2019-11-26 14:34:53 -07:00
Roman Cervantes
c21bb5d81e Remove mapGetter imporst 2019-11-26 14:29:15 -07:00
Roman Cervantes
9aa6a338a0 Remove obsolete code referencing brandingEnabled 2019-11-25 22:47:22 -07:00
Roman Cervantes
ce1122e337 linter fix 2019-11-22 22:45:56 -07:00
Roman Cervantes
f81b8c86ac Removed unused stuff 2019-11-22 22:45:08 -07:00
Roman Cervantes
6adf9e126c Replaced tag color picker 2019-11-22 22:43:57 -07:00
Roman Cervantes
4d46a44f0a Handle extra long list names 2019-11-22 11:57:41 -07:00
Roman Cervantes
f76c7fd03b null check 2019-11-21 16:04:37 -07:00
Roman Cervantes
b8c5c09fb0 Apply tag modal 2019-11-21 15:56:26 -07:00
Roman Cervantes
e2a1ce0865 apply tag modal clean up 2019-11-21 15:26:33 -07:00
Roman Cervantes
d767675995 Removed one more todo 2019-11-21 15:23:51 -07:00
Roman Cervantes
e8a87eb09d removed more todos 2019-11-21 15:23:07 -07:00
Roman Cervantes
5a9b155c11 use computed prop for search icon 2019-11-21 15:22:02 -07:00
Roman Cervantes
738050038f Fix search weirdness 2019-11-21 15:19:49 -07:00
Roman Cervantes
359fea6556 Removed todo 2019-11-21 15:19:29 -07:00
Roman Cervantes
661a286cec Moved game notes component 2019-11-21 15:13:01 -07:00
Roman Cervantes
065ea3a574 More renaming 2019-11-21 15:10:52 -07:00
Roman Cervantes
64dea33d1e Renamed listSettings component 2019-11-21 15:09:35 -07:00
Roman Cervantes
b1ca8c86d9 Rename addGame component 2019-11-21 15:08:49 -07:00
Roman Cervantes
37a0692783 Gameboard clean up 2019-11-21 15:06:14 -07:00
Roman Cervantes
652cf28b99 Game card default clean up 2019-11-21 14:52:24 -07:00
Roman Cervantes
d5d1a14035 Moved tag component to tags folder 2019-11-21 14:50:10 -07:00
Roman Cervantes
360437e658 Null check 2019-11-21 14:44:59 -07:00
Roman Cervantes
e9a5a05f64 Move apply tag modal to its own component 2019-11-21 14:44:51 -07:00
Roman Cervantes
f2891a2a46 Rename tags settings component 2019-11-21 14:29:07 -07:00
Roman Cervantes
0a240c31ab Game links tweaks 2019-11-21 14:26:29 -07:00
Roman Cervantes
f18a147fcc Game modal tweaks 2019-11-21 14:25:17 -07:00
Roman Cervantes
9ed5cd2f9d Reposition tags 2019-11-21 14:20:55 -07:00
Roman Cervantes
dfd908b956 Linter fixes 2019-11-21 13:52:18 -07:00
Roman Cervantes
02ddb5cb83 Move game description to its own component and clamp extra long text 2019-11-21 13:49:58 -07:00
Roman Cervantes
2855955172 Moved game tags to separate component 2019-11-21 12:33:00 -07:00
Roman Cervantes
3ba351d13a hasTags getter 2019-11-21 12:32:41 -07:00
Roman Cervantes
874e018b42 Platform exclusive tags and custom colors 2019-11-20 15:16:51 -07:00
Roman Cervantes
35bbb826f0 Fix tags not showing up 2019-11-19 18:50:25 -07:00
Roman Cervantes
1bf7883781 linter fix 2019-11-19 10:01:27 -07:00
Roman Cervantes
1156fd2b88 Correct gameList prop type 2019-11-14 14:25:05 -07:00
Roman Cervantes
a8585a7b6e restored old linter rules 2019-11-14 14:10:10 -07:00
Roman Cervantes
b151c20ee2 add default value to prop 2019-11-08 13:36:33 -07:00
Roman Cervantes
5fa43e8d2b Linter fixes 2019-11-08 13:34:06 -07:00
Roman Cervantes
10787e2bfc switch to 2 spaces 2019-11-08 12:56:03 -07:00
Roman Cervantes
e91b561236
Firebase cleanup (#144) 2019-11-04 15:08:30 -07:00
Roman Cervantes
acfb9fa055 Show theme dropdown, comment out themes that aren't ready 2019-11-04 11:41:43 -07:00
Roman Cervantes
a00c732e4f Don't stretch single list for grid view 2019-11-04 10:44:16 -07:00
Roman Cervantes
d1cde20e68 Comment out new features 2019-10-31 15:08:48 -07:00
Roman Cervantes
4951759dc7 Get platform specific value for game rating 2019-10-31 15:04:36 -07:00
Roman Cervantes
43ab431ba1 Broke up todos 2019-10-21 09:43:30 -07:00
Roman Cervantes
65c9d0a8e4 Added todo 2019-10-21 09:41:14 -07:00
Roman Cervantes
5f7155c53a Set min height to text card to fix #141 2019-10-18 13:01:36 -07:00
Roman Cervantes
86396dd8c4 Moved save settings to actions 2019-10-18 11:15:09 -07:00
Roman Cervantes
3c5d76eb32 Game details clean up 2019-10-18 10:26:54 -07:00
Roman Cervantes
eded36efd8 Misc clean up and tweaks 2019-10-17 21:37:35 -07:00
Roman Cervantes
0bed1ffcb8 Only show settings in game board route 2019-10-17 21:37:12 -07:00
Roman Cervantes
ac266f3730 Modal clean up 2019-10-17 21:36:51 -07:00
Roman Cervantes
95a5d0c6d6 Renamed game search to add game 2019-10-17 21:36:45 -07:00
Roman Cervantes
6393d33cad Settings updates 2019-10-16 12:56:12 -07:00
Roman Cervantes
d5ccfc4d91 Improve list add 2019-10-16 12:55:22 -07:00
Roman Cervantes
968dc0a4f8 Game search UI tweaks 2019-10-16 12:54:43 -07:00
Roman Cervantes
af6fd408d1 Modal improvements 2019-10-16 12:39:40 -07:00
Roman Cervantes
c1e536faee Rename modal to overlay 2019-10-09 12:51:34 -07:00
Roman Cervantes
02a45d3636 Removed transparent wallpaper setting 2019-10-09 12:45:16 -07:00
Roman Cervantes
00c1465d9b Remove global theme 2019-10-09 12:27:12 -07:00
Roman Cervantes
d27ea1eac6 Themes support + clean up 2019-10-09 09:30:07 -07:00
Roman Cervantes
762d7550fc Remove shortkey for now 2019-10-07 14:58:21 -07:00
Roman Cervantes
43bfdf7fd9 restored delete list when empty 2019-10-06 07:09:02 -07:00
Roman Cervantes
219c5239b1 game card tweaks 2019-10-06 07:08:53 -07:00
Roman Cervantes
65f65dfd29 Show magic wand when list is being auto sorted 2019-10-05 22:52:11 -07:00
Roman Cervantes
b87de334c0 Commented out move list until fixed 2019-10-05 22:45:38 -07:00
Roman Cervantes
a10f2e696e Refactor list sort to use computed 2019-10-05 22:26:13 -07:00
Roman Cervantes
2fad16b9e1 Removed no longer used method 2019-10-05 22:25:56 -07:00
Roman Cervantes
b05634c45f Removed sort by release date 2019-10-05 22:25:46 -07:00
Roman Cervantes
5fd783bf93 clear list on open 2019-10-05 17:21:22 -07:00
Roman Cervantes
12a54ae8e2 linter fixes 2019-10-05 15:47:37 -07:00
Roman Cervantes
b699ef2fe4 Game search tweaks 2019-10-05 15:44:32 -07:00
Roman Cervantes
43010883f2 Moved list name edit to settings component 2019-10-05 14:47:16 -07:00
Roman Cervantes
c13d51b5fc Refactored list settings 2019-10-05 14:46:47 -07:00
Roman Cervantes
6555f0133d Removed settings import and clean up 2019-10-05 14:45:55 -07:00
Roman Cervantes
2a04ab6b33 Moved settings to all styles 2019-10-05 14:44:13 -07:00
Roman Cervantes
85884a1407 Removed list name edit component 2019-10-01 15:28:27 -07:00
Roman Cervantes
ca6ff559de Game search clean up 2019-10-01 15:26:41 -07:00
Roman Cervantes
1b666efe44 Moved add list to new component 2019-10-01 15:26:31 -07:00
Roman Cervantes
dca81475f5 Modal adjustments 2019-10-01 15:25:49 -07:00
Roman Cervantes
69f84cde50 Removed dev debug component 2019-10-01 15:23:25 -07:00
Roman Cervantes
79d73a6dfd Moved modal inside of settings component 2019-10-01 15:22:37 -07:00
Roman Cervantes
3ac791a070 Removed unused code 2019-09-30 20:50:45 -07:00
Roman Cervantes
f52c9bfa56 Moved add game class to computed prop 2019-09-30 20:50:36 -07:00
Roman Cervantes
d5529de1f4 Move search game stuff to component 2019-09-30 15:04:26 -07:00
Roman Cervantes
f3eb74f33c Make add game borders fit better with styles 2019-09-30 11:36:09 -07:00
Roman Cervantes
db51941422 Fix add game button in dark mode 2019-09-30 11:35:48 -07:00
Roman Cervantes
d97d17c572 Adjust search results height 2019-09-30 11:35:24 -07:00
Roman Cervantes
434c404be2 Remove extra line 2019-09-30 11:35:12 -07:00
Roman Cervantes
094a8858c3 Open game search in a modal 2019-09-30 11:31:07 -07:00
Roman Cervantes
8be6907db3 fix settings id 2019-09-29 09:51:58 -07:00
Roman Cervantes
7370754606 List UI tweaks 2019-09-29 09:48:14 -07:00
Roman Cervantes
add8e6fd7d game screenshots OCD update 2019-09-26 11:35:50 -07:00
Roman Cervantes
4a446c3d7e Game details UI updates 2019-09-26 11:33:30 -07:00
Roman Cervantes
959e597759 Clear search status when editing list 2019-09-26 11:21:08 -07:00
Roman Cervantes
0adb2bd91c hide upcoming features 2019-09-26 10:48:18 -07:00
Roman Cervantes
be80f91096 More modal tweaks for mobile 2019-09-25 15:36:31 -07:00
Roman Cervantes
e80d0d8b8b linter fix 2019-09-25 15:22:38 -07:00
Roman Cervantes
3a456d10dd show 2 platforms across on mobile 2019-09-25 15:20:42 -07:00
Roman Cervantes
e85dd71d7a moved template logic to method 2019-09-25 15:20:29 -07:00
Roman Cervantes
62b6532a65 Modal header tweaks 2019-09-25 15:15:26 -07:00
Roman Cervantes
79d945fb24 Settings updates 2019-09-25 14:57:05 -07:00
Roman Cervantes
6784a70ec4 Modal header updates 2019-09-25 14:56:38 -07:00
Roman Cervantes
52336b2388 Added todos for firebase calls 2019-09-23 13:03:30 -07:00
Roman Cervantes
00851f4c52 Remove bad css 2019-09-20 10:10:27 -07:00
Roman Cervantes
dec74005c8 Move additionals platform 2019-09-19 09:49:08 -07:00
Roman Cervantes
952b207b66 linter fix 2019-09-18 22:15:12 -07:00