* 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
* 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
* 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
* 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
* 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
* 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
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.
* 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
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.