Skip to content

Commit

Permalink
Merge branch 'master' into fix/hanging-playback-when-no-stream-available
Browse files Browse the repository at this point in the history
  • Loading branch information
sferra authored Mar 16, 2024
2 parents ef55147 + cb07c40 commit 186a31a
Show file tree
Hide file tree
Showing 33 changed files with 334 additions and 582 deletions.
143 changes: 93 additions & 50 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/app/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class App extends React.PureComponent {

this.updateConnectivityStatus(navigator.onLine);
window.addEventListener('online', () => this.updateConnectivityStatus(true));
window.addEventListener('offline', () => this.updateConnectivityStatus(false));
window.addEventListener('offline', () => this.updateConnectivityStatus(false));
}

updateConnectivityStatus = (isConnected) => {
Expand Down
98 changes: 0 additions & 98 deletions packages/app/app/actions/github.js

This file was deleted.

4 changes: 1 addition & 3 deletions packages/app/app/actions/githubContrib.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {
GITHUB_REPO_CONTRIB_ENDPOINT
} from '../rest/Github';
const GITHUB_REPO_CONTRIB_ENDPOINT = 'https://api.github.com/repos/nukeop/nuclear/stats/contributors';

export const GITHUB_CONTRIB_START = 'GITHUB_CONTRIB_START';
export const GITHUB_CONTRIB_SUCCESS = 'GITHUB_CONTRIB_SUCCESS';
Expand Down
2 changes: 1 addition & 1 deletion packages/app/app/actions/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function loadUserPlugin(path) {
try {
const api = createApi();
const pluginContents = await fs.promises.readFile(path, 'utf8');
const transformedPluginContents = await remote.app.transformSource(pluginContents);
const transformedPluginContents = await remote.app.g(pluginContents);

const plugin = eval(transformedPluginContents.code);

Expand Down
48 changes: 15 additions & 33 deletions packages/app/app/components/Dashboard/GenresTab/styles.scss
Original file line number Diff line number Diff line change
@@ -1,37 +1,40 @@
@import '../../../vars';
@import "../../../vars";

.genre_tab_container {
display: flex;
flex-flow: row wrap;
overflow-x: hidden;

svg, path {
display: grid;
justify-items: center;
align-items: center;
grid-template-columns: repeat(auto-fill, minmax(200px, 2fr));
grid-auto-rows: auto;
gap: 4px;

svg,
path {
stroke: $white;
}

svg {
width: 96px;
height: 96px;
}



.svg_icon {
margin-bottom: 1rem;
}

.genre_container {
position: relative;
display: flex;
flex-flow: row;
justify-content: center;
align-items: center;
width: 25%;
height: 0;
padding-bottom: 25%;
border-radius: 0.25rem;
transition: $short-duration;
overflow: hidden;
cursor: pointer;
width: 100%;
height: 100%;
min-height: 200px;

&:hover {
transform: scale(1.1);
Expand Down Expand Up @@ -67,25 +70,4 @@
text-transform: uppercase;
text-align: center;
}

@media screen and (max-width: 1366px) {
.genre_container {
width: 33.33%;
padding-bottom: 33.33%;
}
}

@media screen and (max-width: 1180px) {
.genre_container {
width: 50%;
padding-bottom: 50%;
}
}

@media screen and (max-width: 1050px) {
.genre_container {
width: 100%;
padding-bottom: 100%;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { compose, withHandlers } from 'recompose';

import styles from './styles.scss';


const LibraryFolders = ({
openLocalFolderPicker,
scanLocalFolders,
Expand Down
139 changes: 0 additions & 139 deletions packages/app/app/components/PluginsView/index.js

This file was deleted.

Loading

0 comments on commit 186a31a

Please sign in to comment.