ui/ux touchup

This commit is contained in:
zeppi 2022-04-14 22:49:26 -04:00
parent d2c9dea925
commit db3868d65e
3 changed files with 63 additions and 61 deletions

View file

@ -2306,5 +2306,6 @@
"Privacy": "Privacy",
"LBRY takes privacy and choice seriously. Is it ok if we monitor performance and help creators track their views?": "LBRY takes privacy and choice seriously. Is it ok if we monitor performance and help creators track their views?",
"Yes, share with LBRY": "Yes, share with LBRY",
"Search Uploads": "Search Uploads",
"--end--": "--end--"
}

View file

@ -126,8 +126,6 @@ function FileListPublished(props: Props) {
return (
<Page>
<div className="card-stack">
{!fetching && myClaims.length > 0 && (
<>
<ClaimList
noEmpty
header={
@ -164,10 +162,13 @@ function FileListPublished(props: Props) {
}
headerAltControls={
<div className="card__actions--inline">
{fetching && <Spinner type="small" />}
{!fetching && (
<Button button="alt" label={__('Refresh')} icon={ICONS.REFRESH} onClick={fetchAllMyClaims} />
)}
<Button
button="alt"
label={__('Refresh')}
icon={ICONS.REFRESH}
disabled={fetching}
onClick={fetchAllMyClaims}
/>
<Form onSubmit={() => {}} className="wunderbar--inline">
<Icon icon={ICONS.SEARCH} />
<FormField
@ -175,7 +176,7 @@ function FileListPublished(props: Props) {
value={searchText}
onChange={(e) => setSearchText(e.target.value)}
type="text"
placeholder={__('Search')}
placeholder={__('Search Uploads')}
disabled={filterBy === FILTER_REPOSTS}
/>
</Form>
@ -183,10 +184,9 @@ function FileListPublished(props: Props) {
}
persistedStorageKey="claim-list-published"
uris={urls}
loading={fetching}
/>
<Paginate totalPages={urlTotal > 0 ? Math.ceil(urlTotal / Number(pageSize)) : 1} />
</>
)}
</div>
{!fetching && myClaims.length === 0 && (
<React.Fragment>

View file

@ -98,6 +98,7 @@
position: absolute;
top: 0;
}
border-radius: var(--border-radius);
}
.wunderbar__suggestions {