feat: delete cards #6

Closed
dananglin wants to merge 35 commits from delete-cards into main

35 commits

Author SHA1 Message Date
5005550cee
fix: delete cards 2023-04-28 22:38:26 +01:00
4086a46065
fix: update db path 2023-04-26 14:46:50 +01:00
83c3d58ec9
chore: project rename and license change
- Changed the name of the project to pelican
- Changed the license to MIT.
2023-04-26 14:41:50 +01:00
3169d341d2
refactor: change Status.Order to Status.Position
Change Status.Order to Status.Position, and the ByStatusOrder type to
ByStatusPosition to make it clearer that status' are ordered by their
position on the Kanban board.
2023-04-26 11:23:48 +01:00
e13d3e2085
refactor: renamed internal package; fixed linting
- Renamed internal package database to db.
- Fixed linting issues from golangci-lint.
- Fixed nil pointer exception in status.go
2023-04-26 11:11:49 +01:00
571bce3a16
feat: move a card between statuses
Add a very simple interface to allow a user to move a
card from one status to another.
2023-04-26 08:32:33 +01:00
0e7cb2388d
refactor: add cards to card column inside newColumn() 2023-04-25 04:57:24 +01:00
3536c930f4
use j and k to navigate through the cards 2023-04-25 02:42:41 +01:00
7e5e3dc76c
refactor: rename updateBoard to updateColumns 2023-04-24 08:36:22 +01:00
283da856ff
fix: improve keyboard capture events 2023-04-23 04:27:16 +01:00
b16fe8eb60
update comments 2023-04-23 00:35:08 +01:00
4f621b0280
custom modalinput from witchard/toukan 2023-04-23 00:17:34 +01:00
0523cd661e
refactoring the ui package 2023-04-22 19:18:47 +01:00
22e1f10079
rename App struct to UI 2023-04-22 17:50:27 +01:00
b07ce3f415
refactor: new Board type in board package
Create a new Board type in the board package which is a wrapper around
the BoltDB db pointer to remove direct access to the BoltDB database
from the UI package.
2023-04-22 13:18:13 +01:00
cf7c61637f
chore: update project
- update dependencies.
- a little bit of project restructuring.
- update test to make sure they pass.
- move magefile.go to magefiles directory.
2023-04-22 06:19:50 +01:00
6e26943db0
update dependencies and a tiny bit of refactoring 2023-02-27 00:51:48 +00:00
3baa13b05f
chore: updated go module 2023-02-14 07:54:10 +00:00
0839d566b5
refactor: replace scuffed UI with less-scuffed UI. 2021-10-09 16:22:18 +01:00
c43d8889df
refactor: project rename 2021-09-25 13:13:41 +01:00
0e186be66b
refactor: create BoltItem interface
Create a BoltItem interface which is used to make
the database fucntions more generic.

As part of this change, the Status and Card types
have migrated back into the board package.
2021-09-23 21:21:44 +01:00
3e5cd598d0
refactor: project restructure
- Introduced internal packages for different components of the kanban
  board.
- Simplified and refactored the database tests based on linting feedback.
- Add tests for the board package.
2021-09-18 01:03:09 +01:00
eac8b17845
feat: created a very scuffed UI 2021-09-16 06:51:21 +01:00
445a953cfa
checkpoint: read/initialise statuses 2021-09-15 10:23:19 +01:00
839467c557
refactor: lint fixes with golangci-lint 2021-09-15 10:09:48 +01:00
7d97ed4834
style: go fmt and goimports 2021-09-15 05:51:22 +01:00
e70d7c5611
feat: add database initialisation 2021-09-15 00:25:05 +01:00
279fadefdc
checkpoint 2021-09-14 21:02:52 +01:00
f25bdcbf84
build: explicitly specify binary file 2021-09-14 20:58:54 +01:00
20fe79b6bd
chore: update module 2021-08-29 16:06:53 +01:00
a170f90831
build: add a simple magefile 2021-08-18 01:40:12 +01:00
5dd56ae8ad
test: move test databases 2021-08-16 02:48:57 +01:00
d8f2f1451a
fix: add main function 2021-08-16 02:41:31 +01:00
c336fcd82b
feat: add database functions
Add database functions to read and write statuses to the status bucket
in a BoltDB database.

Add database functions to read and write cards to the card bucket.

Use encoding/gob to encode the Status and Card values before writing
them to the database.
2021-08-16 01:56:56 +01:00
81f18e5102 Add LICENSE 2021-08-12 18:39:29 +00:00