fix: move provider icon inline after task title for better visibility
Place the provider logo (Google/Microsoft/Apple/Synology) right after the task title text so it's always visible and not hidden by the task-actions toolbar. Only shown on weekday slots, not in someday area. v1.15.5 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a592ac40e9
commit
08ac46bb6b
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.4",
|
"version": "1.15.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.15.4",
|
"version": "1.15.5",
|
||||||
"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.4",
|
"version": "1.15.5",
|
||||||
"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": {
|
||||||
|
|||||||
@ -7001,6 +7001,19 @@ 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>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@ -7308,23 +7321,6 @@ function TaskItem({
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Provider icon at far right (only on weekday slots, not someday) */}
|
|
||||||
{task.externalProvider && !isSomeday && (
|
|
||||||
<span
|
|
||||||
className="flex-shrink-0"
|
|
||||||
style={{ display: "inline-flex", alignItems: "center", marginLeft: "4px", opacity: 0.45, pointerEvents: "none" }}
|
|
||||||
>
|
|
||||||
{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>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user