Compare commits

...
6 Commits
Author SHA1 Message Date
Lauri Ojansivu e49fe2e5df v2.97 2019-07-01 21:56:13 +03:00
Lauri Ojansivu 56c18c66ba Update changelog. 2019-07-01 21:01:39 +03:00
Lauri Ojansivu 3e8cb8c6e1 - Add background color names to background colors.
- Add new background colors: moderatepink, strongcyan, limegreen.
- Add new background colors with themes: dark, relax.
- Note: due date etc on cards is visible on all themes. Hiding is not implemented yet.

Thanks to xet7 !
2019-07-01 20:53:43 +03:00
Lauri Ojansivu e6365bbeeb v2.96 2019-07-01 16:52:59 +03:00
Lauri Ojansivu 8069f7072c Update changelog. 2019-07-01 16:32:56 +03:00
Lauri Ojansivu 8477e94f3b [Remove RELAX MODE and DARK MODE, because they changed look of all existing
boards](https://github.com/wekan/wekan/issues/1149#issuecomment-507255114).
At some later Wekan release they will be added back as separate themes
that can be selected, without changing existing boards.

Thanks to chirrut2 and xet7 !
2019-07-01 16:24:55 +03:00
10 changed files with 79 additions and 27 deletions

No files matched your search

+24
View File
@@ -1,3 +1,27 @@
# v2.97 2019-07-01 Wekan release
This release [adds the following new features](https://github.com/wekan/wekan/commit/3e8cb8c6e1617ef03ebce045d3b93aeb2cf91228), thanks to xet7:
- Add background color names to background colors.
- Add new background colors: moderatepink, strongcyan, limegreen.
- Add new background colors with themes: dark, relax.
Note: Due Date etc on cards is visible on all background colors and themes. Hiding is not implemented yet.
Thanks to above GitHub users for their contributions and translators for their translations.
# v2.96 2019-07-01 Wekan release
This release removes the following features, that were added at Wekan v2.95:
- [Remove RELAX MODE and DARK MODE](https://github.com/wekan/wekan/commit/8477e94f3b8f531a4209f49758200009d274c1cf),
because [they changed look of all existing boards](https://github.com/wekan/wekan/issues/1149#issuecomment-507255114).
At some later Wekan release they will be added back as separate themes
that can be selected, without changing existing boards.
Thanks to chirrut2 and xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# v2.95 2019-07-01 Wekan release
This release adds the following new features, thanks to xet7:
+1 -1
View File
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v2.95.0"
appVersion: "v2.97.0"
files:
userUploads:
- README.md
+33 -19
View File
@@ -73,21 +73,6 @@ setBoardColor(color)
.board-color-nephritis
setBoardColor(#27AE60)
// RELAX MODE: light green backgroud, when green background color selected.
.ui-sortable
background-color:#a7e366
/* Hidden in relax mode.
card fields: received, start, due, end, members, requested, assigned
*/
.card-details-item.card-details-item-received,
.card-details-item.card-details-item-start,
.card-details-item.card-details-item-due,
.card-details-item.card-details-item-end,
.card-details-item.card-details-item-members,
.card-details-item.card-details-item-name { display:none; }
.card-details-items:empty { display:none; }
.board-color-pomegranate
setBoardColor(#C0392B)
@@ -100,9 +85,23 @@ setBoardColor(color)
.board-color-midnight
setBoardColor(#2C3E50)
/* Hidden in dark mode.
.board-color-pumpkin
setBoardColor(#E67E22)
.board-color-moderatepink
setBoardColor(#CD5A91)
.board-color-strongcyan
setBoardColor(#00AECC)
.board-color-limegreen
setBoardColor(#4BBF6B)
.board-color-dark
setBoardColor(#2C3E51)
/* Not hidden in dark mode.
card fields: received, start, due, end, members, requested, assigned
*/
.card-details-item.card-details-item-received,
.card-details-item.card-details-item-start,
.card-details-item.card-details-item-due,
@@ -110,6 +109,7 @@ setBoardColor(color)
.card-details-item.card-details-item-members,
.card-details-item.card-details-item-name { display:none; }
.card-details-items:empty { display:none; }
*/
// DARK MODE, when dark background mode selected.
// Modified version from https://github.com/wekan/wekan/wiki/Custom-CSS-themes#dark-theme
@@ -213,5 +213,19 @@ setBoardColor(color)
.sidebar-content h3, .sidebar-content h2, .sidebar-content
color:rgba(255,255,255,.7) !important
.board-color-pumpkin
setBoardColor(#E67E22)
.board-color-relax
setBoardColor(#27AE61)
// RELAX MODE: light green backgroud, when green background color selected.
.ui-sortable
background-color:#a7e366
.list-header
background-color:#a7e366
border-bottom: 6px solid #a7e366
.list-body
background-color:#a7e366
.list
border-left: 1px dotted #000000
+1
View File
@@ -161,6 +161,7 @@ $spaceBetweenTiles = 16px
padding-right: 6px
.background-box
color: white
border-radius: 3px
background-size: cover
display: block
+2
View File
@@ -61,9 +61,11 @@ template(name="boardChangeColorPopup")
each backgroundColors
.board-background-select.js-select-background
span.background-box(class="board-color-{{this}}")
span {{this}}
if isSelected
i.fa.fa-check
template(name="boardSubtaskSettingsPopup")
form.board-subtask-settings
h3 {{_ 'show-parent-in-minicard'}}
+7 -1
View File
@@ -208,7 +208,12 @@ Boards.attachSchema(new SimpleSchema({
'pomegranate',
'pumpkin',
'wisteria',
'moderatepink',
'strongcyan',
'limegreen',
'midnight',
'dark',
'relax',
],
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -1134,7 +1139,8 @@ if (Meteor.isServer) {
* @description This allows to create a board.
*
* The color has to be chosen between `belize`, `nephritis`, `pomegranate`,
* `pumpkin`, `wisteria`, `midnight`:
* `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`,
* `limegreen`, `midnight`, `dark`, `relax`:
*
* <img src="https://wekan.github.io/board-colors.png" width="40%" alt="Wekan logo" />
*
+3 -3
View File
@@ -463,9 +463,9 @@ export class TrelloCreator {
'green': 'nephritis',
'red': 'pomegranate',
'purple': 'wisteria',
'pink': 'pomegranate',
'lime': 'nephritis',
'sky': 'belize',
'pink': 'moderatepink',
'lime': 'limegreen',
'sky': 'strongcyan',
'grey': 'midnight',
};
const wekanColor = mapColors[trelloColorCode];
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v2.95.0",
"version": "v2.97.0",
"description": "Open-Source kanban",
"private": true,
"scripts": {
+2 -2
View File
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 297,
appVersion = 299,
# Increment this for every release.
appMarketingVersion = (defaultText = "2.95.0~2019-07-01"),
appMarketingVersion = (defaultText = "2.97.0~2019-07-01"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,
+5
View File
@@ -85,6 +85,11 @@ Migrations.add('use-css-class-for-boards-colors', () => {
'#8E44AD': 'wisteria',
'#2C3E50': 'midnight',
'#E67E22': 'pumpkin',
'#CD5A91': 'moderatepink',
'#00AECC': 'strongcyan',
'#4BBF6B': 'limegreen',
'#2C3E51': 'dark',
'#27AE61': 'relax',
};
Boards.find().forEach((board) => {
const oldBoardColor = board.background.color;