Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(files): remove unfinished ui #3709

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions components/views/files/aside/Aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,17 @@ export default Vue.extend({
route: FileAsideRouteEnum.RECENT,
icon: FileIconsEnum.CLOCK,
},
{
text: this.$t('pages.files.aside.deleted'),
route: FileAsideRouteEnum.DELETED,
icon: FileIconsEnum.TRASH,
},
{
text: this.$t('pages.files.aside.favorited'),
route: FileAsideRouteEnum.FAVORITED,
icon: FileIconsEnum.HEART,
},
// remove for demo
// {
// text: this.$t('pages.files.aside.deleted'),
// route: FileAsideRouteEnum.DELETED,
// icon: FileIconsEnum.TRASH,
// },
// {
// text: this.$t('pages.files.aside.favorited'),
// route: FileAsideRouteEnum.FAVORITED,
// icon: FileIconsEnum.HEART,
// },
]
},
sharedItemsOptions(): SimpleItem[] {
Expand Down
21 changes: 13 additions & 8 deletions components/views/files/controls/Controls.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<div id="file-controls">
<div class="search-container">
<InteractablesInput
size="small"
input-kind="text"
type="dark"
:placeholder="$t('pages.files.browse.search')"
class="search"
/>
<UiComingSoon
:tooltipText="this.$t('ui.coming_soon')"
:tooltipPosition="'top'"
>
<InteractablesInput
size="small"
input-kind="text"
type="dark"
:placeholder="$t('pages.files.browse.search')"
class="search"
/>
</UiComingSoon>
<!-- <InteractablesSelect
:placeholder="$t('pages.files.file_type')"
:options="[
Expand Down Expand Up @@ -43,7 +48,7 @@
type="file"
@click="resetFileUpload"
@change="handleInput"
style="width: 0; height: 0"
style="display: none"
multiple
/>
</div>
Expand Down
6 changes: 5 additions & 1 deletion components/views/files/controls/Controls.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
margin-bottom: @normal-spacing;
.search {
flex-grow: 1;
margin-right: @normal-spacing;
}
// temp styles for coming soon
span {
width: 100%;
}
//end temp
}
.add-container {
display: flex;
Expand Down