Commit graph

92 commits

Author SHA1 Message Date
Roman Cervantes
7e24343138 Game modal clean up 2020-01-22 11:21:02 -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
b907cda562 Add "Tomorrow Night" themes (#175)
* add custom properties for progress bar colors

* add Tomorrow themes

* update existing themes with custom progress props
2020-01-21 22:23:52 -07:00
Patrick Kontschak
52af31e488 Progress styling (#164)
* style progress bar/range

* add progress percentage next to bar

* Linting

* Separate GameProgress and GameProgressModal markup

* Display process percentage within/on top of range

* refactor progress element

* add missing gameprogress

it got lost in the rebase

* add margin and center progress on mobile
2020-01-06 11:05:49 -06:00
Roman Cervantes
e3bcde4224 Trim notes, prevent empty notes from being saved, reset on modal open 2019-12-27 09:57:13 -06:00
Roman Cervantes
34c1aeb78e
Game notes refactor (#165)
* Replaced bus events with actions and mutations

* textarea specific styles

* Moved contact actions to its own component

* Misc clean up

* Rename placeholder class

* Refactored game notes, added preview, mutations, classes, etc...

* only center actions on mobile

* Removed unused class

* Added notes label
2019-12-18 16:03: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
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
b3590036bd
Move game rating class logic from template to method (#154) 2019-12-14 23:13:21 -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
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
aa3c3fc57d Moved save tags to actions 2019-12-03 11:26:19 -07:00
Roman Cervantes
3ab77f8d17 Show game actions right away 2019-12-02 12:13:07 -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
37a0692783 Gameboard clean up 2019-11-21 15:06:14 -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
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
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
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
d27ea1eac6 Themes support + clean up 2019-10-09 09:30:07 -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
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
1f925bb180 Remove scss extension 2019-09-10 13:02:16 -07:00
Roman Cervantes
777de9e2a8 linter fixes 2019-08-19 23:33:44 -07:00
Roman Cervantes
e306cb9670 Update platform styles 2019-08-19 23:31:45 -07:00
Roman Cervantes
cdfa324fde Show other platforms available for game 2019-08-19 23:20:07 -07:00
Roman Cervantes
b6eda18024
Flatten unnecessarily deep folders (#132) 2019-08-06 15:45:59 -07:00
Roman Cervantes
eba277b222 Renamed mutation 2019-08-01 10:26:59 -07:00
Roman Cervantes
ecbd651853 Hide modal close button when gallery is open 2019-07-11 16:32:03 -07:00
Roman Cervantes
242ed71f57 More translations and TODOs 2019-06-25 11:18:40 -07:00
Roman Cervantes
b2873dd5ef Updated links branding 2019-06-20 11:13:34 -07:00
Roman Cervantes
d986c587d5 Improved links section 2019-06-19 16:20:45 -07:00
Roman Cervantes
5ed7cdc238 kebab case age ratings folder 2019-06-18 14:01:37 -07:00
Roman Cervantes
eacc16dd5e Clean up 2019-06-18 14:00:31 -07:00
Roman Cervantes
1fac00e00f Show time to beat 2019-06-17 16:00:01 -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