[PR #694] [MERGED] [client] feat: add a link parser for tasks #1075

Closed
opened 2026-02-04 21:48:22 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/694
Author: @HannesOberreiter
Created: 4/9/2024
Status: Merged
Merged: 4/10/2024
Merged by: @meltyshev

Base: masterHead: task-link-parser


📝 Commits (3)

  • f2072ac feat: add a link parser to tasks
  • f5f7047 fix: 🐛 hide non breakable overflowing text
  • be1afc7 fix: Use linkifyjs instead, add noreferrer

📊 Changes

6 files changed (+93 additions, -2 deletions)

View changed files

📝 client/package-lock.json (+16 -0)
📝 client/package.json (+2 -0)
📝 client/src/components/Card/Tasks.jsx (+3 -1)
📝 client/src/components/Card/Tasks.module.scss (+2 -0)
📝 client/src/components/CardModal/Tasks/Item.jsx (+2 -1)
client/src/components/Linkify.jsx (+68 -0)

📄 Description

This pull request introduces a new visual render feature aimed at improving the user experience within Planka. Additionally, it includes a small CSS enhancement to refine the appearance of overflowing text in the dashboard view.

Changes Made:

Visual Render Feature:

  • Implemented a new feature that renders tasks containing links as actual link tags.
  • Utilized a XSS parser as a security measure due to the use of dangerously set innerHTML.

LinkParserExample

CSS Enhancement:

Before:

overflow not hidden

After:

overflow hidden


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/694 **Author:** [@HannesOberreiter](https://github.com/HannesOberreiter) **Created:** 4/9/2024 **Status:** ✅ Merged **Merged:** 4/10/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `task-link-parser` --- ### 📝 Commits (3) - [`f2072ac`](https://github.com/plankanban/planka/commit/f2072acfc01791c5352c4148e39c4b25b020f9b8) feat: :sparkles: add a link parser to tasks - [`f5f7047`](https://github.com/plankanban/planka/commit/f5f70476e0033154ffdc46a58b3bc51b018766ac) fix: :bug: hide non breakable overflowing text - [`be1afc7`](https://github.com/plankanban/planka/commit/be1afc7778f4ee9026cb641d331270a6d8de3a95) fix: Use linkifyjs instead, add noreferrer ### 📊 Changes **6 files changed** (+93 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/package-lock.json` (+16 -0) 📝 `client/package.json` (+2 -0) 📝 `client/src/components/Card/Tasks.jsx` (+3 -1) 📝 `client/src/components/Card/Tasks.module.scss` (+2 -0) 📝 `client/src/components/CardModal/Tasks/Item.jsx` (+2 -1) ➕ `client/src/components/Linkify.jsx` (+68 -0) </details> ### 📄 Description This pull request introduces a new visual render feature aimed at improving the user experience within Planka. Additionally, it includes a small CSS enhancement to refine the appearance of overflowing text in the dashboard view. # Changes Made: ## Visual Render Feature: * Implemented a new feature that renders tasks containing links as actual link tags. * Utilized a XSS parser as a security measure due to the use of dangerously set innerHTML. ![LinkParserExample](https://github.com/plankanban/planka/assets/16878981/1c978530-9852-44fc-8935-92468ab1ca48) ## CSS Enhancement: ### Before: ![overflow not hidden](https://github.com/plankanban/planka/assets/16878981/7814532c-b0f5-4bd0-892f-fd5ff93720de) ### After: ![overflow hidden](https://github.com/plankanban/planka/assets/16878981/464b4713-86ad-43c2-9bd4-354d234cca80) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:48:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1075