Commit graph

1370 commits

Author SHA1 Message Date
Harshil Sharma
ab3bf6312c
Merge Onboarding feature branch into main (#2406)
* Persistent user config (#2133)

* Added user config API

* Add unit tests

* lint fix

* Fixed webapp tests

* Fixed webapp tests

* Updated props in store after updating

* Minor fixes

* Removed redundent data from audit logs

* Onboarding Tour (#2287)

* Created private board

* Roughly displayed tour

* Synced with Dhama's changes

* WIP

* Trying to add GIF

* Added 3 tour steps

* WIP

* WIP

* WIP

* checked in missed file

* Synced with feature branch

* WIp

* Adde skip tour option

* Fixed image loading for on-prem

* Made tour work on presonal server:

* Adde missed file

* Adding telemetry

* Adding telemetry

* Added tour tip telemetry

* Fixed pulsating dot styling for personal server

* reverted personal config

* Added reset tour button

* Displayed share tour tip of feature is enabled

* Lint fixes

* Fixed webapp tests

* Fixed webapp tests

* Completed webapp tests

* Completed webapp tests

* Webapp lint fixes

* Added server tests

* Testing cypress skip tour fix

* Fixed Cypress tests

* Added share board tour step

* Added share board tour step

* webapp lint fixes

* Updated logic to pick welcome board

* Updated tests:

* lint fixes

* Updating UI changes

* Fixed a bug causing card tour to re-appear

* FIxed minor issue

* FIxed bug where card tour didn't start in clickingh on card

* Fixed tests

* Make update user props use string instead of interface

* Fixed a value type

* Updating gif size

* Updating resolution breakpoint

* Updating tutorial tip

* Updating view selector

* Refactored tour components

* Misc fixes

* minor refactoring

* GH-2258: allow date range to overflow (#2268)

* allow date range to overflow

* Fixed issue with date overflowing into neighbouring column

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Update readme with accurate Linux standalone app build instructions (#2351)

* Bump follow-redirects from 1.14.7 to 1.14.8 in /experiments/webext (#2339)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Switch component style fixed: selector specificity increased by adding additional class. (#2179)

* Adding sever side undelete endpoint (#2222)

* Adding sever side undelete endpoint

* Removing long lines golangci-lint errors

* Fixing linter errors

* Fixing a test problem

* Fixing tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Removing transactions from sqlite backend (#2361)

* Removing transactions from sqlite backend

* Skipping tests in sqlite because the lack of transactions

* Generating the mocks

* Fixing golangci-lint

* Fixing problem opening the tour tooltip on card open

* Fixing texts missmatch

* Adding the Product Tour entry in the user settings menu

* Fixing some tests

* Fixing tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>

* Restored package json

* Restored package json

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-02-28 12:28:16 +01:00
Jesús Espino
8d94422d5f
Adding sever side undelete endpoint (#2222)
* Adding sever side undelete endpoint

* Removing long lines golangci-lint errors

* Fixing linter errors

* Fixing a test problem

* Fixing tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-22 18:42:49 +01:00
kamre
c388a8df4a
Switch component style fixed: selector specificity increased by adding additional class. (#2179) 2022-02-21 15:59:20 +01:00
Scott Bishel
d385511066
GH-2258: allow date range to overflow (#2268)
* allow date range to overflow

* Fixed issue with date overflowing into neighbouring column

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-17 16:53:31 -07:00
kamre
46f4185d30
Don't use property value for key construction. (#2317)
* Don't use property value for key construction.

* Use value from props as current value in `DateRange` component:
 - this allows to update it properly in the dialog when the value on the server is updated
 - current value is stored in `PropertyValueElement` similar to other property value components
 - fixed stale closure in `Modal` component
 - unit tests for `DateRange` updated (wrapper with current value created)
2022-02-15 09:24:31 -07:00
Hosted Weblate
716551bc7c Merge remote-tracking branch 'origin/main' into main 2022-02-15 09:15:43 +01:00
kamre
263e660604
Change wrapping of components in React.memo so that components have proper names in React Dev Tools. (#2332) 2022-02-14 13:55:13 -07:00
Divya Yeruva
02b50275ee
fixed label and text alignment under hidden columns (#1309)
* fixed label and text alignment under hidden columns

* alignment fix

Co-authored-by: divyay <divyareddy.y109@gmail.com>
2022-02-14 12:37:10 +05:00
Scott Bishel
73420bcf2a
calculation column order to be based on view (#2262) 2022-02-09 08:31:58 -07:00
Jesús Espino
10686f6b23
Fixing style problems on hover editable board templates (#2221)
* Fixing style problems on hover editable board templates

* Making template version relevant to detect if the template is builtin or not

* Fixing snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-09 15:36:27 +01:00
Harrison Healey
0d65c9eac9
Merge pull request #2263 from mattermost/MM-41342_revert-team-sidebar
MM-41342 Revert fixes related to using team sidebar in products
2022-02-09 09:34:45 -05:00
Milo Ivir
6a15e42e78 Translated using Weblate (Croatian)
Currently translated at 100.0% (256 of 256 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-02-09 13:25:33 +01:00
Scott Bishel
092cf23972
Growth share board modal (#2286)
* Skeleton dialog

* Updating share board modal

* first changes

* Separate button

* Separate button

* Skeleton dialog

* Updating share board modal

* first changes

* Separate button

* Separate button

* add code to make it work, add telemetry, check config

* update icons

* add classes for personal server

* some cleanup

* increase padding

* add unit tests

* add unit tests

* more cleanup

* i18n extract and fix styles

* remove old shareBoardComponent

* remove old sharedBoardComponent

* lint fixes

* update additional snapshot tests

* remove more code

* more test cleanup

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-02-09 17:55:28 +05:30
Jesús Espino
761e268bf6
Preview the first view of the template (#2295) 2022-02-08 14:44:15 -07:00
Asaad Mahmood
6389d542b2
GH-2249 - Updating template selector screen (#2279)
* GH-2249 - Updating template selector screen

* Updating snapshots
2022-02-08 10:08:59 -07:00
Doug Lauder
95cf9fedbb
null check when selecting templates (#2259) 2022-02-07 18:16:41 -05:00
Weblate (bot)
c329db71e5
Translations update from Mattermost Weblate (#2278)
* Translated using Weblate (Ukrainian)

Currently translated at 3.1% (8 of 255 strings)

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

Added translation using Weblate (Ukrainian)

* Translated using Weblate (Slovenian)

Currently translated at 3.9% (10 of 255 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 75.6% (193 of 255 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (German)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (256 of 256 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 25.3% (65 of 256 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (256 of 256 strings)

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

Co-authored-by: Serhiy Zhuk <0vatman0@gmail.com>
Co-authored-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Co-authored-by: wuuker <ukewea@gmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: SerHack <atombt@protonmail.com>
Co-authored-by: mamounjamous <mamounjamous@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2022-02-07 12:34:42 -08:00
Scott Bishel
9c473a6a7a
Growth Spike - implement imports to help redirect (#2194)
* implement imports to help redirect

* fix constants
2022-02-07 10:33:54 -07:00
Doug Lauder
a57196c93f
Don't show Follow button on card template (#2260)
* don't show Follow button on templates

* only show Follow button for plugin

* force jest into plugin modde
2022-02-07 08:41:07 -07:00
Doug Lauder
870c56e6b3
Copy images when duplicating card/board (#2253)
* copy image for card/board dup

* revert store changes

* revert store changes
2022-02-04 15:12:28 -07:00
Harshil Sharma
475c96301c
Fied a bug where user Cannot edit description block if only a space (#2255) 2022-02-04 15:10:50 -07:00
Doug Lauder
9138c73f52
fix export archive file ext (#2254) 2022-02-04 17:03:50 -05:00
Harrison Healey
9e3e6be1c6 Revert "Fixed a bug causing double scroll bars to appear (#2217)"
This reverts commit 55879bdf11.
2022-02-04 13:45:52 -05:00
Scott Bishel
50d62db683
Update to version 0.15.0 (#2231)
* update to version 0.15.0

* update month

* update snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-04 11:21:33 -07:00
Harshil Sharma
55879bdf11
Fixed a bug causing double scroll bars to appear (#2217) 2022-02-02 13:48:46 -07:00
Chen-I Lim
b15dc028b1
Fix #2117. Remove Beta and Alpha language labels (#2118)
* Fix #2117. Remove Beta and Alpha language labels

* Update Jest snapshots
2022-02-02 12:23:32 -08:00
Scott Bishel
3bb58b4916
fix cypress test for changed templates (#2230)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:52:38 -07:00
Doug Lauder
a47baf7f23
Multi version archive import (#2220)
* Fixed panic in PropDef.GetValue for `person` property types.
- the GetUserByID API can return a nil user and nil error

* return userid

* support old archive format

* move template init to app layer

* move app init

* init app

* revert

* ignore GetDefaultTemplate blocks call in store mock

* ignore GetDefaultTemplate blocks call in store mock2

* ignore InsertBlockss call in store mock3

* ignore RemoveDefaultTemplates call in store mock4

* ignore WriteFile call in files mock5

* ignore WriteFile call in files mock6

* ignore WriteFile call in files mock7

* ignore WriteFile call in files mock8

* fix unit tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:25:06 -07:00
Harshil Sharma
21ba0e00ce
Fixes bug where images don't show up in templates and boards created from templates (#2224)
* Base fix for bug causing images to not appear in templates created from boards

* Added some docs

* Fixed lint error

* Update server/app/blocks.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* used a better method name

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-02-02 10:12:59 -07:00
Scott Bishel
5030b1e582
Update dependencies for webapp and mattermost-plugin/webapp (#2213)
* update for trim-newlines

* update for glob-parent

* update for fstream
2022-02-02 06:36:49 -07:00
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