fix: move provider icon to flex sibling of task text for reliable visibility
Provider icon is now a sibling flex item inside .weekly-task-text (same level as checkbox), not nested inside the title text span. Larger size (11px) and higher opacity (0.6) for better visibility. v1.15.8 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ecf774e0f9
commit
f6b7a5d7a2
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.15.7",
|
"version": "1.15.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.15.7",
|
"version": "1.15.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@auth/prisma-adapter": "^2.11.1",
|
"@auth/prisma-adapter": "^2.11.1",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.15.7",
|
"version": "1.15.8",
|
||||||
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -7006,20 +7006,24 @@ function TaskItem({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{task.title}
|
{task.title}
|
||||||
{task.externalProvider && !isSomeday && (
|
|
||||||
<span style={{ display: "inline-flex", alignItems: "center", marginLeft: "5px", opacity: 0.5, verticalAlign: "middle" }}>
|
|
||||||
{task.externalProvider === "google" ? (
|
|
||||||
<FontAwesomeIcon icon={faGoogle} style={{ width: 10, height: 10, color: "#4285F4" }} />
|
|
||||||
) : task.externalProvider === "outlook" ? (
|
|
||||||
<FontAwesomeIcon icon={faMicrosoft} style={{ width: 10, height: 10, color: "#0078D4" }} />
|
|
||||||
) : task.externalProvider === "apple" ? (
|
|
||||||
<FontAwesomeIcon icon={faApple} style={{ width: 10, height: 10, color: "#555" }} />
|
|
||||||
) : task.externalProvider === "synology" ? (
|
|
||||||
<FontAwesomeIcon icon={faServer} style={{ width: 10, height: 10, color: "#007AFF" }} />
|
|
||||||
) : null}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</span>
|
</span>
|
||||||
|
{task.externalProvider && !isSomeday && (
|
||||||
|
<span
|
||||||
|
className="flex-shrink-0"
|
||||||
|
title={`Synced with ${task.externalProvider === "outlook" ? "Microsoft" : task.externalProvider === "google" ? "Google" : task.externalProvider === "apple" ? "Apple" : task.externalProvider}`}
|
||||||
|
style={{ display: "inline-flex", alignItems: "center", opacity: 0.6, marginRight: "2px" }}
|
||||||
|
>
|
||||||
|
{task.externalProvider === "google" ? (
|
||||||
|
<FontAwesomeIcon icon={faGoogle} style={{ width: 11, height: 11, color: "#4285F4" }} />
|
||||||
|
) : task.externalProvider === "outlook" ? (
|
||||||
|
<FontAwesomeIcon icon={faMicrosoft} style={{ width: 11, height: 11, color: "#0078D4" }} />
|
||||||
|
) : task.externalProvider === "apple" ? (
|
||||||
|
<FontAwesomeIcon icon={faApple} style={{ width: 11, height: 11, color: "#555" }} />
|
||||||
|
) : task.externalProvider === "synology" ? (
|
||||||
|
<FontAwesomeIcon icon={faServer} style={{ width: 11, height: 11, color: "#007AFF" }} />
|
||||||
|
) : null}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{/* Subtask indicator - toggles subtask list */}
|
{/* Subtask indicator - toggles subtask list */}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user