Commit graph

869 commits

Author SHA1 Message Date
Gamebrary dev team
70a48fb0c5 bump vue and add bootstrap 2020-07-21 13:47:12 -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
7e24343138 Game modal clean up 2020-01-22 11:21:02 -07:00
Roman Cervantes
2ab0e7bd5a Cleaned up game search modal 2020-01-22 11:09:16 -07:00
Roman Cervantes
fe34e0f477 Fixed indentation in themes 2020-01-22 10:21:41 -07:00
Roman Cervantes
db255ea724 Put border radius values in theme 2020-01-22 10:18:08 -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
0ccee1c559 Give the save() function time to get all data (#174) 2020-01-21 22:24:43 -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
01be6fc7e5 Move note check to computed prop 2019-12-27 10:30:38 -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
c2d4d6c68f Remove unnecessary check 2019-12-19 11:44:40 -07:00
Roman Cervantes
405c21f829
Merge steam and windows into PC (#168)
* Merge steam and windows into PC

* Update and tweak pc logo

* null check to fix sentry error

* dissolve header in modal
2019-12-18 23:07:36 -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
2eb644ad2d Rename card component 2019-12-18 10:05:56 -07:00
Roman Cervantes
3b5fd1c72f Rename GameCardWide to GameCardCompact 2019-12-18 10:05:26 -07:00
Roman Cervantes
54204bf88f null checks 2019-12-18 00:24:33 -07:00
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
Patrick Kontschak
f4b2037c88 Set scroll snapping to X instead of Y (#158) 2019-12-15 14:40:34 -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
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
da4891c5b3 Igdb style refresh 2019-12-13 11:15:14 -07:00
Roman Cervantes
3744971b3b Added console type 2019-12-13 10:48:03 -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
4cbfeaf851 only show game board settings when in game board 2019-12-12 23:59:20 -07:00
Roman Cervantes
e1658cd2cb Always show avatar 2019-12-12 23:59:08 -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
0b3fbf67d2 Restored input hex values 2019-12-03 22:33:54 -07:00
Roman Cervantes
6b56438807 Gravatar null check 2019-12-03 15:50:54 -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
2d7264ac85 Markdown styles 2019-12-03 15:17:52 -07:00
Roman Cervantes
34dd383f13 Style input, select and textarea to match theme 2019-12-03 15:17:37 -07:00
Roman Cervantes
c43e531fcf Hide rating if no rating available 2019-12-03 14:21:50 -07:00
Roman Cervantes
f18be484fb corrected todo typo 2019-12-03 11:26:35 -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
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
95838d19cc Auto save list settings 2019-12-02 11:46:28 -07:00
Roman Cervantes
2acc7939b0 Show avatar instead of cog 2019-12-02 11:34:28 -07:00
Roman Cervantes
4dd2b98dff Update sort list translation 2019-12-02 11:34:12 -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
6197d866a6 Fix jumpiness when loading game modal 2019-11-26 14:24:54 -07:00
Roman Cervantes
9aa6a338a0 Remove obsolete code referencing brandingEnabled 2019-11-25 22:47:22 -07:00
Roman Cervantes
52ab156f2e Flattenned blue theme 2019-11-22 23:03:11 -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
768993b587 Restored auth logic 2019-11-22 12:08:04 -07:00
Roman Cervantes
2bda2b1cbd Isolate authorizing page 2019-11-22 12:07:32 -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
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
e2a1ce0865 apply tag modal clean up 2019-11-21 15:26:33 -07:00