Add a TextView primitive next to the status bar that displays the
board's current mode. In this commit the baseFlex is replaced with a
Grid primitive to prevent the need to add more Flex primitives.
Part of apollo/pelican#23
Changes:
- Rename the UI type to App.
- Rename NewUI() to NewApp().
- Move init functions to internal/ui/ui.go.
- Call app's initialisation function from main.
- Move the keymapping functionalities to internal/ui/keymappings.go.
- Add documentation for updateColumn() and updateAllColumns().
- Applied gofmt.
Also:
- Build(mage): optionally include -a and/or -v during go build.
This commit updates the delete card modal so that the prompt includes
the title of the card that is about to be deleted. This is to give the
user the confidence that they are deleting the intended card.
The modal has also been updated to match the current theme of the
application.
Resolvesapollo/pelican#18
This commit adds support for viewing all the details of a card in a
separate widget. The user simply needs to press the Enter key to view
the card. To return to the Kanban board the user needs to press the
Escape key.
Part of apollo/pelican#16
- 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.
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
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.
Replace the existing 'move' tview Page with a new board mode called
'Status Selection'. This mode is used to move cards between statuses.
Resolvesapollo/pelican#11
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.