1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-25 08:09:44 +02:00
planka/client
Mikhail Khromov bcc92dfa76 Add GitHub link field to tasks
Add a custom field named "Github Link" to tasks and display it in the frontend.

* Add `githubLink` attribute to the `Task` model in `client/src/models/Task.js`.
* Update `createTask` and `updateTask` actions in `client/src/actions/tasks.js` to handle the `githubLink` attribute.
* Add input field for `githubLink` in `CardModal` component in `client/src/components/CardModal/CardModal.jsx`.
  * Display `githubLink` as a clickable link when filled in.
  * Display a button that expands into an input field when `githubLink` is not filled in.
* Include `githubLink` attribute in card data retrieval logic in `server/api/controllers/cards/show.js`.
* Include `githubLink` attribute in card data updating logic in `server/api/controllers/cards/update.js`.
* Add validation function for `githubLink` in `client/src/utils/validator.js`.
* Add unit tests for `githubLink` field in `client/src/components/CardModal/CardModal.test.js`.
  * Test display of `githubLink` as a clickable link when filled in.
  * Test display of button to add `githubLink` when not filled in.
  * Test input field display when add `githubLink` button is clicked.
  * Test `onUpdate` call with `githubLink` when save button is clicked.
  * Test validation of `githubLink` format.
2025-02-26 21:56:32 +03:00
..
public fix: Fix path to apple-touch-icon (#948) 2024-11-18 22:43:28 +01:00
src Add GitHub link field to tasks 2025-02-26 21:56:32 +03:00
tests test: Add BDD UI tests using Playwright (#911) 2024-10-17 22:06:48 +02:00
.gitignore Set popup max-height, update public files, update dependencies 2019-10-03 20:07:41 +05:00
config-overrides.js fix: Fix paths in css files when building on windows 2023-02-22 19:59:40 +01:00
package-lock.json chore(deps): Bump path-to-regexp and express in /client (#1013) 2025-02-13 16:20:25 +01:00
package.json chore(deps): Bump nanoid in /client (#1011) 2025-02-13 16:20:04 +01:00
README.md Initial commit 2019-08-31 04:07:25 +05:00
version-template.ejs chore: Generate separate file to store version 2024-08-13 22:26:44 +02:00

Planka client