Skip to content

Commit

Permalink
fix: Fix broken settings
Browse files Browse the repository at this point in the history
- Fix sticky scroll styling
- Fix broken settings
- Bump version to 1.14.0
  • Loading branch information
CrawlerCode committed Feb 9, 2024
1 parent a0a4377 commit 037aa99
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "redmine-time-tracking",
"description": "Redmine Time Tracking",
"version": "1.14.0",
"version": "1.14.1",
"author": {
"name": "CrawlerCode",
"email": "[email protected]"
Expand Down
57 changes: 31 additions & 26 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
{
"manifest_version": 3,
"version": "1.14.0",
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"default_locale": "en",
"icons": {
"16": "logo16.png",
"48": "logo48.png",
"128": "logo128.png"
},
"author": "[email protected]",
"homepage_url": "https://github.com/CrawlerCode/redmine-time-tracking",
"action": {
"default_title": "__MSG_extName__",
"default_popup": "index.html?location=popup"
},
"options_ui": {
"page": "index.html?location=options#/settings",
"open_in_tab": false
},
"background": {
"service_worker": "background.js"
},
"permissions": ["storage"],
"host_permissions": ["http://*/*", "https://*/*"]
}
"manifest_version": 3,
"version": "1.14.1",
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"default_locale": "en",
"icons": {
"16": "logo16.png",
"48": "logo48.png",
"128": "logo128.png"
},
"author": "[email protected]",
"homepage_url": "https://github.com/CrawlerCode/redmine-time-tracking",
"action": {
"default_title": "__MSG_extName__",
"default_popup": "index.html?location=popup"
},
"options_ui": {
"page": "index.html?location=options#/settings",
"open_in_tab": false
},
"background": {
"service_worker": "background.js"
},
"permissions": [
"storage"
],
"host_permissions": [
"http://*/*",
"https://*/*"
]
}
4 changes: 2 additions & 2 deletions src/components/issues/IssuesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const IssuesList = ({ account, issues: rawIssues, issuePriorities, projectVersio
<Fragment key={project.id}>
<div
className={clsx("flex justify-between gap-x-2", {
"sticky top-0 z-[5] -my-1 bg-white py-1 shadow-md shadow-white dark:bg-gray-800 dark:shadow-gray-800": settings.style.stickyScroll,
"sticky top-0 z-[5] -mx-2 -my-1 bg-white px-2 py-1 shadow shadow-white dark:bg-gray-800 dark:shadow-gray-800": settings.style.stickyScroll,
})}
>
<a href={`${settings.redmineURL}/projects/${project.id}`} target="_blank" tabIndex={-1} className="max-w-fit truncate text-xs text-slate-500 hover:underline dark:text-slate-300">
Expand All @@ -55,7 +55,7 @@ const IssuesList = ({ account, issues: rawIssues, issuePriorities, projectVersio
{settings.style.groupIssuesByVersion && versions.length > 0 && (
<div
className={clsx({
"sticky top-6 z-[5] -my-1 bg-white py-1 shadow-md shadow-white dark:bg-gray-800 dark:shadow-gray-800": settings.style.stickyScroll,
"shadow- sticky top-6 z-[5] -mx-2 -my-1 bg-white px-2 py-1 shadow shadow-white dark:bg-gray-800 dark:shadow-gray-800": settings.style.stickyScroll,
})}
>
{version && <VersionTooltip version={version} />}
Expand Down
8 changes: 0 additions & 8 deletions src/provider/SettingsProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ export const defaultSettings: Settings = {
language: "browser",
redmineURL: "",
redmineApiKey: "",
options: {
autoPauseOnSwitch: true,
extendedSearch: true,
roundTimeNearestQuarterHour: false,
addSpentTimeForOtherUsers: false,
cacheComments: true,
addNotes: false,
},
features: {
autoPauseOnSwitch: true,
extendedSearch: true,
Expand Down

0 comments on commit 037aa99

Please sign in to comment.