Commit graph

1340 commits

Author SHA1 Message Date
Jesús Espino
dcf7600ca4
Adding the new template selector interface (#2172)
* Addinig initial version of a working template selector

* Some improvements

* Small improvements in the code

* More polishing

* Code reorganization

* Fixing tests

* Fixing linter errors

* Allowing to edit/delete templates

* Removing no longer needed code reducing race conditions

* Fixing some tests

* Adding some unit tests

* Adding more tests

* Splitting a bit more the board template selector for simplification

* Moving the delete dialog to the board template selector item

* Fixing some tests

* Fixing tests

* Exctracting i18n strings

* Trying to fix part of the cypress tests

* Fixing cypress tests

* Updating template selector UI

* Updating UI

* Updating padding

* Fixing css linter errors

* Fixing css error introduced in the previous commit

* Updating snapshots and fixing tests

* Fixing cypress tests again

* Adressing review comments

* Fixing tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-02-02 09:38:57 +01:00
Doug Lauder
65c783c270
Import/export moved to server + image support + streaming (#2201) 2022-02-01 19:01:29 -05:00
Mattermod
5186372107
Merge branch 'main' into gh-2147-url-property-improvement 2022-02-01 17:25:34 +02:00
Michel Engelen
9349f47e03
Merge pull request #2203 from jespino/changing-css-variable
Changing active-border to active-border-rgb in the css variables
2022-02-01 09:17:26 +01:00
Scott Bishel
1df9e4ba14
update dependencies (#2207) 2022-01-31 15:29:19 -07:00
Weblate (bot)
555ba1c5c4
Translated using Weblate (Catalan) (#2204)
Currently translated at 56.8% (145 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ca/

Co-authored-by: Marc Celeiro <marc@marcceleiro.com>
2022-01-31 12:09:11 -08:00
dependabot[bot]
7754bc6edf
Bump marked from 3.0.6 to 4.0.12 in /webapp and /mattermost-plugin/webapp (#2182)
* Bump marked from 3.0.6 to 4.0.10 in /mattermost-plugin/webapp

Bumps [marked](https://github.com/markedjs/marked) from 3.0.6 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.6...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade marked to 4.0.12

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-01-31 10:37:32 -07:00
Scott Bishel
7e0fb26875
implement registry for channel intro button (#2181) 2022-01-31 10:15:50 -07:00
Jesús Espino
98dde43556 Changing active-border to active-border-rgb in the css variables 2022-01-31 11:33:45 +01:00
Scott Bishel
8239bb70ad
update documents and import issues (#2141) 2022-01-26 21:35:28 +01:00
Asaad Mahmood
4662b03501
Adding gif support for boards (#2126)
* Adding gif support for boards

* Updating api
2022-01-26 18:45:44 +05:00
Kaya Zeren
08b1b27dd9 Translated using Weblate (Turkish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-01-25 22:30:10 +01:00
Maksim Matveev
ae29eb4c90 Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-01-25 22:30:10 +01:00
martin debnar
bd40c38e3b Translated using Weblate (Slovak)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sk/

Added translation using Weblate (Slovak)
2022-01-25 22:30:10 +01:00
aeomin
963bef43fd Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
快乐的老鼠宝宝
997f22f1ca Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
kaakaa
6056c6eca0 Translated using Weblate (Japanese)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-01-25 22:30:10 +01:00
Doug Lauder
1e053dc36d
Disable max-lines ESLint rule (#2161)
* Disable max-lines ESlint rule

There are several webapp files that exceed the default ESLint max-lines rule.  This commit disables the rule to avoid polluting the VSCode problems view with these warnings.

* fix tab versus space
2022-01-25 08:01:31 -05:00
kamre
f4bf7db996 Cypress test for new URL property behaviour added:
- using `cypress-real-events` for real hover
 - label for view header menu changed to 'View header menu'
 - label for view menu added
 - snapshots for unit tests updated
2022-01-25 14:57:59 +03:00
kamre
400738db76 Unit tests new URL property behaviour added. 2022-01-25 14:57:59 +03:00
kamre
83fd5899c5 Unit tests fixed (snapshots updated). 2022-01-25 14:57:59 +03:00
kamre
f8995351c9 Minor style fix for calendar card. 2022-01-25 14:57:59 +03:00
kamre
76401862cc Fixed clicking on the card in the calendar view. 2022-01-25 14:57:59 +03:00
kamre
58b418025d Fix background-color of URL property on the calendar cards. 2022-01-25 14:57:59 +03:00
kamre
6b278cd8cf Hide copy button for URLProperty in the table. 2022-01-25 14:57:59 +03:00
kamre
992ea70807 Buttons for edit and copy of URLProperty added:
- Compass icon is used for `EditIcon`
 - some CSS tweaks for proper hover effects
2022-01-25 14:57:59 +03:00
kamre
6034f76167 Initial implementation for URLProperty improvements:
- show preview with link and button for editing
 - minor fixes for CSS
2022-01-25 14:57:59 +03:00
kamre
2c16446efd
Remove link to deleted css file. (#2152) 2022-01-24 12:54:42 -05:00
Scott Bishel
922e9ecd1a
GH-2130: Remove subscriptions feature flag (#2132)
* remove subscriptions feature flag

* lint fix
2022-01-19 07:27:26 -07:00
Ji-Hyeon Gim
73c88e6d27 Translated using Weblate (Korean)
Currently translated at 97.2% (248 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ko/
2022-01-18 22:02:48 +01:00
Chen-I Lim
b0993773c7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 57.2% (146 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/

Translated using Weblate (Chinese (Simplified))

Currently translated at 60.0% (153 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/

Translated using Weblate (French)

Currently translated at 67.4% (172 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-01-18 22:02:48 +01:00
Maksim Matveev
58b960d7cc Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-01-18 22:02:48 +01:00
Tilto_
c08c64b031 Translated using Weblate (Korean)
Currently translated at 32.9% (84 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ko/

Added translation using Weblate (Korean)
2022-01-18 22:02:48 +01:00
Chen-I Lim
a92534d783
Fix #2136. Show release month+year for version. (#2137) 2022-01-18 12:07:14 -08:00
Jesús Espino
02dfb6eceb
Moving the history instance creation after the plugin initialization (to honor the SiteURL config) (#2109)
* Moving the history instance creation after the plugin initialization (to honor the SiteURL config)

* Fixing welcome page images urls generation

* Fixing share board url generation

* Fixing more subpath problems

* Adding some tests with subpath

* Adding subpath test to welcome page

* fix linter error
2022-01-17 20:21:25 +01:00
kamre
342c8df39d
[GH-1754] Feature: card badges (#2025)
* First shot implementation of badges for the card.

* Showing and hiding card badges in board/gallery views via header menu action added.

* Counting of checkboxes in markdown supported.

* Use Intl.formatMessage for badge titles.

* Unit tests for `CardBadges` component added. Some other unit tests fixed.

* Unit test for 'Show card badges' action in the view header menu added.

* Cypress test for card badges added:
 - card with comments, description and checkboxes added for testing
 - card badges are shown and hidden via view menu
 - new Cypress command `uiAddNewCard` added
 - label property added to `MenuWrapper` and used in `ViewHeaderActionsMenu`

* Unit tests fixed after change of the label for view menu.

* Fix stylelint issues.

* Class name for `CardBadges` component fixed.

* Show and hide for card badges moved to `Properties` menu:
 - field `cardBadgesVisible` removed from `BoardViewFields`
 - new constant `badgesColumnId` introduced and used as an element in `visiblePropertyIds`
 - card badges added to calendar view
 - added `role` and `aria-label` for menu component `SwitchOption`
 - unit and Cypress tests updated

* Fix Cypress test: use `blur` after typing text.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 09:26:27 -07:00
Asaad Mahmood
bfddc335bc
GH-2101 - Fixing card property and value bugs (#2103) 2022-01-12 09:35:02 -07:00
Harshil Sharma
d86d5005f6
Fixed a bug where mentions don't show up in descripotions (#2099) 2022-01-12 18:41:33 +05:30
Weblate (bot)
22aa8e591d
Translations update from Mattermost Weblate (#2081)
* Translated using Weblate (Croatian)

Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/

* Translated using Weblate (Arabic)

Currently translated at 22.7% (58 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ar/

Added translation using Weblate (Arabic (Najdi))

Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: img src=xevil.com <attacker7771@gmail.com>
2022-01-12 17:29:15 +05:30
Asaad Mahmood
de3f7f6103
GH-1948 - Updating overflow on input fields (#2088) 2022-01-11 12:48:29 -07:00
Asaad Mahmood
ac5d408859
GH-1960 - Fixing link color on card (Personal Server) (#2087)
* Fixing link color on card (Personal Server)

* Updating UI

* Updating css
2022-01-11 12:00:01 -07:00
Scott Bishel
9290194529
updated fix for comments display backwards (#2085) 2022-01-11 07:47:12 -07:00
Chen-I Lim
36f66e7ea5
Gh 2077 mac app update (#2078)
* Fix #2077. Mac app sometimes stops updating.

* Cleanup logging
2022-01-10 11:34:51 -08:00
Scott Bishel
33407e7dd9
fix comments being set backwards (#2076) 2022-01-10 09:46:47 -07:00
Harshil Sharma
155bf75718
Fixed bug of stale closure in markdown editor (#2058) 2022-01-07 12:29:57 -07:00
Tim Lange
e1d5e77e0e
Added better kanban edge scroll detection whilst dragging (#1913)
* added better kanban edge scroll detection whilst dragging

* update jest snapshots

* try to fix cypress on CI

* replace force clicks on cypress test

* make eslint happy

* fix unrelated failed tests and reorganize Cypress commands

* added test for drag direction from right to left

* make eslint happy

* cypress kanban drag test now checks other direction

* fix test and update eslit for cypress

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-07 11:58:28 -07:00
Scott Bishel
f0602a6eb6
Update version to 0.14.0 (#2057)
* update version to 0.13.0

* update to v0.14.0
2022-01-06 12:26:35 -07:00
Scott Bishel
c82ae98776
Fix for dependbot alerts (#2050)
* ran npm audit fix for dependbot alerts

* update go dependencies for dependbot alerts

* Revert "update go dependencies for dependbot alerts"

This reverts commit 7f7e2129ce.
2022-01-05 16:04:25 -07:00
Julien Fabre
dfbc36c404
Add unit tests for cardFilter (#2021)
* chore: add unit tests for cardFilter

* fix: eslint

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 16:01:45 -07:00
Scott Bishel
cf43caf634
set to first date if null (#2008)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:51 -07:00