Commit graph

345 commits

Author SHA1 Message Date
Gamebrary
512c5c9673 refactor game modal 2020-08-14 17:00:55 -07:00
Gamebrary
3b9fc0c7ab update 404 page 2020-08-14 16:59:12 -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
4d309f8b73 remove remaining styles 2020-07-22 13:47:38 -07:00
Gamebrary dev team
f14a5fc3ef remove styles 2020-07-22 13:44:48 -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
7ee27c2702
Increase drag and drop area (#179) 2020-02-03 09:26:03 -07:00
Roman Cervantes
7e24343138 Game modal clean up 2020-01-22 11:21:02 -07:00
Roman Cervantes
7e36cd5c04 Fix routing issue on first login 2020-01-22 10:03:22 -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
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
01be6fc7e5 Move note check to computed prop 2019-12-27 10:30:38 -06:00
Roman Cervantes
c2d4d6c68f Remove unnecessary check 2019-12-19 11:44:40 -07: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
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
f4b2037c88 Set scroll snapping to X instead of Y (#158) 2019-12-15 14:40:34 -07:00
Patrick Kontschak
d2ce69c120 Add theme-based text color and fix spin (#148)
Disclaimer: This is bad practice!

HOWEVER! I noticed that the spinning animation was sorta off. It took me a while to figure it out, but eventually I noticed that the spinning icon provided by FontAwesome had the dimensions 28x29.

Since width and height wasn't the same it create a sort of jumping (?) and made the animation less smooth.

To fix it I checked what font-size it currently had and literally tried some numbers above and below it.

My first attempt was `2.072`, which made the icon 29x29 - which didn't solve the issue, since the animation wasn't perfectly centered anymore.

`1.99999999`, as unfortunate it is, turned the icon into 28x28 and fixed the animation.
2019-12-14 14:49:24 -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
Patrick Kontschak
abd8317848 set default theme for new users (#145)
When first loading the new version that has different themes, or joining the website with a new account, the theme setting was showing a blank dropdown.
The website's theme was set to `theme-default` but the dropdown didn't show anything.
2019-12-14 14:00:26 -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
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
4cbfeaf851 only show game board settings when in game board 2019-12-12 23:59:20 -07:00
Roman Cervantes
2a831fde7e Adjust platforms padding 2019-12-12 23:56:30 -07:00
Roman Cervantes
0fe86385ff Added alternate view to platforms page 2019-12-12 23:53:37 -07:00
Roman Cervantes
6b56438807 Gravatar null check 2019-12-03 15:50:54 -07:00
Roman Cervantes
510c9f48a4 Game notes adjustments 2019-12-03 15:49:18 -07:00
Roman Cervantes
f18be484fb corrected todo typo 2019-12-03 11:26:35 -07:00
Roman Cervantes
3ab77f8d17 Show game actions right away 2019-12-02 12:13:07 -07:00
Roman Cervantes
41e3122a71 Remove modal action from settings modal 2019-12-02 12:02:53 -07:00
Roman Cervantes
2cdf0d9465 Auto save settings 2019-12-02 11:49:34 -07:00
Roman Cervantes
58061053ee Changed avatar border radius 2019-12-02 11:46:40 -07:00
Roman Cervantes
2acc7939b0 Show avatar instead of cog 2019-12-02 11:34:28 -07:00
Roman Cervantes
6197d866a6 Fix jumpiness when loading game modal 2019-11-26 14:24:54 -07:00
Roman Cervantes
2bda2b1cbd Isolate authorizing page 2019-11-22 12:07:32 -07:00
Roman Cervantes
23fb32d4de Hook up add game in game detail modal 2019-11-21 16:04:28 -07:00
Roman Cervantes
b8c5c09fb0 Apply tag modal 2019-11-21 15:56:26 -07:00
Roman Cervantes
fd9f7bb9cd Removed another todo 2019-11-21 15:19:41 -07:00
Roman Cervantes
661a286cec Moved game notes component 2019-11-21 15:13:01 -07:00
Roman Cervantes
30059cbd10 renamed class 2019-11-21 15:11:37 -07:00
Roman Cervantes
065ea3a574 More renaming 2019-11-21 15:10:52 -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
fad44aa16f added loaded computed prop, clean up 2019-11-21 14:47:58 -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
9ed5cd2f9d Reposition tags 2019-11-21 14:20:55 -07:00
Roman Cervantes
8ca142a916 Rename GameDetail component to Game 2019-11-21 13:58:06 -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
874e018b42 Platform exclusive tags and custom colors 2019-11-20 15:16:51 -07:00
Roman Cervantes
a8585a7b6e restored old linter rules 2019-11-14 14:10:10 -07:00
Roman Cervantes
26386967b6 Game detail tweaks 2019-11-12 11:13:34 -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
cd2f4750ae Restore exitUrl to fix issue when logging out 2019-11-04 11:30:55 -07:00
Roman Cervantes
16a4b422b6 Added placeholder 2019-10-31 15:04:51 -07:00
Roman Cervantes
6da5e8928c Clear active game on modal close 2019-10-21 09:41:24 -07:00
Roman Cervantes
91c9cb2cfa null check 2019-10-18 13:15:58 -07:00
Roman Cervantes
86396dd8c4 Moved save settings to actions 2019-10-18 11:15:09 -07:00
Roman Cervantes
d284c811c3 Game details clean up WIP 2019-10-18 10:27:05 -07:00
Roman Cervantes
12057358a9 set default settings if platform settings aren't set 2019-10-17 21:40: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
dc7c005af8 Invert redirect logic 2019-10-16 12:40:18 -07:00
Roman Cervantes
aacf22514b Settings clean up 2019-10-09 12:29:43 -07:00
Roman Cervantes
48c07cefa9 Restore settings order 2019-10-09 11:55:41 -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
fb9b6163d1 Fix settings issue on first use 2019-10-07 14:50:31 -07:00
Roman Cervantes
54e17b25e7 null checks 2019-10-05 22:45:50 -07:00
Roman Cervantes
a10f2e696e Refactor list sort to use computed 2019-10-05 22:26:13 -07:00
Roman Cervantes
12a54ae8e2 linter fixes 2019-10-05 15:47:37 -07:00
Roman Cervantes
5b23ff4972 null check 2019-10-05 15:43:35 -07:00
Roman Cervantes
6555f0133d Removed settings import and clean up 2019-10-05 14:45:55 -07:00
Roman Cervantes
168d4226a3 Renamed component 2019-10-01 15:27:42 -07:00
Roman Cervantes
1b666efe44 Moved add list to new component 2019-10-01 15:26:31 -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
4a446c3d7e Game details UI updates 2019-09-26 11:33:30 -07:00
Roman Cervantes
79d945fb24 Settings updates 2019-09-25 14:57:05 -07:00
Roman Cervantes
52336b2388 Added todos for firebase calls 2019-09-23 13:03:30 -07:00
Roman Cervantes
51c2967aaa Cleaned up settings 2019-09-18 21:52:04 -07:00
Roman Cervantes
9b567bab2a Flatten settings 2019-09-18 21:44:46 -07:00
Roman Cervantes
f662daf6c9 Clean up and missing translations 2019-09-13 15:11:12 -07:00
Roman Cervantes
a10fd5b070 Improve contrast in settings when using dark theme 2019-09-11 13:38:10 -07:00
Roman Cervantes
4b172cef53 Platform pages tweaks 2019-09-10 14:33:34 -07:00
Roman Cervantes
1f925bb180 Remove scss extension 2019-09-10 13:02:16 -07:00
Roman Cervantes
54e9c27afb Game board load bug fix 2019-09-03 21:09:31 -07:00
Roman Cervantes
5fbcdb1fd9 Remove shared route (for now) 2019-09-03 16:05:48 -07:00
Roman Cervantes
41a878d5fe Increase games request limit to 500, refactored load methods 2019-09-03 16:03:20 -07:00
Roman Cervantes
cf36448c40 refactored loadGameData method, increased chunk size to 50 2019-09-03 15:01:04 -07:00
Roman Cervantes
8f9082467a added clickable prop to platforms page 2019-08-19 23:21:08 -07:00
Roman Cervantes
7dc75d793e Show platform name under game name 2019-08-19 23:20:55 -07:00
Roman Cervantes
4e8b51185b Platforms clean up 2019-08-19 21:05:58 -07:00
Roman Cervantes
1c1b255344 Handle expired sessions gracefuly 2019-08-09 12:12:11 -07:00
Roman Cervantes
ddbd4c6e4b Game board settings clean up 2019-08-07 15:40:32 -07:00
Roman Cervantes
b6eda18024
Flatten unnecessarily deep folders (#132) 2019-08-06 15:45:59 -07:00
Roman Cervantes
1a2b41407b Go to setting tab based on where you are in the app 2019-07-16 10:39:36 -07:00
Roman Cervantes
5d2c2d3eb0 Adjust confirm button 2019-07-11 13:27:20 -07:00
Roman Cervantes
adfc263559 only reload page if language is set 2019-07-11 12:54:44 -07:00
Roman Cervantes
b9eddd9295 Remove settings check 2019-07-11 12:27:17 -07:00
Roman Cervantes
0bf0ed9651 Moved computed prop and method to account settings 2019-07-11 12:27:09 -07:00
Roman Cervantes
2b68a42252 About gamebrary section 2019-07-11 12:05:34 -07:00
Roman Cervantes
8e8ebdd7d8 Updated settings components 2019-07-10 16:23:40 -07:00
Roman Cervantes
0e2f006905 Remove block sizes 2019-06-19 15:14:35 -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
romancm
a7b14532d8 Removed old unused draggable options object 2019-05-18 10:08:52 -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
Roman Cervantes
6ca9216f1f
Platforms page cleanup (#110) 2019-05-18 06:05:46 -07:00
Alex Noble
26c72206a9 Localization (#108)
* Added new strings to localization

* Add localization support to ReviewBox
Add localization support to GameScreenshots
Add localization support to GameVideos

* Finished finding hardcoded strings
2019-05-18 05:56:05 -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
Roman Cervantes
24d1fa9dbc Switched over to original masonry layout 2019-05-17 13:26:55 -07:00
romancm
5ce73534bd Moved tag component inside tags folder 2019-05-16 22:45:15 -07:00
romancm
96ba4b1b77 Removed affiliate link 2019-05-16 22:43:15 -07:00
romancm
32e804f595 Moved list components to correct folder 2019-05-16 22:37:58 -07:00
romancm
e0a0c94364 Renamed list actions to game board actions 2019-05-16 22:34:59 -07:00
romancm
42f3a25e67 Linter fixes 2019-05-16 22:25:22 -07:00
romancm
aa27ffad90 Updated platforms page 2019-05-16 22:20:15 -07:00
Roman Cervantes
b98f15fc49 More cleanup 2019-05-08 15:40:15 -07:00
romancm
7e6893b98c Prevent error when opening and closing game modal quickly 2019-05-05 11:34:39 -07:00
Roman Cervantes
02a0d4cbc0 make game actions more mobile friendly 2019-05-02 22:01:19 -07:00
Roman Cervantes
f0641b339c use available data when loading game 2019-05-02 21:53:16 -07:00
Roman Cervantes
c19aacdc06 Game detail dark theme tweaks 2019-04-26 13:05:17 -07:00
Roman Cervantes
811ba38ba3 Fixed overlapping background on mobile 2019-04-26 12:54:25 -07:00
Roman Cervantes
543784388b Make game detail tags readonly 2019-04-26 08:34:22 -07:00
Roman Cervantes
c216d21bf4 Linter fixes 2019-04-25 23:56:43 -07:00
Roman Cervantes
fee3bf127f Remove tag method 2019-04-25 23:55:05 -07:00
Roman Cervantes
20c0702c10 Removed testing stuff 2019-04-25 23:36:04 -07:00
Roman Cervantes
aa410290ed Tag component 2019-04-25 23:18:53 -07:00
Roman Cervantes
76f93da574 Remove hard-coded close button 2019-04-25 16:25:39 -07:00
Roman Cervantes
21be1e0cd5 Added dev debug placheolder component 2019-04-25 11:45:42 -07:00
Roman Cervantes
5ae243d46d Improve modal close button on mobile 2019-04-25 11:41:47 -07:00
Roman Cervantes
46e995ee89 Only show tags when tags are available 2019-04-19 13:34:47 -07:00
Roman Cervantes
25c2a9869e Fix bug when deleting game 2019-04-19 13:32:14 -07:00
Roman Cervantes
fbd48ce178 Game notes! 2019-04-19 13:27:45 -07:00