Commit graph

279 commits

Author SHA1 Message Date
Gamebrary
9a37c72ae7 refactor move list 2020-08-20 23:49:49 -07:00
Gamebrary
04a754258e refactor sort list 2020-08-20 23:49:19 -07:00
Gamebrary
bfde8534bc refactor add game 2020-08-20 23:12:51 -07:00
Gamebrary
07de00ce5b rename mutations as well 2020-08-18 15:01:16 -07:00
Gamebrary
1617fbc71a rename actions to differntiate between old/new 2020-08-18 14:35:32 -07:00
Gamebrary
c0c98476f1 remove size small 2020-08-17 09:11:21 -07:00
Gamebrary
83e1f9559e remove no longer used methods 2020-08-17 09:10:36 -07:00
Gamebrary
a9f566c945 make list empty state clickable 2020-08-14 23:52:47 -07:00
Gamebrary
40fa891b66 remove igdb logo from add game modal 2020-08-14 23:43:30 -07:00
Gamebrary
aa17351ae5 replace lodash debounce with bootstrap's built in, make search async 2020-08-14 23:43:20 -07:00
Gamebrary
667dc2d037 remove font awesome 2020-08-14 23:39:19 -07:00
Gamebrary
51c446bea8 replace entire lodash with subpackages 2020-08-14 23:34:39 -07:00
Gamebrary
10b21caa27 lots of stuff xD 2020-08-14 17:02:34 -07:00
Gamebrary
b43329813d move showgameCount to list tweaks 2020-08-14 17:02:17 -07:00
Gamebrary
db9b0e7f17 replace toasts with bootstrap's 2020-08-12 23:55:56 -07:00
Gamebrary
7368293aed updates 2020-08-11 16:39:11 -07:00
Gamebrary
ba351db6f7 bootstrap initial migration 2020-08-10 21:16:43 -07:00
Gamebrary dev team
f14a5fc3ef remove styles 2020-07-22 13:44:48 -07:00
gb
ba869a5f5d test 2020-07-22 13:09:23 -07:00
Gamebrary dev team
3b370448c9 update game search modal 2020-07-22 08:15:31 -07:00
Gamebrary dev team
8fbb257918 replace toggle switch 2020-07-21 15:54:39 -07:00
Gamebrary dev team
a439a21eb1 replace inputs 2020-07-21 15:08:22 -07:00
Gamebrary dev team
0241e894a8 replace custom buttons with bootstrap's 2020-07-21 13:49:29 -07:00
Patrick Kontschak
62b09311bb
[183] Show when an upcoming game is going to be released (#193)
* use moment.js to get the days until release

* add days until release to game info

* show release date in compact grid view

* show days until release on masonry items

* option to hide game info displayed on masonry cover

* option to hide days until release for each list

* add proper release text to text-based views

* add release dates to search

this is to avoid the TBA when adding a game to a list

* enable sorting for masonry items

* add "releases today" on day of release

* round up rather than down

this way the app won't tell people the game releases 12 hours before it does.

* assume games are released by 3pm on release day

* Show "Today" on release day.

* translation
2020-02-18 18:30:34 +01:00
Patrick Kontschak
e8b4ee2fb0
enable dragging for masonry items (#192) 2020-02-11 10:57:18 -07:00
Patrick Kontschak
b2a0e0a82d
option to hide game info displayed on cover (#191) 2020-02-11 10:56:13 -07:00
Patrick Kontschak
122f8c94f1
[183] Sort by release dates (#190) 2020-02-11 10:03:50 -07:00
Patrick Kontschak
7ee27c2702
Increase drag and drop area (#179) 2020-02-03 09:26:03 -07:00
Roman Cervantes
e73559fadd
null check (#178) 2020-01-28 09:51:52 -07:00
Patrick Kontschak
2a9f6c687d Display games with 100% progress as completed with a checkmark/badge (#173) 2020-01-28 09:41:50 -07:00
Roman Cervantes
6a7881a758 Remove z index from empty list placeholder 2020-01-23 10:54:38 -07:00
Roman Cervantes
c3ed432c07 Update empty list color 2020-01-22 12:11:15 -07:00
Roman Cervantes
1a6a1f35ef Improved empty state 2020-01-22 12:07:27 -07:00
Roman Cervantes
2ab0e7bd5a Cleaned up game search modal 2020-01-22 11:09:16 -07:00
Patrick Kontschak
b392112b54 Add advanced theme settings (#157)
* Add advanced theme settings

- header position
- border-radius
- list background
- amount of games next to list title
- settings section headlines

* Linting

* Linting: indent

* keep options consistent

switching from "hide this" and "display this" is bad UX.

* Hide number of games in lists by default

* reverse header position with css

* border-radius

* remove transparent background setting

this will be handled by themes

* only affect top/bottom settings on mobile
2020-01-22 09:39:16 -07:00
Patrick Kontschak
0ccee1c559 Give the save() function time to get all data (#174) 2020-01-21 22:24:43 -07:00
Roman Cervantes
2eb644ad2d Rename card component 2019-12-18 10:05:56 -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
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
Patrick Kontschak
c7b47871f7 Grid and Masonry (#150) 2019-12-14 21:32:40 -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
95838d19cc Auto save list settings 2019-12-02 11:46:28 -07:00
Roman Cervantes
59dd9cc78e Make show game ratings setting list-specific 2019-12-02 11:20:58 -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
4d46a44f0a Handle extra long list names 2019-11-22 11:57:41 -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
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
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
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
a00c732e4f Don't stretch single list for grid view 2019-11-04 10:44:16 -07:00
Roman Cervantes
eded36efd8 Misc clean up and tweaks 2019-10-17 21:37:35 -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
02a45d3636 Removed transparent wallpaper setting 2019-10-09 12:45:16 -07:00
Roman Cervantes
d27ea1eac6 Themes support + clean up 2019-10-09 09:30:07 -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
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
85884a1407 Removed list name edit component 2019-10-01 15:28:27 -07:00
Roman Cervantes
1b666efe44 Moved add list to new component 2019-10-01 15:26:31 -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
094a8858c3 Open game search in a modal 2019-09-30 11:31:07 -07:00
Roman Cervantes
7370754606 List UI tweaks 2019-09-29 09:48:14 -07:00
Roman Cervantes
959e597759 Clear search status when editing list 2019-09-26 11:21:08 -07:00
Roman Cervantes
52336b2388 Added todos for firebase calls 2019-09-23 13:03:30 -07:00
Roman Cervantes
b12f527e1a added set timeout to watchers 2019-09-13 15:59:01 -07:00
Roman Cervantes
0d746897f2 Added option for custom branding 2019-09-11 14:02:59 -07:00
Roman Cervantes
ec0b4d3ab1 Make text view normal width 2019-09-11 12:05:55 -07:00
Roman Cervantes
1f925bb180 Remove scss extension 2019-09-10 13:02:16 -07:00
Roman Cervantes
93172a1f21 Fix translation 2019-09-03 21:18:36 -07:00
Roman Cervantes
98d7ba7b80 Optimize list to use full width when only one list and is mobile 2019-09-03 13:28:36 -07:00
Roman Cervantes
1c1b255344 Handle expired sessions gracefuly 2019-08-09 12:12:11 -07:00
Roman Cervantes
cc331650bf Add icon for wishlists 2019-08-09 07:34:11 -07:00
Roman Cervantes
1f5ba0184c Linter fixes 2019-08-08 21:28:43 -07:00
Roman Cervantes
f0d1cfeeed Added list type to list settings 2019-08-08 21:18:40 -07:00
Roman Cervantes
c0f2c2dda5 removed unnecessary markup 2019-08-08 21:18:23 -07:00
Roman Cervantes
15ed84400a Added list types and cleaned up ListAdd 2019-08-08 21:10:24 -07:00
Roman Cervantes
2e6836a751 Button tweaks 2019-08-07 16:15:33 -07:00
Roman Cervantes
f574c0543b Patch fix for grid not initializing on time 2019-08-07 15:51:29 -07:00
Roman Cervantes
b6eda18024
Flatten unnecessarily deep folders (#132) 2019-08-06 15:45:59 -07:00
Roman Cervantes
e4f691b08f List settings clean up 2019-08-06 15:18:50 -07:00
Roman Cervantes
cf9fcc71eb Use template instead of div for list name 2019-08-06 15:12:02 -07:00
Roman Cervantes
139e61be2b List edit, remove icon in favor of text 2019-07-10 16:26:16 -07:00
Roman Cervantes
3dcb41880a Re render grid when entering or leaving editing mode 2019-07-10 16:24:53 -07:00
Roman Cervantes
3bcad9eaec Moved list name edit inside list settings 2019-07-10 16:24:37 -07:00
Roman Cervantes
2cf7462c5c Translate suggestion when creating a list 2019-06-27 12:13:45 -07:00
Roman Cervantes
15f4164758 More translations 2019-06-20 13:27:05 -07:00
Roman Cervantes
c2823c2a59
IGDV v3 migration (#125)
* Updated endpoints to use IGDB v3

* Updated computed props to match v3 changes

* Moved ageRatings to getter + updated for v3

* Updated getters to support v3 changes

* Moved all ratings images under same folder

* Use new endpoints in actions

* Compatibility updates

* Null check

* formatting

* Load games in chunks of 10 to meet new API requirements

* More compatibility changes

* Use ids for New and standard 3DS, great job naming consoles nintendo!

* Drop v2 suffix
2019-06-08 19:04:07 -07:00
Roman Cervantes
888f91b557 Masonry layout fixes 2019-06-07 09:05:18 -07:00
Roman Cervantes
003cf81e9e Linter fixes 2019-06-06 17:16:41 -07:00
Roman Cervantes
88d0acbfe5 Grid view fixes 2019-06-06 17:15:44 -07:00
romancm
046b3934d0 Address build fail for now 2019-06-06 06:47:39 -07:00
romancm
0629a387b3 Masonry layout WIP 2019-06-06 06:44:06 -07:00
romancm
b0951cced7 Fixed redundant small/tiny classes 2019-06-05 10:30:47 -07:00
Haseeb Elahi
04fc3ea23f Sort list by game release date (#122) 2019-05-23 13:49:09 -07:00
Roman Cervantes
1481ffb14f Cleaned up list settings 2019-05-22 12:06:27 -07:00
romancm
add25c1a16 Animate width transitions 2019-05-21 23:59:34 -07:00
romancm
fa13fd906d Linter fixes 2019-05-21 23:44:12 -07:00
romancm
d4b5a0a7d4 Added text only game card 2019-05-21 23:26:05 -07:00
romancm
de537ecd6f Removed list width option in favor of cover sizes 2019-05-21 23:25:46 -07:00
Matthew Bunge
a1bf2a80be
#74: 3DS and New 3DS libraries need to be merged (#113)
* Fixed back strings

* Merged 3DS and New 3DS

* Apply suggestions from code review

Co-Authored-By: Roman Cervantes <roman.cervantes@keap.com>
2019-05-20 10:27:34 -07:00
Roman Cervantes
0969535e8b Addressed linter issues 2019-05-20 10:14:57 -07:00
Matthew Bunge
b8b9290a0b
#69: Adjustable list width (#109)
* Added Autosorting

* When list set to sort new games now properly sorted

* Custom by default on new lists

* Apply suggestions from code review

Will look at recommended changes to <i> as they are more involved

Co-Authored-By: Roman Cervantes <roman.cervantes@keap.com>

* Made rest of formatting changes

* Added width selector and associated data in ListSettings

* Moved selectedWidth up a level

* Width now changes width, doesn't change card size

* Mostly working, covers are just giant for no particular reason right now

* Removed hard coded Strings in ListSettings
2019-05-19 13:19:11 -07:00
romancm
1d23a99806 Move listSettings component to lists folder 2019-05-18 10:16:20 -07:00
romancm
6a137e45f3 Address vue draggable deprecated warning 2019-05-18 10:12:14 -07:00
romancm
fbf459375c Clean up 2019-05-18 09:43:25 -07:00
romancm
0899ded68d Clean up 2019-05-18 06:44:49 -07:00
Alex Noble
378a04432f Keyboard shortcuts (#105)
* Added basic shortcut support
Added vue-shortkey library
Added 'esc' shortcut to go back from add list component
Added 'esc' shortcut to go back from game search component
Added 'ctl+alt+d' to delete list from list settings component

* Add shortcut to delete game from list (Delete Key)

* Added shortcuts to delete game from list
Added shortcuts to add note to game
Added shortcuts to cancel from note creation
Added shortcuts to delete note

* Fixing import method for consistency

* Fixed code review suggestions
2019-05-18 05:54:52 -07:00
romancm
d832023f3f Moved list name edit 2019-05-16 22:38:37 -07:00
romancm
32e804f595 Moved list components to correct folder 2019-05-16 22:37:58 -07:00
romancm
be2af1f2db Renamed dupe ListSettings to GameBoardSettings 2019-05-16 22:37:17 -07:00
romancm
e0a0c94364 Renamed list actions to game board actions 2019-05-16 22:34:59 -07:00
romancm
50256bd708 Simplified tags modal 2019-05-08 00:42:08 -07:00
romancm
7ba19031c4 Cleaned up settings modal 2019-05-05 13:10:00 -07:00
romancm
fd8163b7f9 Linter fixes 2019-05-05 13:04:45 -07:00
romancm
ff8e3f5234 Consolidated list settings into one modal 2019-05-05 13:03:23 -07:00
Roman Cervantes
187fac33d8 Fix press enter to save when creating a list 2019-04-18 22:42:23 -07:00
Roman Cervantes
d3eb0e28e3 Remove wallpaper icon highlight 2019-04-13 08:37:44 -07:00
Roman Cervantes
af7afbcd2f Highlighted wallpaper action 2019-04-09 13:45:19 -07:00
Roman Cervantes
e37b1a2280 Wallpaper upload component 2019-04-08 21:17:26 -07:00
Roman Cervantes
33b9730701 Fix add list bugs 2019-04-06 07:41:09 -07:00
Roman Cervantes
cb38320acf Simplified add list 2019-04-05 15:46:56 -07:00
Roman Cervantes
3ea7cfb952 Restored css alias 2019-04-05 12:16:32 -07:00
Roman Cervantes
1721673ce7 Removed css alias 2019-04-05 12:10:50 -07:00
Roman Cervantes
d154cf4cc8 Correct game tags title value 2019-04-04 09:58:16 -07:00