Compare commits
3 commits
4bb9a19f7a
...
d2d9aa70ca
Author | SHA1 | Date | |
---|---|---|---|
d2d9aa70ca | |||
7a707c9fb0 | |||
0d88ee76e2 |
38
cliff.toml
38
cliff.toml
|
@ -1,5 +1,9 @@
|
|||
# configuration file for git-cliff
|
||||
# see https://github.com/orhun/git-cliff#configuration-file
|
||||
# git-cliff ~ configuration file
|
||||
# https://git-cliff.org/docs/configuration
|
||||
#
|
||||
# Lines starting with "#" are comments.
|
||||
# Configuration options are organized into tables and keys.
|
||||
# See documentation for more information on available options.
|
||||
|
||||
[changelog]
|
||||
# changelog header
|
||||
|
@ -8,15 +12,15 @@ header = """
|
|||
All notable changes to this project will be documented in this file.\n
|
||||
"""
|
||||
# template for the changelog body
|
||||
# https://tera.netlify.app/docs/#introduction
|
||||
# https://tera.netlify.app/docs/
|
||||
body = """
|
||||
{% if version %}\
|
||||
## [{{ version }}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
## \\[[{{ version | trim_start_matches(pat="v") }}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/{{ version }})] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
{% else %}\
|
||||
## [unreleased]
|
||||
{% endif %}\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}\n
|
||||
### {{ group | striptags | trim | upper_first }}\n
|
||||
{% for commit in commits %}\
|
||||
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first | trim_end }}
|
||||
{% endfor %}\
|
||||
|
@ -38,24 +42,24 @@ filter_unconventional = false
|
|||
split_commits = false
|
||||
# regex for preprocessing the commit messages
|
||||
commit_preprocessors = [
|
||||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))" }, # replace issue numbers
|
||||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/issues/${2}))" },
|
||||
]
|
||||
# regex for parsing and grouping commits
|
||||
commit_parsers = [
|
||||
{ message = "^feat", group = "Features" },
|
||||
{ message = "^fix", group = "Bug Fixes" },
|
||||
{ message = "^doc", group = "Documentation" },
|
||||
{ message = "^perf", group = "Performance" },
|
||||
{ message = "^refactor", group = "Refactor" },
|
||||
{ message = "^style", group = "Styling" },
|
||||
{ message = "^test", group = "Testing" },
|
||||
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
|
||||
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
|
||||
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
|
||||
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
|
||||
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
|
||||
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
|
||||
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
|
||||
{ message = "^chore\\(release\\): prepare for", skip = true },
|
||||
{ message = "^chore", group = "Miscellaneous Tasks" },
|
||||
{ body = ".*security", group = "Security" },
|
||||
{ message = "^chore", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
|
||||
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
|
||||
{ message = "^[0-9]+.[0-9]+.[0-9]+", skip = true },
|
||||
{ message = "^release v0.[0-9]", skip = true },
|
||||
{ message = "^Merge branch ", skip = true },
|
||||
{ message = ".*", group = "Other", default_scope = "other" },
|
||||
{ message = ".*", group = "<!-- 9 -->✳️ Other", default_scope = "uncategorized" },
|
||||
]
|
||||
# protect breaking changes from being skipped due to matching a skipping commit_parser
|
||||
protect_breaking_commits = false
|
||||
|
@ -71,5 +75,3 @@ ignore_tags = ""
|
|||
topo_order = false
|
||||
# sort the commits inside sections by oldest/newest order
|
||||
sort_commits = "oldest"
|
||||
# limit the number of commits included in the changelog.
|
||||
# limit_commits = 42
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>/usr/space</title>
|
||||
|
||||
<!-- [INJECT-BROWSER-POLYFILL] -->
|
||||
<script type="module" src="background.js"></script>
|
||||
</head>
|
||||
</html>
|
|
@ -1,6 +1,5 @@
|
|||
import { REFRESH_TIMEOUT, API_URLS, BADGE_COLORS } from './config.js';
|
||||
|
||||
document.querySelector('html').setAttribute('lang', browser.i18n.getUILanguage());
|
||||
// [INJECT-BROWSER-POLYFILL]
|
||||
|
||||
browser.runtime.onInstalled.addListener(async (details) => {
|
||||
if (details.reason === 'install') {
|
||||
|
|
63
src/extension.css
Normal file
63
src/extension.css
Normal file
|
@ -0,0 +1,63 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* Global */
|
||||
html,
|
||||
body {
|
||||
background: transparent;
|
||||
box-sizing: border-box;
|
||||
color: #222426;
|
||||
cursor: default;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font: caption;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
/* Panel Section - List */
|
||||
.panel-section-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.panel-list-item {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 24px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.panel-list-item:hover {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
border-block: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.panel-list-item:hover:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.panel-list-item > .icon {
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.panel-list-item > .text {
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
.panel-list-item > .text-shortcut {
|
||||
color: #808080;
|
||||
font-family: "Lucida Grande", caption;
|
||||
font-size: .847em;
|
||||
justify-content: flex-end;
|
||||
}
|
|
@ -8,10 +8,10 @@
|
|||
"96": "icons/favicon.svg"
|
||||
},
|
||||
"background": {
|
||||
"page": "background.html"
|
||||
"type": "module",
|
||||
"scripts": ["background.js"]
|
||||
},
|
||||
"action": {
|
||||
"browser_style": true,
|
||||
"default_title": "__MSG_buttonTitle__",
|
||||
"default_icon": "icons/favicon.svg",
|
||||
"default_area": "navbar",
|
||||
|
@ -32,7 +32,7 @@
|
|||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "{c9a907ad-a047-4cf6-8b5d-95097d31aa5b}",
|
||||
"strict_min_version": "109.0"
|
||||
"strict_min_version": "112.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>/usr/space</title>
|
||||
<link rel="stylesheet" href="extension.css" />
|
||||
<link rel="stylesheet" href="popup.css" />
|
||||
|
||||
<template id="template-icon-closed">
|
||||
|
@ -80,7 +81,7 @@
|
|||
</section>
|
||||
<section>
|
||||
<h2 id="links"></h2>
|
||||
<ul id="link-list" class="panel-section panel-section-list"></ul>
|
||||
<ul id="link-list" class="panel-section-list"></ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2 id="nextEvent"></h2>
|
||||
|
|
Loading…
Reference in a new issue