Commit graph

1620 commits

Author SHA1 Message Date
kamre
e4e1f2d94a
Always stop event propagation for click on the link generated from markdown. (#1039)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 09:11:48 -04:00
Miguel de la Cruz
f9c76d8129
Update focalboard to be compatible with mattermost v6 (#1020)
* Update focalboard to be compatible with mattermost v6

* Point to the new plugin API version

* Fix collectors linter issues

* Move all CI jobs to 1.16
2021-08-24 12:13:58 +02:00
Johannes Marbach
0291052c1c
[GH-912] Discard (milliseconds) when counting create/update dates (#981)
* [GH-912] Discard (milliseconds) when counting create/update dates

Card creation and update dates are displayed with hours and minutes only on
the UI. When the full timestamp is used for counting unique values, this
leads to a discrepancy because the (milli)second parts impact the count
but are not visible to the user.

This commit fixes creation and update timestamps to minutes accuracy
before their values enter any calculation.

Closes: #912

* Add parentheses to please the linter

* Add 1s to test fixtures to cover bug scenario

* Add dedicated unit tests for creation / update 1s and 1m apart

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 15:00:51 +05:30
kamre
22bfe2da13
Support readonly flag in URLProperty. (#1041) 2021-08-24 12:02:42 +05:30
Julien Fabre
fb2410f430
[GH-967] fix overflow URL property in cell (#982)
* (fix GH-967): add css property to fix width

* fix: review test link

* feat: review link scss on hover

* fix: add width inherit in url to occupy the whole space

* fix: merge error

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 19:08:50 -04:00
DeviousLab
f8176abd27
Updated date range arrow to single character #1058 (#1064) 2021-08-23 18:22:03 -04:00
Asaad Mahmood
a6cd2c9272
1010 - Updating text and link property (#1047) 2021-08-23 20:36:25 +05:00
Jesús Espino
74161aa1ca
Remove duplicated restart on docker compose (#1067) 2021-08-23 16:38:34 +02:00
Asaad Mahmood
63c2a908df
1005 - Updating padding on the share popup (#1048) 2021-08-23 19:31:05 +05:00
kamre
6bf4008199
[GH-1053] Fix table horizontal lines (#1054)
* Set width to fit content for table header and row container.

* Horizontal line for table footer fixed:
  use div wrapper to make the width of the footer equal to the width of header and rows.

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 09:25:39 -04:00
Jesús Espino
9bfdc7b93a
Fix border cut on kanban and gallery views (#1044) 2021-08-23 12:19:56 +02:00
Weblate (bot)
4c2563e10a
Translations update from Weblate (#1066)
* Translated using Weblate (Russian)

Currently translated at 97.5% (159 of 163 strings)

Co-authored-by: calipzo <a.kruglenko@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.3% (164 of 165 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

Co-authored-by: calipzo <a.kruglenko@gmail.com>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
2021-08-23 10:46:17 +02:00
Asaad Mahmood
a938fbeddf
1004-add-board-menu (#1045) 2021-08-20 15:43:04 -06:00
Asaad Mahmood
e8eeb51046
GH-966 - Removing empty placeholders (#1008)
* GH-966 - Removing empty placeholders

* Updating test

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-19 17:54:43 +05:00
kamre
2520d2fa4b
Prevent opening card dialog when link for URL is clicked. (#1037)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 12:31:15 +02:00
Jesús Espino
b5d58060cf
Fixing some color variables (#1038) 2021-08-19 12:26:26 +02:00
Asaad Mahmood
307fee78fc
GH-994 - Updating color for global header menu (#1012)
* Updating color for global header menu

* Updating css

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 10:28:29 +02:00
Scott Bishel
e5692c9e7e
Show error if Read-Only board is not available (#1022) 2021-08-18 17:36:27 -06:00
Scott Bishel
663ff4c8da
GH-989 add boards to shared component link (#1023)
* add boards to shared component link

* use Utils.getFronendBaseURL
2021-08-18 11:44:21 -06:00
Jesús Espino
727641f3db
Add paste/drop images on cards (#987)
* Add paste/drop images on cards

* Fix eslint
2021-08-18 12:14:50 +02:00
Jesús Espino
249a8c23a4
Fixing text selection in all inputs for Firefox (#1025) 2021-08-17 18:41:55 -06:00
Jesús Espino
83a45ae706
Fixing favicon changes on other browsers (#1017) 2021-08-17 22:50:49 +02:00
Hossein
7bc168ad84
Fix Problem (#1019) 2021-08-17 16:36:10 -04:00
Asaad Mahmood
0675c7e502
GH-965 - Updating global nav right sidebar buttons (#983)
* GH-965 - Updating global nav right sidebar buttons

* Updating test
2021-08-16 23:26:32 +05:00
Asaad Mahmood
7b5a45dc6c
GH-959 - Fixing board headers on scroll (#984) 2021-08-16 23:00:55 +05:00
Jesús Espino
969ceeb93e
Adjust image size to content column size (#1000) 2021-08-16 18:26:03 +02:00
Shahzaib
712c18efce
[GH-858] Add test cases for the multi-select component (#906)
* test(multiSelect): Add test cases for multi-select

* Remove `creatable-selector-parent` test id

* test(multiSelect): Make elements more accessible

* Update all snapshots that renders the `multiSelect`, `iconButton`, and `textOption` components

* Add the internationalized messages for the `aria-label` attributes

* cleanup(multiSelect.test.tsx): Remove the `DndProvider` from the `Wrapper` component

* Change the `ids` of `intl.formatMessage` arg

Co-authored-by: Shahzaib <shahzaib@placemarktechnologies.com>
2021-08-16 18:03:33 +02:00
Weblate (bot)
2cecf640b2
Translations update from Weblate (#986)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Occitan)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
2021-08-16 10:13:45 +02:00
Asaad Mahmood
6e1b784c78
GH-894 - Removing uppercase from label (#985) 2021-08-16 08:31:48 +02:00
Johannes Marbach
b6d32da68c
[GH-314] Export native app user settings on change (#380)
* [GH-314] Export native app user settings on change

This switches from exporting the native app user settings on window close to exporting
on settings change. This way the settings export remains independent of native application
life-cycle events.

This is a stop-gap towards enabling settings export on the native Linux app. The latter
does not have an easy way to catch window close events.

Relates to: #314

* Disable no-shadow rule to prevent false-positive

* Verify allowed localStorage keys

* Fix import order/spacing

* Treat JSON parsing errors as failed import

* Read known keys from the correct type 🤦

* Extend logging with imported keys and always include _current_ user settings

* Fixing eslint

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-15 12:51:19 +02:00
Jesús Espino
f983a59973
Fix redirect problems on product switch (#972)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-14 17:26:53 +02:00
Jesús Espino
a8b0f68e1e
Storing the last channel viewed to workaround the fact that playbooks is not bind to channels (#974)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-14 17:24:14 +02:00
Chen-I Lim
63e94e090e
Fix #977. Show uncollapse button even with global nav. (#979) 2021-08-13 15:25:45 -07:00
Hossein
27ff092e28
Fix GH-955 and GH-936 (#971)
* Fix some major bugs BOSS BOSS

* fix variable name

* Fix RGB and Hex Mismatch
2021-08-13 10:51:18 -04:00
Jesús Espino
9d4da24e6c
Cleanup the store on the initial load call (#970) 2021-08-13 15:39:57 +02:00
Scott Bishel
1f36db5579
fix for wrong filter deletion (#961)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-13 14:01:29 +02:00
Scott Bishel
0525bfcb3b
allow overflow in Gallery View (#968)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-13 11:09:06 +02:00
Chen-I Lim
9403fb91c6
Fix #934. Sidebar hide-unhide as plugin. (#962) 2021-08-12 11:59:56 -07:00
Jesús Espino
a442f08ed3
Using an icon name instead of the component for registerProduct (#951) 2021-08-12 17:06:09 +02:00
Harshil Sharma
eca18c0660
Avoided double horizontal scrollbars (#954) 2021-08-12 19:09:44 +05:30
Jesús Espino
4dc1c6db4f
Restoring mattermost favicon on leave focalboard (#948) 2021-08-12 12:58:17 +02:00
Jesús Espino
2aac030ee7
Fix global header menu z-index for focalboard (#950) 2021-08-12 12:57:07 +02:00
Harshil Sharma
34e772414a
Added ability for calculation menu to open wherver there is available space (#952)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 16:16:22 +05:30
Scott Bishel
ee77fad020
add overflow: none to prevent scrolling (#939)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 12:07:47 +02:00
Harshil Sharma
3a7747b7dd
Fixed missing CSS vars (#949)
* Fixed missing css vars

* Updated snapshots
2021-08-12 15:29:57 +05:30
Jesús Espino
aaa0b0dccc
Moving logo and title to the global header (#947)
* Moving logo and title to the global header

* Fixing problems with the new header

* Fixing lint problems
2021-08-12 11:40:09 +02:00
Chen-I Lim
9e70a41ac6
Fix #945. Hydrate blocks on get (#946) 2021-08-12 11:39:02 +02:00
Chen-I Lim
994ed01b49
Move version label to top right for plugin (#941) 2021-08-11 16:55:19 -07:00
Jesús Espino
2287931882
Fixing a weird import bug on react-day-picker (#933)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-11 11:55:41 -06:00
Jesús Espino
a60f770832
Fix flaky test (#932) 2021-08-11 12:56:20 -04:00