Commit graph

179 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