mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #1044] [CLOSED] Add GitHub link field to tasks #1173
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/1044
Author: @VeryBigSad
Created: 2/26/2025
Status: ❌ Closed
Base:
master← Head:feature-github-link-in-cards📝 Commits (1)
bcc92dfAdd GitHub link field to tasks📊 Changes
6 files changed (+193 additions, -2 deletions)
View changed files
📝
client/src/components/CardModal/CardModal.jsx(+39 -1)➕
client/src/components/CardModal/CardModal.test.js(+120 -0)📝
client/src/models/Task.js(+1 -0)📝
client/src/utils/validator.js(+10 -0)📝
server/api/controllers/cards/show.js(+7 -1)📝
server/api/controllers/cards/update.js(+16 -0)📄 Description
Add a custom field named "Github Link" to tasks and display it in the frontend.
githubLinkattribute to theTaskmodel inclient/src/models/Task.js.createTaskandupdateTaskactions inclient/src/actions/tasks.jsto handle thegithubLinkattribute.githubLinkinCardModalcomponent inclient/src/components/CardModal/CardModal.jsx.githubLinkas a clickable link when filled in.githubLinkis not filled in.githubLinkattribute in card data retrieval logic inserver/api/controllers/cards/show.js.githubLinkattribute in card data updating logic inserver/api/controllers/cards/update.js.githubLinkinclient/src/utils/validator.js.githubLinkfield inclient/src/components/CardModal/CardModal.test.js.githubLinkas a clickable link when filled in.githubLinkwhen not filled in.githubLinkbutton is clicked.onUpdatecall withgithubLinkwhen save button is clicked.githubLinkformat.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.