🔧 Adding a download status to navbar WIP
This commit is contained in:
@@ -266,8 +266,8 @@ export const getTransfers =
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
console.log(ADCPPSocket);
|
console.log(ADCPPSocket);
|
||||||
const foo = await ADCPPSocket.get('queue/bundles/1/50', {});
|
const foo = await ADCPPSocket.get("queue/bundles/1/50", {});
|
||||||
console.log(foo);
|
console.log(foo);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ export const DownloadsPanel = (
|
|||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
const ProgressTick = (props) => {
|
const ProgressTick = (props) => {
|
||||||
console.log("tick", props);
|
|
||||||
return (
|
return (
|
||||||
<div className="column is-half">
|
<div className="column is-half">
|
||||||
{JSON.stringify(props.data.downloadProgressTick)}
|
{JSON.stringify(props.data.downloadProgressTick)}
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
<button
|
<button
|
||||||
className="button is-small is-warning is-light"
|
className="button is-small is-success is-outlined is-light"
|
||||||
onClick={() => addToLibrary("locg", issue)}
|
onClick={() => addToLibrary("locg", issue)}
|
||||||
>
|
>
|
||||||
<i className="fa-solid fa-plus"></i> Want
|
<i className="fa-solid fa-plus"></i> Want
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ export const WantedComicsList = ({
|
|||||||
}: WantedComicsListProps): ReactElement => {
|
}: WantedComicsListProps): ReactElement => {
|
||||||
const breakpointColumnsObj = {
|
const breakpointColumnsObj = {
|
||||||
default: 5,
|
default: 5,
|
||||||
1100: 4,
|
1100: 5,
|
||||||
700: 2,
|
700: 5,
|
||||||
600: 2,
|
600: 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|||||||
@@ -67,35 +67,9 @@ const Navbar: React.FunctionComponent = (props) => {
|
|||||||
className="navbar-link is-active"
|
className="navbar-link is-active"
|
||||||
href="/documentation/overview/start/"
|
href="/documentation/overview/start/"
|
||||||
>
|
>
|
||||||
Docs
|
<i className="fa-solid fa-download"></i>
|
||||||
</a>
|
</a>
|
||||||
<div className="navbar-dropdown ">
|
<div className="navbar-dropdown">asdas</div>
|
||||||
<a className="navbar-item " href="/documentation/overview/start/">
|
|
||||||
Overview
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a
|
|
||||||
className="navbar-item is-active"
|
|
||||||
href="http://bulma.io/documentation/components/breadcrumb/"
|
|
||||||
>
|
|
||||||
Components
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<hr className="navbar-divider" />
|
|
||||||
<div className="navbar-item">
|
|
||||||
<div>
|
|
||||||
<p className="is-size-6-desktop">
|
|
||||||
<strong className="has-text-info">0.5.1</strong>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<small>
|
|
||||||
<a className="bd-view-all-versions" href="/versions">
|
|
||||||
View all versions
|
|
||||||
</a>
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="navbar-item has-dropdown is-hoverable is-mega">
|
<div className="navbar-item has-dropdown is-hoverable is-mega">
|
||||||
<div className="navbar-link flex">Blog</div>
|
<div className="navbar-link flex">Blog</div>
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ export const Search = ({}: ISearchProps): ReactElement => {
|
|||||||
className="button is-success is-light is-outlined mt-2"
|
className="button is-success is-light is-outlined mt-2"
|
||||||
onClick={() => addToLibrary("comicvine", result)}
|
onClick={() => addToLibrary("comicvine", result)}
|
||||||
>
|
>
|
||||||
<i className="fa-solid fa-plus mr-2"></i> Add to Library
|
<i className="fa-solid fa-plus mr-2"></i> Want
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user