Commit graph

10 commits

Author SHA1 Message Date
d921231017
refactor(ui): change type cardModal to cardForm
- Change type cardModal to cardForm because it is a Form and not a
  Modal.
- Text the card's details directly from the form items when the Save
  button is pressed instead of updating fields in the cardForm value
  every time a change is made to the input fields.
2024-01-12 12:33:18 +00:00
e961bfc756
refactor: add methods to get focused object's ID
Created extra methods to get the IDs of the card or status in focus in
order to reduce repeated code.
2024-01-11 09:47:51 +00:00
a632c57655
fix(ui): set the card modal's title.
All checks were successful
/ test (pull_request) Successful in 32s
/ lint (pull_request) Successful in 45s
Set the card modal's title based on whether the card is being created or
edited.
2024-01-10 18:49:27 +00:00
d167039176
feat(ui): add support for editing cards
All checks were successful
/ test (pull_request) Successful in 3m13s
/ lint (pull_request) Successful in 1m4s
This commit adds support for editing an existing card's title and
description. The (previously named) input modal has been enhanced to
support both creating and editing cards.

Part of apollo/pelican#14
2024-01-10 18:21:14 +00:00
f956b7da59
refactor: change content field to description
Change the content field to description for the card type in preparation
for supporting card notes.
2024-01-10 12:12:54 +00:00
aae2d24594
fix(ui): improve the creating cards input modal
All checks were successful
/ test (pull_request) Successful in 33s
/ lint (pull_request) Successful in 42s
This commit improves the look, feel and functionality of the custom
modal that creates new cards on the board.

Changes:

- (BREAKING) The 'c' key is now used to create new cards.
- An extra field is added for adding the card's description.
- Improvements made to the styling of the modal.
- The fields are reset when the user finishes with the form.
2024-01-10 11:20:15 +00:00
ff676e8dc5
feat(ui): add new board mode 'Status Selection'
All checks were successful
/ test (pull_request) Successful in 30s
/ lint (pull_request) Successful in 43s
Replace the existing 'move' tview Page with a new board mode called
'Status Selection'. This mode is used to move cards between statuses.

Resolves apollo/pelican#11
2024-01-09 15:51:23 +00:00
c7bb499f0d
feat(ui): New primitive for columns
All checks were successful
/ test (pull_request) Successful in 3m50s
/ lint (pull_request) Successful in 3m55s
Created a new tview primitive for the columns for better control over
style and function.
2024-01-08 04:52:13 +00:00
fc5fa7b0ca
feat(BREAKING): specify project path
All checks were successful
/ test (pull_request) Successful in 28s
/ lint (pull_request) Successful in 37s
This PR allows users to specify the path to the database file
Pelican now expects the user to specify the path to the project's
database file which allows users to open different projects.

This is a breaking change because Pelican no longer opens the
default path automatically. If no path is set then Pelican stops
with an error message.
2023-12-12 12:47:58 +00:00
b983f8930e
feat: add the pelican project 2023-05-06 12:49:40 +01:00