1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 15:49:46 +02:00
planka/server
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
..
api Add GitHub link field to tasks 2025-02-26 21:56:32 +03:00
config fix: Secure S3 attachments, bump SDK, refactoring 2024-11-12 15:58:22 +01:00
db feat: Ability to set list color indicator (#1033) 2025-02-25 15:58:59 +01:00
private/attachments feat: Remove attachments from public access 2022-04-26 22:20:20 +05:00
public feat: Remove attachments from public access 2022-04-26 22:20:20 +05:00
test feat: Modify logger to log to file that supports fail2ban (#284) 2022-08-23 03:42:56 +05:00
utils feat: Configurable file storage locations (#886) 2024-09-20 20:29:11 +02:00
views Docker, update readme, update dependencies 2019-10-01 04:18:33 +05:00
.editorconfig Initial commit 2019-08-31 04:07:25 +05:00
.env.sample fix: Secure S3 attachments, bump SDK, refactoring 2024-11-12 15:58:22 +01:00
.eslintignore ref: Ignore public js linting (#278) 2022-08-08 17:58:41 +05:00
.gitignore meta: Fix ignore files for logs 2022-08-23 00:51:33 +02:00
.npmrc Update server scaffold 2019-10-14 21:50:52 +05:00
.sailsrc Docker, update readme, update dependencies 2019-10-01 04:18:33 +05:00
app.js feat: Add gallery for attachments 2022-06-20 18:27:39 +02:00
get-config.js feat: Add gallery for attachments 2022-06-20 18:27:39 +02:00
package-lock.json chore(deps): Bump path-to-regexp and sails in /server (#1012) 2025-02-13 16:20:13 +01:00
package.json chore(deps): Bump path-to-regexp and sails in /server (#1012) 2025-02-13 16:20:13 +01:00
README.md Initial commit 2019-08-31 04:07:25 +05:00

Planka server