Commit graph

7 commits

Author SHA1 Message Date
73547c49c6
refactor: add the Identity type
All checks were successful
/ test (pull_request) Successful in 32s
/ lint (pull_request) Successful in 36s
Add a new Identity type with the required methods so that now the board
types (Card, Status and soon Tag) can automatically satisfy the BoltItem
interface.
2024-01-23 19:42:35 +00:00
5189ebe7bb
refactor: remove duplicate write function in db
All checks were successful
/ test (pull_request) Successful in 40s
/ lint (pull_request) Successful in 42s
Remove the original 'Write' function from the db package and rename the
'WriteMany' function to 'Write' as it can already write one or many Bolt
items to the database.

Also update the test suites and add more coverage in the board package.
2024-01-23 18:31:01 +00:00
dbb37a1060
refactor: a lil bit of refactoring
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.
2024-01-14 13:46:42 +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
af7f120616
style: gofmt
All checks were successful
/ test (pull_request) Successful in 29s
/ lint (pull_request) Successful in 37s
2023-12-12 14:52:03 +00:00
723e9d9d1e
feat: add timestamp for card creation
All checks were successful
/ test (pull_request) Successful in 29s
/ lint (pull_request) Successful in 36s
Add the timestamp for a created card in the format YYYY-MM-DD.
This is in preparation for the UI rework.
2023-12-12 14:42:45 +00:00
b983f8930e
feat: add the pelican project 2023-05-06 12:49:40 +01:00