Commit Graph

15 Commits

Author SHA1 Message Date
ae3b228cf5 Updated app & header grid layout 2022-07-26 19:51:19 +02:00
b7db3fec62 Popup box has margin top relative to view height 2022-03-05 18:01:37 +01:00
d24a318de8 Updated all scss imports to be relative from src alias
Alias defined in webpack.config.js
2022-03-05 08:46:18 +01:00
18a0acfe19 Popup now handles person. Updated all dependencies. 2022-01-28 20:03:02 +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
4d27fdb25a Popover should take all height 2022-01-10 01:03:20 +01:00
2371907f54 Set search params when popup movie & check for and read on load 2022-01-10 00:49:57 +01:00
98644513ad When movie popup opens we add a no-scroll class to the body element. This prevents scrolling the content behind the popover content. 2019-10-30 22:11:09 +01:00
4a44924f56 Updated webpack to resolve common file extensions 2019-10-23 00:38:36 +02:00
4528b240e1 Popover now also removes its eventlistener on close 2019-10-22 23:08:03 +02:00
fa50dd3455 Finished dark mode! This means re-doing all sass variables in the
variables.scss file and defining css variables in :root and alterting
them based on prefered color scheme. This gives us a mechanism to set
custom color schemes for the entire site from one place and changing
between them just by setting a class to the body element. This is done
by overwriting the css variables and then our scss variables use these
changes and apply them downward. This seems like a really nice setup for
the switching between- and adding color schemes.
Also did a lot of cleanup of unused, duplicate or errors styling
throughout the application.
2019-10-21 00:13:21 +02:00
ec5b74984d Movie popup is now a prototype on the vue instance. Initialized in App and accessible on this.$popup 2019-06-03 23:27:07 +02:00
aa9bfa12d9 Re-wrote to support my api for requesting new movies. 2018-03-20 21:50:39 +01:00
Dmytro Barylo
ac6d57b46f version 1.0 2017-03-04 16:46:53 +02:00