feat(migration): add WeKan to migration page with logo
Register WeKan in the AvailableMigrators list and add the frontend migrator entry with the WeKan logo, referenced as "WeKan ®".
This commit is contained in:
parent
64aa7a9e75
commit
1a1fd780ec
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -4,6 +4,7 @@ import trelloIcon from './icons/trello.svg?url'
|
|||
import microsoftTodoIcon from './icons/microsoft-todo.svg?url'
|
||||
import vikunjaFileIcon from './icons/vikunja-file.png?url'
|
||||
import tickTickIcon from './icons/ticktick.svg?url'
|
||||
import wekanIcon from './icons/wekan.png?url'
|
||||
|
||||
export interface Migrator {
|
||||
id: string
|
||||
|
|
@ -49,4 +50,10 @@ export const MIGRATORS = {
|
|||
icon: tickTickIcon as string,
|
||||
isFileMigrator: true,
|
||||
},
|
||||
wekan: {
|
||||
id: 'wekan',
|
||||
name: 'WeKan ®',
|
||||
icon: wekanIcon,
|
||||
isFileMigrator: true,
|
||||
},
|
||||
} as const satisfies IMigratorRecord
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ import (
|
|||
"code.vikunja.io/api/pkg/modules/migration/todoist"
|
||||
"code.vikunja.io/api/pkg/modules/migration/trello"
|
||||
vikunja_file "code.vikunja.io/api/pkg/modules/migration/vikunja-file"
|
||||
"code.vikunja.io/api/pkg/modules/migration/wekan"
|
||||
"code.vikunja.io/api/pkg/version"
|
||||
|
||||
"github.com/labstack/echo/v5"
|
||||
|
|
@ -106,6 +107,7 @@ func Info(c *echo.Context) error {
|
|||
AvailableMigrators: []string{
|
||||
(&vikunja_file.FileMigrator{}).Name(),
|
||||
(&ticktick.Migrator{}).Name(),
|
||||
(&wekan.Migrator{}).Name(),
|
||||
},
|
||||
Legal: legalInfo{
|
||||
ImprintURL: config.LegalImprintURL.GetString(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue