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

feat: rewrite file list #3746

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"@fontsource/dancing-script": "^5.1.0",
"@libresign/vue-pdf-editor": "^1.2.7",
"@marionebl/option": "^1.0.8",
"@mdi/js": "^7.4.47",
"@mdi/svg": "^7.4.47",
"@nextcloud/auth": "^2.4.0",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/dialogs": "^5.3.7",
Expand Down
8 changes: 8 additions & 0 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
<FolderIcon :size="20" />
</template>
</NcAppNavigationItem>
<NcAppNavigationItem id="fileslist"
:to="{ name: 'fileslist' }"
:name="t('libresign', 'New files')"
@click="unselectFile">
<template #icon>
<FolderIcon :size="20" />
</template>
</NcAppNavigationItem>
<NcAppNavigationItem id="validation"
:to="{name: 'validation'}"
:name="t('libresign', 'Validate')"
Expand Down
11 changes: 11 additions & 0 deletions src/helpers/logger.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* SPDX-FileCopyrightText: 2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { getLoggerBuilder } from '@nextcloud/logger'

export default getLoggerBuilder()
.setApp('libresign')
.detectUser()
.build()
5 changes: 5 additions & 0 deletions src/router/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ const router = new Router({
name: 'timeline',
component: () => import('../views/Timeline/Timeline.vue'),
},
{
path: '/f/filelist/sign',
name: 'fileslist',
component: () => import('../views/FilesList/FilesList.vue'),
},
{
path: '/f/request',
name: 'requestFiles',
Expand Down
12 changes: 12 additions & 0 deletions src/store/actionsmenu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* SPDX-FileCopyrightText: 2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { defineStore } from 'pinia'

export const useActionsMenuStore = defineStore('actionsmenu', {
state: () => ({
opened: null,
}),
})
Loading
Loading