Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 368c59a2bd | |||
| 59af6a9068 | |||
| ab46bd7341 | |||
| 3aace8cbdd | |||
| 6425546cd1 | |||
| 3664b8979d | |||
| 83732994bb | |||
| c65d09e268 | |||
| 2da2e10017 | |||
| 8da90bbc06 | |||
| ab7b1e96fe | |||
| d4adda19b3 | |||
| f4322a8d71 | |||
| ae3db9cf7f | |||
| 05ff6d483b | |||
| dfc61140ec | |||
| 4918049270 | |||
| 4001f162b6 | |||
| 7a43ca2c75 |
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
name: "New feature"
|
|
||||||
about: "Use this template if you want to request a feature"
|
|
||||||
title: "[FEATURE] "
|
|
||||||
labels:
|
|
||||||
- enhancement
|
|
||||||
---
|
|
||||||
## Feature
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
### Benefits
|
|
||||||
|
|
||||||
...
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
name: New feature
|
||||||
|
about: Use this template if you want to request a feature
|
||||||
|
title: "[FEATURE] "
|
||||||
|
labels:
|
||||||
|
- enhancement
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this feature request!
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Description
|
||||||
|
description: Describe the feature.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: benefits
|
||||||
|
attributes:
|
||||||
|
label: Benefits
|
||||||
|
description: Describe the benefits of this feature.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: extra
|
||||||
|
attributes:
|
||||||
|
label: More informations
|
||||||
|
description: If you want to share more things, this is here!
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
name: "New issue"
|
|
||||||
about: "Use this template if you have a bug"
|
|
||||||
title: "[BUG] "
|
|
||||||
labels:
|
|
||||||
- bug
|
|
||||||
---
|
|
||||||
## Issue
|
|
||||||
|
|
||||||
### Environment
|
|
||||||
|
|
||||||
* Custom menu version:
|
|
||||||
* Nextcloud version:
|
|
||||||
* PHP version:
|
|
||||||
* Web server (Nginx, Apache2):
|
|
||||||
* Web browser and version (Firefox 80, Google Chrome 74, etc):
|
|
||||||
|
|
||||||
```
|
|
||||||
Insert your configuration here. You can export the configuration using the admin page.
|
|
||||||
```
|
|
||||||
|
|
||||||
### Steps to reproduce
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
### Observed Results
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
### Expected Results
|
|
||||||
|
|
||||||
...
|
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
name: New issue
|
||||||
|
about: Use this template if you have a bug
|
||||||
|
title: "[Bug] "
|
||||||
|
labels:
|
||||||
|
- bug
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this bug report!
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: environment
|
||||||
|
attributes:
|
||||||
|
label: Environment
|
||||||
|
value: |
|
||||||
|
* Custom menu version:
|
||||||
|
* Nextcloud version:
|
||||||
|
* PHP version:
|
||||||
|
* Web server (Nginx, Apache2):
|
||||||
|
* Web browser and version (Firefox 80, Google Chrome 74, etc):
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: configuration
|
||||||
|
attributes:
|
||||||
|
label: Configuration
|
||||||
|
description: Export the configuration using the admin page and copy/paste here.
|
||||||
|
value: |
|
||||||
|
```
|
||||||
|
{
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce
|
||||||
|
description: How reproduce the bug?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: resuts
|
||||||
|
attributes:
|
||||||
|
label: Observed Results
|
||||||
|
description: What happened?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: expected
|
||||||
|
attributes:
|
||||||
|
label: Expected Results
|
||||||
|
description: What should happen?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: extra
|
||||||
|
attributes:
|
||||||
|
label: More informations
|
||||||
|
description: If you want to share more things, this is here!
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
+6
-8
@@ -7,6 +7,12 @@ pipeline:
|
|||||||
event: [tag, push, pull_request]
|
event: [tag, push, pull_request]
|
||||||
branch: [master, develop, feature/*, translations]
|
branch: [master, develop, feature/*, translations]
|
||||||
|
|
||||||
|
osv_detector:
|
||||||
|
image: gitnet.fr/deblan/docker-osv-detector:v0.9
|
||||||
|
commands:
|
||||||
|
- osv-detector package-lock.json
|
||||||
|
failure: ignore
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: gitnet.fr/deblan/devenv
|
||||||
commands:
|
commands:
|
||||||
@@ -30,14 +36,6 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
|
|
||||||
dependency_check:
|
|
||||||
image: node:16-slim
|
|
||||||
commands:
|
|
||||||
- npm audit
|
|
||||||
failure: ignore
|
|
||||||
when:
|
|
||||||
event: [pull_request]
|
|
||||||
|
|
||||||
package:
|
package:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: gitnet.fr/deblan/devenv
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## 3.5.1
|
||||||
|
### Added
|
||||||
|
* add translations (thanks to p-bo adn gallegonovato)
|
||||||
|
### Fixed
|
||||||
|
* fix #189: sorting not applied on mobile
|
||||||
|
|
||||||
## 3.5.0
|
## 3.5.0
|
||||||
### Added
|
### Added
|
||||||
* add dependency check (ci)
|
* add dependency check (ci)
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ Notice
|
|||||||
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
|
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
|
||||||
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>3.5.0</version>
|
<version>3.5.1</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||||
<namespace>SideMenu</namespace>
|
<namespace>SideMenu</namespace>
|
||||||
|
|||||||
+10
-3
@@ -53,6 +53,7 @@
|
|||||||
:aria-label="appLabel(app)"
|
:aria-label="appLabel(app)"
|
||||||
:aria-current="app.active ? 'page' : false"
|
:aria-current="app.active ? 'page' : false"
|
||||||
:href="app.href"
|
:href="app.href"
|
||||||
|
:style="makeStyle(app)"
|
||||||
class="app-menu-popover-entry">
|
class="app-menu-popover-entry">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }">
|
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }">
|
||||||
@@ -110,13 +111,19 @@ export default {
|
|||||||
this.observer.disconnect()
|
this.observer.disconnect()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
appLabel() {
|
appLabel(app) {
|
||||||
return (app) => app.name
|
return app.name
|
||||||
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
|
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
|
||||||
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
|
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
|
||||||
},
|
},
|
||||||
appList() {
|
appList() {
|
||||||
return Object.values(this.apps)
|
let items = Object.values(this.apps)
|
||||||
|
|
||||||
|
items.sort((a, b) => {
|
||||||
|
return a.order < b.order ? -1 : 1;
|
||||||
|
})
|
||||||
|
|
||||||
|
return items
|
||||||
},
|
},
|
||||||
mainAppList() {
|
mainAppList() {
|
||||||
return this.appList().slice(0, this.appLimit)
|
return this.appList().slice(0, this.appLimit)
|
||||||
|
|||||||
@@ -90,4 +90,4 @@
|
|||||||
"Applications kept in the top menu": "Aplikace ponechané v horní nabídce"
|
"Applications kept in the top menu": "Aplikace ponechané v horní nabídce"
|
||||||
"Applications kept in the top menu but also shown in side menu": "Aplikace ponechané v horní nabídce ale také zobrazené v té boční"
|
"Applications kept in the top menu but also shown in side menu": "Aplikace ponechané v horní nabídce ale také zobrazené v té boční"
|
||||||
"These applications must be selected in the previous option.": "Tyto aplikace je třeba vybrat v předchozí volbě."
|
"These applications must be selected in the previous option.": "Tyto aplikace je třeba vybrat v předchozí volbě."
|
||||||
"Hide labels on mouse over": "Hide labels on mouse over"
|
"Hide labels on mouse over": "Skrýt popisky při najetím ukazatele myši"
|
||||||
|
|||||||
@@ -90,4 +90,4 @@
|
|||||||
"Applications kept in the top menu": "Aplicaciones guardadas en el menú superior"
|
"Applications kept in the top menu": "Aplicaciones guardadas en el menú superior"
|
||||||
"Applications kept in the top menu but also shown in side menu": "Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral"
|
"Applications kept in the top menu but also shown in side menu": "Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral"
|
||||||
"These applications must be selected in the previous option.": "Estas aplicaciones deben ser seleccionadas en las opciones anteriores."
|
"These applications must be selected in the previous option.": "Estas aplicaciones deben ser seleccionadas en las opciones anteriores."
|
||||||
"Hide labels on mouse over": "Hide labels on mouse over"
|
"Hide labels on mouse over": "Ocultar las etiquetas al pasar el ratón"
|
||||||
|
|||||||
Reference in New Issue
Block a user