Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anfragen-pool-ux-improver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Seipel
anfragen-pool-ux-improver
Compare revisions
b6658ea5b2aaa8b982634bfcaef2c34bf2fd95ca to 3a5a6332f03b36389457f339b81c95628ecbfe03
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
Jan.Seipel/test-ap-ux-improver
Select target project
No results found
3a5a6332f03b36389457f339b81c95628ecbfe03
Select Git revision
Branches
dev
main
2 results
Swap
Target
Jan.Seipel/test-ap-ux-improver
Select target project
Jan.Seipel/test-ap-ux-improver
1 result
b6658ea5b2aaa8b982634bfcaef2c34bf2fd95ca
Select Git revision
Branches
dev
main
2 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
Überflüssigen Code entfernt
· e5965104
Jan Seipel
authored
1 year ago
e5965104
Einhorn für Lorenz
· 457dbf23
Jan Seipel
authored
1 year ago
457dbf23
Version geändert
· 6de33856
Jan Seipel
authored
1 year ago
6de33856
Merge branch 'update-after-changes-settings-2024-05-06' into 'main'
· 3a5a6332
Jan Seipel
authored
1 year ago
Update after changes settings 2024 05 06 See merge request
!1
3a5a6332
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test-ap-ux-imporver.user.js
+7
-23
7 additions, 23 deletions
test-ap-ux-imporver.user.js
with
7 additions
and
23 deletions
test-ap-ux-imporver.user.js
View file @
3a5a6332
// ==UserScript==
// @name test-ap-ux-improver
// @namespace https://test-anfragen-pool.swrapp.net/*
// @version 2024-05-07_11-01
// @require https://code.jquery.com/jquery-1.12.4.min.js#sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=
// @version 2024-05-07_15-46
// @resource DASHBOARD_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-dashboard.css
// @resource TICKETZOOM_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketzoom.css
// @resource TICKETCLOSE_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketclose.css
// @resource TICKETCOMPOSE_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketcompose.css
// @resource TICKETEMAILOUTBOUND_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketemailoutbound.css
// @resource TICKETFREETEXT_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketfreetext.css
// @resource TICKETNOTE_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketnote.css
// @resource TICKETPHONE_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketphone.css
// @resource TICKETPHONEOUTBOUND_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketphoneoutbound.css
// @resource TICKETPHONEINBOUND_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketphoneinbound.css
// @description passt den IDA-Anfragen-Pool an die Anforderungen von IDA-Desk an
// @author Jan Seipel
...
...
@@ -22,8 +15,8 @@
// @grant GM_getResourceText
// @grant GM_addStyle
// ==/UserScript==
// ==/UserScript==
window
.
addEventListener
(
'
load
'
,
function
()
{
'
use strict
'
;
...
...
@@ -35,16 +28,9 @@ window.addEventListener('load', function() {
// Alle verfügbaren Stylesheets & deren URL-Identifier
const
stylings
=
[
//{"id": "AgentDashboard", "stylesheet": "DASHBOARD_CSS"},
{
"
id
"
:
"
AgentTicketZoom
"
,
"
stylesheet
"
:
"
TICKETZOOM_CSS
"
},
{
"
id
"
:
"
AgentTicketClose
"
,
"
stylesheet
"
:
"
TICKETCLOSE_CSS
"
},
{
"
id
"
:
"
AgentTicketCompose
"
,
"
stylesheet
"
:
"
TICKETCOMPOSE_CSS
"
},
{
"
id
"
:
"
AgentTicketEmailOutbound
"
,
"
stylesheet
"
:
"
TICKETEMAILOUTBOUND_CSS
"
},
{
"
id
"
:
"
AgentTicketFreeText
"
,
"
stylesheet
"
:
"
TICKETFREETEXT_CSS
"
},
{
"
id
"
:
"
AgentTicketNote
"
,
"
stylesheet
"
:
"
TICKETNOTE_CSS
"
},
{
"
id
"
:
"
AgentTicketPhone
"
,
"
stylesheet
"
:
"
TICKETPHONE_CSS
"
},
{
"
id
"
:
"
AgentTicketPhoneOutbound
"
,
"
stylesheet
"
:
"
TICKETPHONEOUTBOUND_CSS
"
},
{
"
id
"
:
"
AgentTicketPhoneInbound
"
,
"
stylesheet
"
:
"
TICKETPHONEINBOUND_CSS
"
}
]
// Dashboard-Stylesheet auf allen Seiten laden,
...
...
@@ -62,11 +48,9 @@ window.addEventListener('load', function() {
// im neuen Fenster öffnen
document
.
querySelector
(
"
#ToolBar li.PhoneTicket > a
"
).
setAttribute
(
"
target
"
,
"
_blank
"
)
// ====== AgentTicketClose ======
if
(
URL
.
includes
(
"
AgentTicketClose
"
))
{
// Einhorn hinter Lorenz' Namen
const
lorenz
=
[...
document
.
querySelectorAll
(
"
div[title='Lorenz Bockisch']
"
)]
lorenz
.
map
((
e
)
=>
e
.
innerText
+=
"
🦄
"
)
// Subject und Content vorausfüllen
$
(
"
#Subject
"
).
val
(
"
Ticket geschlossen
"
);
$
(
"
iframe
"
)[
0
].
contentWindow
.
document
.
getElementsByTagName
(
"
body
"
)[
0
].
append
(
"
Ticket geschlossen
"
)
}
},
false
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.