Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shellyln/kanban-board-for-kintone

Kanban board for kintone
https://github.com/shellyln/kanban-board-for-kintone

javascript kanban kanban-board kintone lisp liyad menneu

Last synced: 7 days ago
JSON representation

Kanban board for kintone

Awesome Lists containing this project

README

        

# ✴️ Kanban Board for [Ménneu Reporting App for kintone](https://github.com/shellyln/menneu-reporting-app-for-kintone)
Kanban boad app for kintone.

## πŸ“ Features

* Kanban body text written in Markdown
* Due date
* Customizable `status` and lane (`teams`/`stories`)
* Status and lane changing by DnD.
* Show QR code

## πŸ–Ό Gallery

### Kanban board
![Kanban board](./images/kanban-board-1.png)

### Calendar view
![Calendar view](./images/calendar-view.png)

### List view
![List view](./images/list-view.png)

## πŸ’» Requiments
* [MΓ©nneu Reporting App for kintone](https://github.com/shellyln/menneu-reporting-app-for-kintone)
* kintone (>=Professional:en / >=Standard:jp)
* browser
* Google Chrome: latest
* Firefox: latest

------------------------

## πŸ”Ά Kanban Board App (App that uses the ReportingApp)

### Fields

|Field Code |Caption |Value |Type |Required|
|------------------|-----------|------------------------------------------------------|------------|--------|
|**team_or_story** |Team |Team A, Team B, Team C |Dropdown |X |
|**status** |Status |Backlog, ToDo, InProgress, Staging, Done, Archived, Rejected|Dropdown|X |
|assignee |Assignee | |UserSelect | |
|**due_date** |DueDate | |Date | |
|**flags** |Flags |Marked |Checkboxes | |
|**description** |Description| |Textarea |X |
|memo |Memo | |Textarea | |
|**barcode** |Barcode | |Textarea | |
|estimated_duration|Estimated duration (H)| |Textbox | |
|link |Link | |Textbox | |
|attachments |Attachments| |Attachements| |
|δ½œζˆθ€…|δ½œζˆθ€…||creator|X|
|作成ζ—₯ζ™‚|作成ζ—₯ζ™‚||createdDt|X|
|ζ›΄ζ–°θ€…|ζ›΄ζ–°θ€…||modifier|X|
|ζ›΄ζ–°ζ—₯ζ™‚|ζ›΄ζ–°ζ—₯ζ™‚||updatedDt|X|

> **bold** : Use from the report.

### JS and CSS
#### JS (PC, Mobile)
* https://unpkg.com/react@16/umd/react.production.min.js
* https://unpkg.com/react-dom@16/umd/react-dom.production.min.js
* https://unpkg.com/[email protected]/contents/assets/vendor/menneu-0.1.0/menneu.min.js
* [app-buttons.js](https://github.com/shellyln/menneu-reporting-app-for-kintone/blob/master/src/user-app/app-buttons.js)
* **Please do not register the above URL directly. It is not a CDN URL.**
* Please edit this file to show the button of the defined report.
* `eXnhAMYWrBVFMczJ__REPORT_APP_ID`: ReportingApp's app id.
* `eXnhAMYWrBVFMczJ__REPORT_BUTTONS`: Report definition record ids you want to use in this app.
* [kintone-report-buttons.js](https://github.com/shellyln/menneu-reporting-app-for-kintone/blob/master/src/user-app/kintone-report-buttons.js)
* **Please do not register the above URL directly. It is not a CDN URL.**

#### CSS
* [51-modern-default.css](https://github.com/kintone/plugin-examples/blob/master/stylesheet/51-modern-default.css)
* **Please do not register the above URL directly. It is not a CDN URL.**

------------------------

## πŸ“‘πŸ“Š ReportingApp (εΈ³η₯¨γƒ†γƒ³γƒ—γƒ¬γƒΌγƒˆ App)
### Report definition
#### Report for list view (for multiple records)
##### Report_name
* KanbanBoard

##### Switches
* Scripting, LSX, List

##### Report_template (lisp LSX scripting)

###### [kanban-board.lsx.lisp](https://github.com/shellyln/kanban-board-for-kintone/blob/master/kanban-board.lsx.lisp)
```lisp
;; Report configurations
...

;; Set status to show
($let status-list ($list
(# (value "Backlog")
(caption "πŸ›Œ Backlog")
(class "status-backlog") )
(# (value "ToDo")
(caption "πŸ“― ToDo")
(class "status-todo") )
(# (value "InProgress")
(caption "⛏ InProgress")
(class "status-inprogress") )
(# (value "Staging")
(caption "πŸ“¦ Staging")
(class "status-staging") )
(# (value "Done")(done)
(caption "πŸŽ‰ Done")
(class "status-done") )))

;; Set teams or stories to show
($let team-or-story-list ($list
(# (value "Team A")
(caption "πŸ† Team A")
(class "team-or-story-team-a") )
(# (value "Team B")
(caption "πŸ¦ƒ Team B")
(class "team-or-story-team-b") )
(# (value "Team C")
(caption "🐍 Team C")
(class "team-or-story-team-c") )))

;; Set your kintone environment domain and app id
($let record-url-base "https://??????????.cybozu.com/k/15/")

...

/* Customize row|col|sticky color */
table.board thead th.status-backlog {
background-color: #f8f8f8;
}
table.board td.status-backlog {
background-color: #efefef;
}
table.board thead th.status-done {
background-color: #f8f8f8;
}
table.board td.status-done {
background-color: #efefef;
}

...

.sticky-note { ... }

...

.team-or-story-team-b .sticky-note {
background-color: #dbedff;
}

...
```

------------------------

# 🐞 Bugs

## Rendering is broken when used on iOS devices.

This is probably a bug in Safari (and iOS WebView).
If the GPU rendering element has conditional CSS selectors with GPU related properties,
the renderer blends garbage GPU surfaces.

### patch ([kanban-board.lsx.lisp](https://github.com/shellyln/kanban-board-for-kintone/blob/master/kanban-board.lsx.lisp#L115-L129))
```css
...

.sticky-note {
...
/* transform: rotate(-0.25deg); */
}
.sticky-link:nth-of-type(2n) .sticky-note {
/* transform: rotate(0.15deg); */
}
.sticky-link:nth-of-type(3n) .sticky-note {
/* transform: rotate(0.65deg); */
}
.sticky-link:nth-of-type(5n) .sticky-note {
/* transform: rotate(-0.65deg); */
}
.sticky-link .sticky-note:hover {
/* filter: drop-shadow(7px 7px 2px #888); */
/* transform: rotate(-3deg); */
}

...
```

------------------------

# βš–οΈ License
* MIT

Copyright (c) 2019 Shellyl_N