Commit Graph

474 Commits

Author SHA1 Message Date
acfa3e9d54 Renamed icon request to inbox. 2022-01-14 15:40:11 +01:00
3c72bdf3c2 Activity page subscribes to store & more css variables 2022-01-13 00:27:09 +01:00
dc2359ff6a Movie now subscribes to store. Added cast to info panel. 2022-01-13 00:25:38 +01:00
0b6398cc4c Refactored search and autocomplete
Now with more icons, much simpler dropdown and a smooth open animation.
Filter is moved to the searchPage instead of baking in the search
dropdown.
2022-01-13 00:24:40 +01:00
d3a3160cf8 Split navigation icons/header into more components, fixed svg transition
Split more out into `Hamburger` & `NavigationIcon` components.
2022-01-13 00:17:43 +01:00
b021882013 Refactored user store & moved popup logic from App to store
Cleaned up bits of all the components that use these stores.

User store now focuses around keeping track of the authorization token
and the response from /login. When a sucessfull login request is made we
save our new token and username & admin data to the with login(). Since
cookies aren't implemented yet we keep track of the auth_token to make
authroized requests back to the api later.
The username and admin data from within the body of the token is saved
and only cleared on logout().
Since we haven't implemented cookies we persist storage with
localStorage. Whenever we successfully decode and save a token body we
also save the token to localStorage. This is later used by
initFromLocalStorage() to hydrate the store on first page load.

Popup module is for opening and closing the popup, and now moved away
from a inline plugin in App entry. Now handles loading from &
updating query parameters type=movie | show.
The route listens checks if open every navigation and closes popup if it
is.
2022-01-13 00:14:36 +01:00
d1cbbfffd8 Fixes broken functions and bugs
- Mobile can now click behind movie popup to dismiss
- Link to /activity instead of /profile?activity=true
- Remove fill from icons that color using stroke
- Add border to navigation icons
- Darkmode now toggles correctly when load in light/default mode.
- Only show load previous button when loading is false
- Switched to new SearchPage over Search.vue
2022-01-10 18:33:16 +01:00
5104df0af0 Width fix for password inputs 2022-01-10 01:25:18 +01:00
5e330861ca Let navigatino elements grow to natural height 2022-01-10 01:06:02 +01:00
4d27fdb25a Popover should take all height 2022-01-10 01:03:20 +01:00
2ab1609bd9 Profile has both activity and settings inline 2022-01-10 00:51:14 +01:00
aa7e6a2a53 Fullwidth property for seasoned button 2022-01-10 00:50:47 +01:00
2937e7b974 Linting 2022-01-10 00:50:09 +01:00
2371907f54 Set search params when popup movie & check for and read on load 2022-01-10 00:49:57 +01:00
6615827b29 Re-did list components 2022-01-10 00:48:15 +01:00
97c23fa895 Re implemented header navigation 2022-01-10 00:46:26 +01:00
39930428a9 Banner has some more images to cycle between 2022-01-10 00:43:37 +01:00
83b14e0744 Moved icons from html file to separate icons/ components 2022-01-10 00:42:12 +01:00
f180b7f39b Updated header text and font size 2022-01-09 15:58:04 +01:00
a2fbfcb13c Removed /dist prefix from built js file 2022-01-03 20:29:57 +01:00
d640f7f882 Removed /dist prefix from all image paths 2022-01-03 20:29:03 +01:00
d43c12b103 Prettierrc file 2022-01-03 17:50:55 +01:00
38c3792675 Add 'is-loaded' class after image intersects viewport 2022-01-03 17:50:12 +01:00
ac2785abd5 Increased opacity delay 2022-01-03 17:49:35 +01:00
1ff6a0e831 Linting 2022-01-03 17:49:22 +01:00
7a3b709404 Update router to use history not hash mode. 2021-05-18 10:21:00 +02:00
KevinMidboe
d63cb4ac52 Merge branch 'master' of github.com:kevinmidboe/seasoned 2020-04-09 23:01:25 +02:00
b6ee1cf906 Profile replaces route with query settings=true when enabled. 2020-04-09 23:00:50 +02:00
60201b1b67 Login and register pages now checks inputs for errors. throwError parameter on login and register functions allows us to receive the request object not just the decoded json. 2020-04-09 21:39:29 +02:00
a8b8603649 /login is alias of signin component. 2020-04-09 20:59:49 +02:00
e193528fe9 Routes with meta requiresAuth redirects to login page if token not set in localstorage 2020-04-09 20:58:58 +02:00
73afb34964 Logout route that clears localstorage for anything set clientside. 2020-04-09 20:53:24 +02:00
65bbc453e6 seasoned messages looks better when messages contains only title. 2020-04-09 20:27:11 +02:00
KevinMidboe
188477ab64 404 page now has button to navigate to previous page. 2020-04-09 19:58:50 +02:00
KevinMidboe
a31bfb6b39 Updated seasonedbutton to not have a wrapping div. 2020-04-09 19:55:57 +02:00
681ed69ef0 Removed padding on right side of search input and removed unused comment. 2020-02-25 13:44:48 +01:00
b771428b4d Changed placeholder for earch input 2020-02-25 13:44:31 +01:00
fc0103ee5d Change the document title prefix from request to seasoned 2020-02-25 12:12:07 +01:00
55067b81b8 Merge branch 'master' of github.com:KevinMidboe/seasoned 2020-02-25 12:09:45 +01:00
dfe2b5df09 Removed default emoji prefix of document title. 2020-02-25 12:09:13 +01:00
dc0c435163 If settings dont exist, return false for isAuthenticated. 2020-02-21 23:03:31 +01:00
9d1ac56b9a Also check localstorage for settings if not found in state. 2020-02-21 22:58:49 +01:00
fc2c3664d9 Resolved merge conflict. 2020-02-21 22:52:36 +01:00
0bd45ed777 New sidebarelement for users that are logged inn. Now they can be redirected directly to the movie in plex. 2020-02-21 22:51:39 +01:00
3912766982 Reverted active logic for seasonedButton. 2020-02-20 14:09:08 +01:00
3becce2a6c Moved isPlexAuthenticated from movie component to userModule. 2020-02-20 14:08:46 +01:00
20b8692c91 Forgot to toggle isActive when clicked. 2020-02-20 13:56:56 +01:00
14ac780aa5 Should not overwrite prop data. Copy and set to internal data attribute. 2020-02-20 13:55:04 +01:00
d836870612 Toggle active boolean to set class on buttons. 2020-02-20 13:41:39 +01:00
bc6f706e4a New mediaquery to check if hover is available then only style hover when it is. This solves sticky hover styling on mobile. 2020-02-20 13:33:08 +01:00