Commit graph

1308 commits

Author SHA1 Message Date
Doug Lauder
84a3f8f1fb
modify error page redirects (#2518) 2022-03-11 14:47:04 -07:00
Harshil Sharma
a53e947489
Dismiss tour from overlay (#2525)
* Shows "(Deleted User)" instead of UUID when user not found (#2354) (#2465)

* Shows "(Deleted User)" instead of long, unreadable UUID in case the user is not found

In case a user is not found, at present unreadable and long UUIDs are shown which kill the look and feel of the application. This patch replaces the UUID with a more explanatory string.

* Update server/services/store/mattermostauthlayer/mattermostauthlayer.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
(cherry picked from commit 68819185a4)

Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>

* Update CHANGELOG.md for v0.15

Added one more merged PR to the list

* Added ability to dismiss tour from overlay

* GH-2212 - Update global link on board (#2492) (#2495)

(cherry picked from commit 49df41f9b2)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* GH-2387 - Fixing link in comments (#2480) (#2498)

(cherry picked from commit 5e2cf0b386)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* Addead feature to start product tour on using the welcome template (#2468)

* Fixed a bug where images of the welcome board were not copied over. (#2453)

* Fixed a buig where images of welcome board were not copied over

* Lint fixes

* Fixed test

* Fixed test

* Fixed intended behavio

* lint fixes

* Fixed tests

* Fixed tests

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-11 14:46:32 -07:00
Scott Bishel
5b309e8e25
updated/synced prior PR (#2509)
* updated/synced prior PR

* add title back for cypress tests

* update unit test for cypress fix

* move to function

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-10 14:39:13 -07:00
Asaad Mahmood
50ded69852
Gh-2437 - Updating share board modal (#2511)
* Gh-2437 - Updating share board modal

* Updating test

* Updating card dialog and test

* Updating comment list
2022-03-10 13:39:55 -07:00
Asaad Mahmood
923437cc57
GH-2447 - Updating label overflow (#2479)
* GH-2447 - Updating label overflow

* Updating labels css
2022-03-10 20:29:44 +05:00
Scott Bishel
61f1a3cc65
don't display temlate page if readonly and access revoked (#2499) 2022-03-10 07:51:06 -07:00
Asaad Mahmood
b85f1ff0d2
GH-2456 - Updating url property (#2478) 2022-03-10 10:30:00 +01:00
Asaad Mahmood
bec39e8a64
GH-2483 - Updating buttons above board title (#2485)
* GH-2483 - Updating buttons above board title

* Updating css

* Updating tests
2022-03-10 12:21:30 +05:00
Jesús Espino
4cb3a0fae4
Fix problem with viewId 0 in the URL (#2474) 2022-03-09 11:21:01 -07:00
Scott Bishel
20fe19a50d
set min-height on empty date to allow click (#2466) 2022-03-09 08:44:30 -07:00
Asaad Mahmood
f9cef8e4a0
GH-2496 - Updating board title truncation issue (#2497) 2022-03-09 19:51:37 +05:00
Asaad Mahmood
5e2cf0b386
GH-2387 - Fixing link in comments (#2480) 2022-03-09 00:00:33 +05:00
Asaad Mahmood
380320179c
GH-2330 - Responsive UI update on template picker (#2486)
* GH-2330 - Responsive UI update on template picker

* Updating css
2022-03-08 23:53:09 +05:00
Asaad Mahmood
49df41f9b2
GH-2212 - Update global link on board (#2492) 2022-03-08 22:46:44 +05:00
Harshil Sharma
bca12fd4ce
Addead feature to start product tour on using the welcome template (#2468) 2022-03-08 17:32:59 +05:30
Scott Bishel
b41fd7b4e8
update to v0.16.0 (#2438) 2022-03-02 15:08:40 -07:00
Scott Bishel
50020ce8b1
Update Share Button (#2432)
* update shareboard button to always display

* lint fixes

* fix/update unit tests

* update shareboard button to always display

* lint fixes

* fix/update unit tests

* Updating UI for share dialog

* Updating test

* update tests

* update to include view

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-03-02 14:16:54 -07:00
Asaad Mahmood
859e57f061
GH-2405 - Updating comment box alignment (#2423) 2022-03-02 13:58:31 -07:00
Doug Lauder
ec91f1c71b
Error page (#2321)
* generic error page

* redirect from errorboundary

* clean compile

* wip redirect from error boundry

* error page displaying

* ensure i18n strings are preserved

* Updating error page UI

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/src/errors.ts

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* typo

* remove background image

* fix linter error

* fix cypress errors

* translation error page title

* fix package lock

* fix package.lock again

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-02 13:46:12 -07:00
Chen-I Lim
a77f53fd94
Fix for #2430. Bypass Welcome screen for Personal Desktop. (#2431)
* Partial fix for #2430

* Fix #2430. Bypass welcome screen for Personal Desktop

* Skip welcome page only for Personal Desktop

* Removed API changes. Webapp changes were sufficient

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-03-02 07:46:46 -07:00
Asaad Mahmood
f39ff07c81
GH-2243.- Vertically centering dialogs in Boards (#2280) 2022-03-02 18:22:36 +05:00
Asaad Mahmood
8129b9ca43
Fixing template picker delete alignment (#2428) 2022-03-01 17:57:25 -07:00
Vishal
689a30f792
[GH-1304] Add Toggle to hide empty groups for TableView (#2367)
* GH-1304 Add Toggle to hide empty groups for TableView

* [GH-1304] Add separate menu options to toggle Groups

* [GH-1304] Update test cases

* GH-1304 Resolve merge conflicts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-01 13:41:10 -08:00
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
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
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
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
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
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
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
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
Scott Bishel
922e9ecd1a
GH-2130: Remove subscriptions feature flag (#2132)
* remove subscriptions feature flag

* lint fix
2022-01-19 07:27:26 -07: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
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
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
Scott Bishel
9ed0922e8c
GH-2007 Use VisiblePropertyIds for view property order (#2010)
* update for views to use viewPropertyIds for order

* build fixes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:22 -07:00
Chen-I Lim
6e747d5731
Fix #2038. Remove beta label (#2039) 2022-01-04 11:02:59 -08:00
Chen-I Lim
c6e9d670da
Fix #1999, fix #2002: Alt italics regex without lookbehind (#2035) 2022-01-03 21:07:47 -08:00
Chen-I Lim
5c69c2de57
Fix #1745. Delete socket only if it exists (#2034)
* Fix #1745. Delete socket only if it exists

* Update jest snapshots to fix last year date text
2022-01-03 10:42:28 -08:00
Asaad Mahmood
76e13723b9
GH-479 - Updating comment order and adding images (#1985)
* GH-479 - Updating comment order and images

* Updating default image url

* Updating test

* Updating image function

* Updating tests
2021-12-23 10:59:18 +05:00
Scott Bishel
98ac0e0966
fix linter error (#2006) 2021-12-21 10:23:58 -07:00
Steven Tang
bf22a6faf9
GH-1883] Fix error page button to follow base URL (#1885) 2021-12-17 17:44:49 +01:00
Chen-I Lim
387c7acc55
Fix #1992. Remove borders around code block lines. (#1993)
* Fix #1992. Remove borders around code block lines.

* Update webapp/src/components/markdownEditorInput/markdownEditorInput.scss

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

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-12-15 15:04:11 -08:00
Chen-I Lim
a8b7a6a556
Fix #1928. Use draft-js-live-markdown-plugin. (#1942)
* Fix #1928. Use draft-js-live-markdown-plugin.

* Ported markdown plugin to TS and checked in directly

* Fix type

* Fix types
2021-12-15 13:23:30 -08:00
kamre
7cb25b9e17
[GH-1826] Cypress test for group by different property (#1966)
* Cypress command for resetting boards added.

* Cypress test for group board by different property added:
 - using @testing-library/cypress
 - minor fixes for `PropertyMenu` and `Dialog` components
 - bug in `ViewHeaderGroupByMenu` fixed: use `groupByProperty` passed in props instead of one from active view

* Jest snapshots updated.

* Use only case-sensitive strings for names in Cypress test.

* Cypress commands for adding new board and new group added.

* Jest snapshot for new test updated.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-15 09:57:58 -07:00
Jesús Espino
9837f13abc
Splitting table component in smaller manageable chunks (#1967)
* Splitting table component in smaller manageable chunks

* Updating snapshots
2021-12-15 10:12:38 +01:00
Jenya
53b6b723f1
[GH-1542] Limit card title to 5 lines (#1548)
* limited card text to 5 lines

* Update kanbanCard.tsx

* Moved attributes to new lines

* Adding exception for vendor prefix in the styles

* Updating snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-12-14 19:37:59 +01:00
Asaad Mahmood
23a444290b
Gh 1980 - Updating date picker dates on hover (#1981)
* Updating date UI

* Updating ogi’s issue

* Updating css

* Updating date range css
2021-12-14 09:01:51 -07:00
Asaad Mahmood
5f3f65ed37
GH-1907 - Updating person popover (#1959)
* Updating assginee popover

* Updating css

* Removing console log

* Updating border property

* Updating avatar

* Updating tests
2021-12-14 20:06:14 +05:00
Scott Bishel
4656089cb1
GH-1872 - Updating octo-icon font weight (#1978)
* GH-1872 - Updating octo-icon font weight

* update unit tests

* update cypress tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-12-13 12:27:14 -07:00
Doug Lauder
75bd409ba0
Notifications phase 1 (#1851)
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
2021-12-10 10:46:37 -05:00
Scott Bishel
3450eb6d4f
Gh 1841 batch patches (#1935)
* Updating table row css (#1787)

* package patchBlocks as batches, move updateBlocks to transactional

* fix lint errors

* fix from review

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-10 07:17:00 -07:00
Nishant Mittal
87daacceca
fix: clear search on view change (#1856) 2021-12-10 08:08:02 -05:00
kamre
e518c391aa
[GH-1946] Fix losing focus for the card title in the dialog (#1952) 2021-12-09 12:14:29 -05:00
Harshil Sharma
42eb5ad6be
Fixed a bug preventing new template being created from a card (#1951)
* Fixed a bug preventing new template being created from a card

* Fixed a test
2021-12-09 16:35:35 +05:30
Hossein
dc36afcfba
GH-1878: Display Bot Badge in Auto Complete (#1906) 2021-12-08 10:04:19 -05:00
Hossein
c8d4c98f8c
Fix Issues (#1923) 2021-12-08 09:07:28 -05:00
Jesús Espino
6876f11a36
Making markdown editor text selectable (#1896) 2021-12-07 12:51:23 -07:00
Miguel de la Cruz
9bb38c5cb4
Prevents the application from crashing if there is a null content order (#1937) 2021-12-07 12:41:01 -07:00
Asaad Mahmood
408d26a157
GH-1880 - Updating styling for mention popup (theme compatible) (#1925)
* GH-1880 - Updating styling for mention popup

* Updating styles

* Updating css
2021-12-06 19:13:38 +05:00
Chen-I Lim
ed2c916afa
Update to v0.12 (#1904) 2021-12-01 14:55:47 -08:00
Scott Bishel
334d45969d
GH-1987 fix initial date property (#1898)
* Updating table row css (#1787)

* recreate dayCellContent when dateDisplayProperty changes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-12-01 08:46:38 -07:00
Jesús Espino
2f08c67827
Adding explict logout logic (#1895)
* Adding explict logout logic

* Fixing golangci-lint errors
2021-12-01 10:21:31 +01:00
Scott Bishel
f450555439
GH-1864 Add + sign to add new event. (#1892)
* Updating table row css (#1787)

* add + to date anchor

* rename classes, update tests

* Updating css for button

* Updating css

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-30 10:57:34 -07:00
Asaad Mahmood
7db59f5d03
GH-1051 - Aligning card title with emojis (#1876) 2021-11-29 14:32:46 +05:30
Jesús Espino
72978fd54b
Properly generating patch diffs from two blocks (#1861)
* Properly generating patch diffs

* Ading unit tests

* Remove unneeded function

* Fixing tests
2021-11-26 18:56:27 +01:00
Asaad Mahmood
9529ad8747
GH-1284 - Fixing alignment of properties on cards (#1875)
* GH-1284 - Fixing alignment of properties on cards

* Updating test
2021-11-26 09:27:35 -07:00
Scott Bishel
2d505ce359
CalendarView Remove Feature flag (#1865)
* Updating table row css (#1787)

* remove calendarView Feature flag

* remove unused imports

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-26 08:51:01 -07:00
Hossein
4f9702ac12
GH-1835: Show Autocomplete Textbox when At Mentioning Users in Comments or Content Section (#1836) 2021-11-25 15:10:39 -05:00
Asaad Mahmood
fba5653049
1873 - Calendar UI update (#1874) 2021-11-25 20:30:30 +05:00
Asaad Mahmood
083d89953c
GH-1837 - Updating link css (#1862) 2021-11-25 15:50:42 +05:00
Scott Bishel
797d6bc04a
Implementation of Calendar MVP (#1741)
* initial commit

* turn on featureflag

* additional fixes

* update for using FullCalendar

* update to allow both calendars

* fix dnd, remove log messages

* fix lint, unit tests

* dates should use themselves for timezone offset

* fix for tests

* remove react-big-calendar

* remove react-big-calendar

* fix for handling feature flags changing

* clean up

* remove unit test

* update tests

* fix tests

* lint fixes

* add creating event, fixes

* linter fixes

* clean up

* add unit tests

* fixes

* update snapshots

* update test

* update snapshot

* disable test for now, timezone changes labels

* remove test to get to build

* remove snapshot

* feedback updates

* use getConfig instead

* linter fix

* more linter

* revert changes

* some fixes for issues

* fix for displaying new calendar

* fix for displaying new calendar

* add properties to cards

* add properties to cards

* read only implementation

* i18-extract

* implement unit tests

* implement unit tests

* fix test

* remove log statements

* remove feature flag from config

* updated icons

* Updating icons for calendar mvp

* Revert "Updating icons for calendar mvp"

This reverts commit e16e715e8a.

* Revert "updated icons"

This reverts commit 120b7b0b96.

* update for code reviews

* fix linter

* more feedback updates

* fix some styling

* fix lint errors

* Updating css

* Updating calendar css

* update for lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 14:00:20 -07:00
Julien Fabre
941a47aead
chore[GH-#836]: Add unit tests for shareBoardComponent (#1810) 2021-11-23 16:36:54 +05:30
Harshil Sharma
470be213ec
Fixed a bug causing duplicate date related menues to appear in kanban calculations (#1834) 2021-11-23 16:09:04 +05:30
Harshil Sharma
5730fb4bfe
Fixed issue with desktop app causing white screen (#1853)
* Fixed issue with desktop app causing white screen

* Handled for personal server mode
2021-11-23 16:05:45 +05:30
Chen-I Lim
91dc9def9b
Update version to 0.11.0 (#1859) 2021-11-22 16:15:03 -08:00
Tim Borodin
26e8625cf3
[GH-1539] Implement searching for the individual words in workspaces (#1590) 2021-11-22 14:00:26 -05:00
Julien Fabre
238e1d5f0a
[GH-830]: Add unit tests for dialog (#1637)
* chore[GH-#830]: Add unit tests for dialog

* fix: snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-22 09:18:17 -07:00
kamre
a498149a76
[GH-42] Cypress tests for login actions (#1679)
* Testing API added to server:
 - registered only if `enableTestingAPI` is set to `true` in the config file
 - has only one route `test/reset`
 - reset clears the tables in db for blocks, users, sessions
 - functions `DeleteAllBlocks` and `DeleteAllUsers` added to `Store` interface
 - new functions implemented for `SQLStore`

* Cypress tests (initial version) for login actions added:

  - redirect to login page,
  - register user,
  - test for loading home page deleted,
  - allow js in `tsconfig.json` for cypress tests.

* Cypress tests for login actions:

  - check that main page with workspace is visible after registration,
  - initial version of test for login of register user.

* Cypress tests for login actions:

  - function for checking that workspace is available added,
  - functions for login and logout added,
  - test for password change added,
  - session parameters added to server config for cypress testing.

* Switch Cypress tests to typescript.

* Use ids for inputs instead of placeholder text.

* Use cypress request for login without loading login page.

* Cypress custom command for login added.

* Cypress tests fixed:
 - new cypress commands for server reset, register/login user
 - single test for "create and delete board/card"
 - fixes for `BoardPage` component useEffect callbacks
 - npm script `runserver-test` doesn't use single user mode

* Deletion of all blocks changed:
 - also deletes blocks from history
 - public function renamed to DeleteAllBlocksPermanently
 - code for mocks and public methods generated

* Server tests for files fixed on windows.

* Cypress tests for the registration of second user via invite link added.

* Added `baseUrl` in main `tsconfig.json` (required by cypress configuration).

* Cypress test fixed. Comments as well as log messages added.

* Log a message if testing API is enabled.

* Single cypress test for register/login actions.

* Revert changes to server.

* More convenient cypress commands:
  - all API calls made as separate commands
  - declarations for commands moved to separate global.d.ts file
  - utility functions moved after test actions in 'Login actions' test
2021-11-22 16:59:01 +01:00
Asaad Mahmood
70cfdce5e6
GH-1519 - Fixing color on template picker (#1829) 2021-11-16 07:43:19 -05:00
Julien Fabre
66a12d190b
[GH-856]: Add unit tests for kanbanColumnHeader (#1703)
* chore[GH-#856]: Add unit tests for kanbanColumnHeader

* fix: update snapshot

* fix: snapshot and logplayground
2021-11-15 15:53:10 +05:30
Moncy Gopalan
e9e86d8457
Fix the issue where clicking on the + button at the top of a board group wouldn't open the newly-added card (#1708)
Co-authored-by: Moncy Gopalan <ilusivespectre@gmail.com>
2021-11-15 14:56:51 +05:30
Miguel de la Cruz
d2bcb9ad66
Shows the version change banner only on plugin update and tries to reconnect when the interface is refreshed (#1807) 2021-11-13 12:03:53 +01:00
Prakhar Porwal
27ce296b54
[GH-1655] Card Delete : added Confirmation Dialog (#1684)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

* On Property Type or Name Change raises warning

* On Property Type or Name Change raises Confirmation dialog

Confirmation dialog box generalized for use

* The affected num of cards calculation added.

* If prop value not filled change after confirmation

* fixes after ci eslint failure

* fixes after ci eslint failure

* In cardDetailProperty test considered dialog box confirmation

* Added test for confirmationDialogBox

* npm run fix and fixed test failure

* snapshot files updated : `npm run updatesnapshot`

* ran i18n-extract script

* Added memo to Confirm dialog component

* reverted the addition of React.memo() as the feature breaks

* added confirmation for card  delete

* default export of Confirmation Dialog Component

* improved cardDialog test considering dialog box opening

* Added memo and useCallback for cnfrm dialog component

* eslint formating

* eslint formatting

* added confirm dialog for kanban and dialog card .

* updated snapshot . cardDetailProperty test failing

* updated snapshot

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* eslint formatting

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* removed unwanted comments

* imported library for failing test

* Updating card modal scss

* Addressed @sbishel comments

* fixed duplicate width in css

* updated comment in kanbanCard

* fixed failing snapshot test

* updated kanbanCard unit test

* npm run fix

* removed useState hook for confirmDialogProps

* removed useState hook from cardDialog and kanbanCard for confirmDialogProps.

* npm run fix

* removed duplicate declaration

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 15:03:28 -07:00
Jesús Espino
beee6f53e7
Fixing Adding content bug (#1799) 2021-11-11 14:59:15 -07:00
Scott Bishel
60f0f5d5c4
Update icons (#1796)
* Updating table row css (#1787)

* updated icons

* update snapshots

* fixes for standard icon removal

* revert config.json changes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 14:57:05 -07:00
Jesús Espino
537e015c72
Only allow routes without workspace prefix if you are in non-plugin mode (#1786) 2021-11-10 18:18:02 +01:00
Miguel de la Cruz
3ede6df028
Show a refresh banner on plugin update (#1720)
* Reload plugin on plugin update

* Add a banner that shows when updating the plugin and asks the user to reload

* Fix linter
2021-11-10 16:33:56 +01:00
Scott Bishel
1160477849
Updating table row css (#1787) (#1793)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-10 07:34:21 -07:00
Hossein
c13371c648
Fix GH-1690: Default card template on a board template adds a card to the template, not the board (#1748) 2021-11-09 17:11:22 -05:00
Julien Fabre
cfbec9d90b
[GH-840]: add unit tests for workspace (#1781)
* chore[GH-#840]: add unit tests for workspace

* fix: test and snapshot

* fix: snapshot error
2021-11-09 14:45:13 -07:00
Yusuke Nemoto
76cba7c02b
Fix message (#1768)
* Update deleteBoardDialog.tsx

* i18n: update en.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 14:26:42 -07:00
Jesús Espino
23d3ae3584
Fixing styles on product switcher menu (#1783) 2021-11-09 13:42:19 -07:00
sarvani1997
5fe26615f1
Fixed sort by date (#1719)
* Fixed sort by date

Date property is in JSON string. So, we should parse it and sort later.

* fix type script error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 15:39:04 -05:00
Hossein
792d8832c6
Fix GH-1727: Board calculations: Dates are cut off (#1770)
* Fix GH-1727

* update snapshots

* fix snapshot
2021-11-09 13:26:45 -07:00
Hossein
ad0e3a1248
Fix GH-1724 (#1771) 2021-11-09 14:27:09 +01:00
Rakshit Arora
63ff9a7de5
Vertically Center Aligned createdBy, createdAt, lastModifiedBy and lastModifiedAt Properties (#1580)
* Vertically Center Aligned Dates.

* Vertically Centered lastModifiedAt & lastModifiedBy Properties

* Centered createdAt & createdBy Properties

* Added newlines in sass files

* Fixed createdBy alignment

* fix linting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-11-09 08:23:09 -05:00
Julien Fabre
61aebfd39f
chore[GH-#853]: Add unit tests for kanban (#1718)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-08 10:08:12 -07:00
Scott Bishel
a9d397c5e1
throw error if workspace is undefined (#1773) 2021-11-08 09:49:59 -07:00
Miguel de la Cruz
fa36e092bb
Server generated ids (#1667)
* Adds server ID generation on the insert blocks endpoint

* Fix linter

* Fix server linter

* Fix integration tests

* Update endpoint docs

* Update code to use the BlockType2IDType function when generating new IDs

* Handle new block ids on boards, templates and views creation

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-05 11:54:27 +01:00
Scott Bishel
581ae7b97a
fix failing test (#1757) 2021-11-04 19:33:08 +01:00
Scott Bishel
381085f655
Fixes issue with dates and daylight savings (#1752)
* dates should use themselves for timezone offset

* remove log lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 19:21:47 +01:00
Miguel de la Cruz
f566a7d7c0
Redirect to new routes when visiting a board with the legacy ones (#1746) 2021-11-04 18:24:57 +01:00
jrester
13ef8e85f3
[GH-1510] make calculation options translatable (#1529)
* make calculation options translatable

* fix liniting errors

* don't modiy options

* fix liniting error

* Fix failing test

* some tests where failing because the IntlProvider was missing in the
  component hierachy
* changed 'Unique Values' to just 'Unique'
2021-11-04 16:51:17 +01:00
Julien Fabre
6741b0e07e
[GH-837]: Add unit tests for topBar (#1751)
* chore[GH-#837]: Add unit tests for topBar

* fix: eslint error for screen

* fix: none

* fix: none and snapshot...
2021-11-04 09:35:05 -04:00
Fares Rihani
69b8641534
[GH-1351] Webapp Linter Fixes - Investigate / Update using any Record<string, any> (#1682)
* Webapp Linter Fixes - update workspace.ts, dateRange.tsx, editableDatePicker.tsx

* Webapp Linter Fixes - accept Record<string, any> in block.ts, user.tsx

* Webapp Linter Fixes - Cleanup moment global-require

* Webapp Linter Fixes - match settings type to backend in workspace.ts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 11:43:03 +01:00
Miguel de la Cruz
cee4b72261
Normalise and add safety checks to telemetry code (#1739)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 18:46:51 +01:00
Nishant Mittal
02f7615c10
[GH-1432]: Use Button component on welcomePage.tsx (#1734)
* feat: use Button component on welcomePage.tsx

* update snapshots and fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 10:03:18 -06:00
Miguel de la Cruz
cadbaf5724
Check nulls on board and active view when tracking telemetry events (#1738)
* Check nulls on board and active view when tracking telemetry events

* Update effect to trigger a track event when the board or the view change
2021-11-03 16:22:22 +01:00
Grzegorz Tańczyk
ef22efd917
[GH-1278] Confirm delete when deleting board (#1339)
* Delete board confirmation modal (#1278)

* dialog should fill the screen on small resolution

* Updating delete board confirm UI

* Pass onClose callback to Dialog props

* lint

* removing danger-button-bg-rgb from shared variables, adjusting dialog styles to work both in plugin and standalone version of focalboard

* lint

* remove set timeout

* Update button.scss

* update snpashot

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-11-03 08:57:03 -04:00
Jenya
f6c867b4af
Fixed menu label hover (#1499)
* Fixed menu label hover

* removed cursor in menu wrapper, causing pointer cursor on entire option menu

* Fixed sidebar menu buttons having no cursor

* logo title cursor

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 17:44:32 +05:30
Kunal Kumar Verma
9a3406d0d6
fix: error message ui (#1683)
Signed-off-by: kkvanonymous <ninja.kunal01@gmail.com>
2021-11-03 17:02:31 +05:30
Harshil Sharma
d5be5258af
Prevented workspace switcher from settiong dashboard as the last visited workspace (#1676)
* Prevented workspace switcher from settiong dashboard as the last visited workspace ID

* Fixed tests
2021-11-03 10:29:17 +05:30
Harshil Sharma
f0ae9630ed
Fixed a bug causing duplicate options to appear in board calculations (#1711)
* Fixed a bug causing duplicate options to appear in board calculations

* Updated ate option names to avoid ambiguity with number functions
2021-11-03 09:36:11 +05:30
Kirti Lodha
e4b570e6aa
start and end dates styling changed (#1669)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-02 09:03:56 -06:00
Marc Velasco
1b10890f72
add eslint comment to ignore todo for empty if block (#1624)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:18:45 -06:00
Scott Bishel
9b9682f626
Create FeatureFlags in configurations (#1622)
* create FeatureFlags in configurations

* update for unit tests

* update unit tests, go.mod

* update go.sum

* fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:12:43 -06:00
Scott Bishel
754109e168
Gh 1451 mobile sidebar (#1675)
* temporary checkin

* hide sidebar by default < 768

* update to use function

* remove unused snapshot

* unhide sidebar on expansion

* update to handle manual close in personal server
2021-11-01 18:59:18 -06:00
Prakhar Porwal
1176247f41
[GH-1647] Added localization for gallery option in view menu (#1654)
* added intl formatting for name property

* ran i18n-extract script

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
2021-11-01 10:23:16 -04:00
Julien Fabre
ac3533e0e3
chore[GH-#854]: Add unit tests for kanbanCard (#1698) 2021-11-01 09:08:37 -04:00
Harshil Sharma
2bbac9d1a1
Fixed issue where clicking on rendered markdown links would move editor into editing mode (#1677)
* Fixed issue where clicking on rendered markdown links would move editor into editing mode

* Updated tests

* Minor fixes
2021-11-01 11:56:02 +05:30
Julien Fabre
b40bd0f2f9
chore[GH-#828]: Add unit tests for centerPanel (#1695) 2021-11-01 11:05:26 +05:30
Julien Tant
2063a4ec47
webapp: make 'no options' message more explicit + translatable (#1706) 2021-11-01 11:00:16 +05:30
Julien Fabre
1b1d2b78a5
chore[GH-#857]: Add unit tests for kanbanHiddenColumnItem (#1699) 2021-11-01 10:57:49 +05:30
Julien Fabre
7fa4c55473
chore[GH-#855]: Add unit test for kanbanColumn (#1704) 2021-11-01 10:55:56 +05:30
Chen-I Lim
380bd92725
Update telemetry (#1673) 2021-10-27 09:30:42 -07:00
kamre
c5a4dd80f7
[GH-705] Auto-name new property (#1408)
* Open menu with property name and type when new property is added.

* Adding new property asks for the type and sets initial name.

* Component for property types menu items introduced.

* Close property menu when enter is pressed in the input.

* Unit test for `CardDetailProperties` fixed:
 - jest snapshot updated
 - switched from mocking `fetch` to mocking `mutator`

* Unit tests for `CardDetailProperties` updated:
 - use the recommended way to get elements and trigger user events
 - test for properties menu when adding new property added

* Unit tests for `CardDetailProperties` added:
 - delete existing property
 - add new property

* Don't use debouncing for property type selection.

* Fix unit test for deleting property.

* Width of button `+ Add a property` is fixed.

* Jest snapshot updated after merge with `main`
2021-10-27 09:04:15 +02:00
Prakhar Porwal
30669e6d43
[GH-838]Created unit tests for /webapp/src/components/viewMenu.tsx (#1648)
* Created snapshot unit tests

* added one more view (table view) to unit test

Co-authored-by: Prakhar <>
2021-10-26 20:02:14 +02:00
Nishant Mittal
8b66243ca2
[GH-839] Unit tests for viewTitle.tsx (#1662)
* test: unit tests for viewTitle.tsx

* readonly: false
2021-10-26 16:58:53 +05:30
Julien Fabre
37a0b274b7
chore[GH-#834]: Add unit tests for modal (#1644) 2021-10-26 16:34:44 +05:30
Julien Fabre
3f726f9e64
chore[GH-#833]: Add unit tests for markdownEditor (#1643) 2021-10-26 16:33:39 +05:30
Hossein
fee83b49a6
Write Unit Test for emptyCenterPanel.tsx and welcomePage.tsx (#1621)
* write test for welcomePage

* Add test for emptyCenterPanel

* Addresse Jesus Comments

* Address Jesus Comments
2021-10-25 11:44:46 -04:00
Marc Velasco
169326e714
removed TODO comments flagged by eslint (#1623) 2021-10-25 11:36:59 -04:00
Nishant Mittal
e33fa1d593
fix: minor fixes to addContentMenuItem.test.tsx and cardDialog.test.tsx (#1651) 2021-10-25 16:38:25 +02:00
Julien Fabre
eac489231a
chore[GH-#831]: Add unit tests for emptyCenterPanel (#1652) 2021-10-25 13:11:14 +05:30
Chen-I Lim
ae552e260c
Update to v0.10 (#1633) 2021-10-22 13:59:05 -07:00
Hossein
eed1f86c15
Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
Harshil Sharma
2415c9f28b
Ensure workspace ID is available in path (#1594)
* WIP: Testing a fix

* Moved to workspace ID path if workspace ID is available

* Remived debug logs

* added personal server check

* Removed an awesome class name

* Use replace instead of push
2021-10-22 14:37:46 +05:30
Julien Fabre
0e6fab45eb
chore[GH-#829]: Add unit tests for contentBlock (#1609)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 13:42:39 -04:00
Scott Bishel
d0083f6ed0
GH-1489: Add Telemetry for Shared Boards (#1610)
* add telemetry for shared boards

* move where setting view out of Routes

* add for configuration setting

* fix spacing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 11:17:31 -06:00
Miguel de la Cruz
d22fe7fbc0
Modify undo manager to return a value and use it on undo (#1616)
* Modify undo manager to return a value and use it on undo

* Storing the last redo value internally to correctly run undo

* Fix types

* Improve test ensuring redo didn't add original block

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 18:50:19 +02:00
Hossein
9f74287802
fix main (#1619) 2021-10-21 10:29:06 -04:00
Miguel de la Cruz
afc37ca3af
Add non-reliable websockets support (#1497)
* Add non-reliable websockets support

* Remove unused properties

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-10-21 15:44:27 +02:00
Julien Fabre
17b2d07daf
[GH-852]: Add tests for galleryCard (#1587)
* chore[GH-#852]: Add tests for GalleryCard

* fix: error octoClient not mocked

* fix: review snapshot for image
2021-10-21 14:09:45 +02:00
Hossein
95b230acea
fix main (#1604) 2021-10-20 10:21:10 -04:00
Naresh Chavan
4465a85c3e
Update iconButton.tsx (#1512) 2021-10-20 08:21:24 -04:00
Julien Fabre
e5e7501efb
[GH-827] Add tests for cardDialog (#1592) 2021-10-19 22:39:53 -04:00
Nishant Mittal
96c346ed0f
[GH-1003] Deleted option doesn't go away immediately in select property (#1569) 2021-10-19 15:36:16 -04:00
Johannes Marbach
14634fd4e8
[GH-1080] Use current locale for date range (#1575)
This uses the currently configured locale to compute the value of date
range table aggregations. Previously, it would fall back to the browser
locale (or English) and ignore the locale configured in Focalboard
itself.

Relates to: #1080

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 15:17:08 -04:00
Julien Fabre
85ffb63b91
chore[GH-#851]: Add unit tests for Gallery (#1577)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 14:53:36 -04:00
Adithya Krishna
034c4828b1
Fixed Auto Expand Issue (#1554)
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2021-10-18 17:34:51 +05:30
Nakul Chauhan
a8390747d3
Fixed overflowing checkbox (#1585) 2021-10-18 01:45:36 -04:00
Rafael Baldasso Audibert
1c5d4aeeb2
Some webapp linter fixes (#1405)
* fix: Fix eslint warning when using `window as any`

* fix: FIx some eslint errors

Closes #1359

* fix: Add some mora extra types

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-16 18:36:03 +02:00