Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Trac2Gitlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stud.IP
Plugins
Trac2Gitlab
Commits
d57fb67f
Commit
d57fb67f
authored
7 months ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
adjust to stud.ip 6.0 and vue3, fixes
#65
parent
b11d07b6
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
assets/apps/dashboard.js
+10
-4
10 additions, 4 deletions
assets/apps/dashboard.js
assets/script.js
+4
-1
4 additions, 1 deletion
assets/script.js
plugin.manifest
+2
-2
2 additions, 2 deletions
plugin.manifest
views/dashboard/index.php
+2
-2
2 additions, 2 deletions
views/dashboard/index.php
with
18 additions
and
9 deletions
assets/apps/dashboard.js
+
10
−
4
View file @
d57fb67f
...
@@ -6,17 +6,15 @@ export default {
...
@@ -6,17 +6,15 @@ export default {
created
()
{
created
()
{
if
(
this
.
storedFilters
!==
null
)
{
if
(
this
.
storedFilters
!==
null
)
{
Object
.
entries
(
this
.
storedFilters
).
forEach
(([
filter
,
value
])
=>
{
Object
.
entries
(
this
.
storedFilters
).
forEach
(([
filter
,
value
])
=>
{
this
.
$set
(
this
.
filters
,
filter
,
value
)
;
this
.
filters
[
filter
]
=
value
;
});
});
}
}
Object
.
values
(
this
.
qmLabels
).
concat
([
'
status
'
,
'
mr_status
'
]).
forEach
(
abbr
=>
{
Object
.
values
(
this
.
qmLabels
).
concat
([
'
status
'
,
'
mr_status
'
]).
forEach
(
abbr
=>
{
if
(
this
.
filters
[
abbr
]
===
undefined
)
{
if
(
this
.
filters
[
abbr
]
===
undefined
)
{
this
.
$set
(
this
.
filters
,
abbr
,
null
)
;
this
.
filters
[
abbr
]
=
null
;
}
}
});
});
this
.
$watch
(
'
filters
'
,
this
.
storeFilters
,
{
deep
:
true
});
},
},
methods
:
{
methods
:
{
getStateForIssueAndQmLabel
(
issue
,
qm
)
{
getStateForIssueAndQmLabel
(
issue
,
qm
)
{
...
@@ -102,5 +100,13 @@ export default {
...
@@ -102,5 +100,13 @@ export default {
return
filtered
;
return
filtered
;
}
}
},
watch
:
{
filters
:
{
handler
(
current
)
{
this
.
storeFilters
(
current
);
},
deep
:
true
}
}
}
}
}
This diff is collapsed.
Click to expand it.
assets/script.js
+
4
−
1
View file @
d57fb67f
...
@@ -27,7 +27,10 @@
...
@@ -27,7 +27,10 @@
...
originalData
,
...
originalData
,
...
vueAppData
...
vueAppData
});
});
createApp
(
app
).
$mount
(
node
);
app
.
el
=
node
;
createApp
(
app
);
})
})
});
});
});
});
...
...
This diff is collapsed.
Click to expand it.
plugin.manifest
+
2
−
2
View file @
d57fb67f
...
@@ -2,6 +2,6 @@ pluginname=Trac to gitlab converter
...
@@ -2,6 +2,6 @@ pluginname=Trac to gitlab converter
pluginclassname=TracToGitlabPlugin
pluginclassname=TracToGitlabPlugin
pluginclassname=StudipReleasesPlugin
pluginclassname=StudipReleasesPlugin
origin=UOL
origin=UOL
version=1.
4.7
version=1.
5
studipMinVersion=
5.3
studipMinVersion=
6.0
localedomain=trac2gitlab
localedomain=trac2gitlab
This diff is collapsed.
Click to expand it.
views/dashboard/index.php
+
2
−
2
View file @
d57fb67f
...
@@ -108,7 +108,7 @@ $vueData = [
...
@@ -108,7 +108,7 @@ $vueData = [
</tbody>
</tbody>
</table>
</table>
<
mounting-portal
mount-to=
"#sidebar"
name=
"sidebar-filter"
append
>
<
Teleport
to=
"#sidebar"
>
<div
class=
"sidebar-widget sidebar-search"
>
<div
class=
"sidebar-widget sidebar-search"
>
<div
class=
"sidebar-widget-header"
>
<?=
_
(
'Suche'
)
?>
</div>
<div
class=
"sidebar-widget-header"
>
<?=
_
(
'Suche'
)
?>
</div>
<div
class=
"sidebar-widget-content"
>
<div
class=
"sidebar-widget-content"
>
...
@@ -157,5 +157,5 @@ $vueData = [
...
@@ -157,5 +157,5 @@ $vueData = [
</label>
</label>
</div>
</div>
</div>
</div>
</
mounting-
port
al
>
</
Tele
port>
</div>
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment