Skip to content

Instantly share code, notes, and snippets.

@SxDx
Last active September 28, 2022 10:28
Show Gist options
  • Save SxDx/6beacc7a70c0c1b5460fd3a1d9466abd to your computer and use it in GitHub Desktop.
Save SxDx/6beacc7a70c0c1b5460fd3a1d9466abd to your computer and use it in GitHub Desktop.
Custom jira app
// macOS
nativefier https://canvadev.atlassian.net/jira/software/c/projects/RMV/boards/1175 --icon ~/Pictures/icons/jira.png --name "Jira" --single-instance --internal-urls ".*?(canvadev\.atlassian\.net|www.google.com\/a\/canva.com\/acs).*?" --inject ~/Documents/jira.css --title-bar-style="hiddenInset"
// Windows
nativefier https://canvadev.atlassian.net/jira/software/c/projects/RMV/boards/1175 --icon ~/Pictures/icons/jira.png --name "Jira" --single-instance --internal-urls ".*?(canvadev\.atlassian\.net|www.google.com\/a\/canva.com\/acs).*?" --inject ~/Documents/jira.css --platform="windows"
// Linux
nativefier https://canvadev.atlassian.net/jira/software/c/projects/RMV/boards/1175 --icon ~/Pictures/icons/jira.png --name "Jira" --single-instance --internal-urls ".*?(canvadev\.atlassian\.net|www.google.com\/a\/canva.com\/acs).*?" --inject ~/Documents/jira.css --platform="linux"
#ghx-modes-tools {
display: none !important;
}
#ghx-controls-buttons {
display: none !important;
}
button[aria-label="Add Checklist"] {
display: none !important;
}
button[aria-label="Create subtask"] {
display: none !important;
}
nav[aria-label="Primary"] > div {
display: none !important;
}
.ghx-stat-1 {
display: none !important;
}
.ghx-grabber {
display: none !important;
}
.ghx-issue {
padding: 12px !important;
}
.ghx-parent-group {
padding: 3px !important;
}
#ak-jira-navigation > header > div > span:nth-child(3) {
display: none !important;
}
#ak-jira-navigation > header > div > span:nth-child(5) {
display: none !important;
}
#jira-issue-header-actions > div > div > div:nth-child(1) {
display: none !important;
}
#jira-issue-header
> div
> div
> div
> div
> div
> div
> div:nth-child(2)
> div
> div:nth-child(2) {
display: none !important;
}
div[data-testid="issue.views.issue-base.context.ecosystem-glance-panel"] {
display: none !important;
}
#ak-jira-navigation > header > nav > div:nth-child(1) {
display: none !important;
}
#ak-jira-navigation > header > nav > a {
display: none !important;
}
/* Most likely to break */
._i0dlkzd5 .kZbNDi {
display: none !important;
}
._i0dlkzd5 .cPyzab {
display: none !important;
}
button[data-testid="share-button.ui.pre-share-view.button"] {
display: none !important;
}
/* Most likely to break */
/* Dragabble header */
nav[aria-label="Primary"] {
-webkit-app-region: drag;
}
/* Dragabble header */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment