Commit graph

1953 commits

Author SHA1 Message Date
Julien Fabre
cd261224c4
[GH-868]: add unit tests viewHeaderSearch (#1406)
* chore[#868]: add unit tests viewHeaderSearch

* fix: review test and add testUtils
2021-10-04 09:53:27 +05:30
Julien Fabre
b02708173a
[GH-864]: add tests unit for viewHeader (#1413)
* chore[GH-#864]: add test unit for viewHeader

* fix: eslint import useless
2021-10-04 09:52:30 +05:30
kamre
f1508df6c1
Add --progress for watchdev npm script. (#1407) 2021-10-02 07:35:36 -04:00
Scott Bishel
746d53c4f7
GH-Mobile banner css (#1326)
* mobile banner via css

* remove comment

* fix lint

* fix bad merge
2021-10-01 11:53:27 -06:00
Scott Bishel
35bb3e9024
add readtoken when in readonly mode (#1382) 2021-10-01 11:29:44 -06:00
Doug Lauder
992ad833d1
run all CI on PRs to be merged with release branches (#1390) 2021-10-01 10:24:21 -04:00
Elisha Hollander
9cb200a831
Update responsibile_disclosure_policy.md (#1383)
* Update responsibile_disclosure_policy.md

* Update and rename responsibile_disclosure_policy.md to responsible_disclosure_policy.md

Renamed page due to typo.

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2021-10-01 13:39:00 +02:00
xMicky24GIT
8a9bb92330
Fix kanban cards overlapping with header (#1234)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-10-01 16:44:15 +05:30
Elisha Hollander
4264f69489
remove default return (#1384) 2021-10-01 16:02:18 +05:30
Chen-I Lim
80b9abf9dd
Fix #1365. Run CI workflows on release branches (#1366) 2021-09-30 12:09:38 -07:00
kamre
384e350c13
[GH-1111] Fix height for tooltip (#1123)
* Fix height for tooltip.

* Use unitless number for line-height.

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-30 11:55:24 -07:00
kamre
7617d9e334
Fix dragging for gallery card: (#1303)
- use `translate3d` for proper preview in Chrome
  - set `pointer-events` to `none` to prevent image opening in Firefox

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-30 11:46:26 -07:00
Harshil Sharma
44520d5748
Allowed dashboard to scroll (#1377) 2021-09-30 07:48:30 -04:00
Scott Bishel
d4e5661ee5
remove file not being used. (#1376) 2021-09-30 12:01:19 +02:00
Scott Bishel
bde2a287e1
GH-1362: Fix missing return type on function (#1375)
* fix missing return type errors

* fix in userSettings
2021-09-29 17:58:36 -06:00
Scott Bishel
f92727f993
add additional telemetry tracking (#1220)
* add additional telemetry tracking

* add additional telemetry tracking

* update name of event

* update logging

* remove log lines
2021-09-29 16:37:20 -06:00
Miguel de la Cruz
ce98ec55fc
Recovers inactive websockets connections on reconnect in plugin mode (#1324)
* Stores a cache of inactive connections so their subscriptions are recovered on reconnections

* Adds test for getUserIDsForWorkspace and simplify messages through helpers

* Make the plugin websocket client more resilient

* Remove missed event callback and limit ws state polling to one at a time

* Add read lock for the plugin adapter and guarantee atomic ops on inactiveAt

* Add mutex to the plugin adapter client and tests to cover for races

* Split plugin adapter mutex in two and use them to lock only on data access

* Group plugin adapter fields by the mutex that's guarding them
2021-09-29 18:19:34 +02:00
CuriousCorrelation
7970d4e6c5
[GH-1082] Add count and percent table calculations for checkbox (#1323) 2021-09-29 12:08:11 +05:30
Harshil Sharma
e40424e319
Handled the case of missing user (#1367) 2021-09-29 11:27:21 +05:30
Justine Geffen
801bc2cc13
Update CONTRIBUTING.md (#1342)
Updated with information about how to contribute to the docs.
2021-09-28 19:57:24 +02:00
Justine Geffen
f5bf6e8019
Update templates for issues (#1175)
* Update doc_improvement.md

Update templates: formatting, style, example links.

* Update bug_report.md

* Update enhancement.md

* Fix merge

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-09-28 18:43:17 +02:00
Hossein
7fae65ea02
Start Welcome Page (#1231)
* start welcome page

* setup template

* setup forwarding logic

* fix linting errors

* Updating UI

* Use intl strings

* Address comments

* go to baords welcome

* Fix image problem

* fix linting

* fix getting shown wrong things

* fix build issues

* fix cypress test and non plugin

* Fix bugs

* remove console

* Add welcome page

* address comments

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-28 09:51:32 -04:00
Scott Bishel
cbfb4cb36f
GH-1312 - Update title when running a plugin (#1317)
* Update title when running a plugin

* Update webapp/src/pages/boardPage.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-28 09:50:23 -04:00
Harshil Sharma
6c6351dae8
Made table calculations uneditable in readonly view (#1320)
* Made table calculations uneditable in readonly view

* Updated snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-09-28 15:29:06 +05:30
Hossein
ec6bee9d65
Fix issue (#1329) 2021-09-27 15:07:35 -04:00
kamre
50470efe07
[GH-1057] Highlighting on hover for property values in the card dialog (#1065)
* Highlight property values on hover:
  - highlight on hover property values that are not readonly
  - make property name buttons the same width
  - set `min-width: 150px` for property values
  - add `readonly` class for LastModifiedAt/LastModifiedBy/CreatedAt

* Make `Editable` used in card property values automatically expandable:
  - input width computation relies on `useLayoutEffect` and `getComputedStyle`
  - enable automatic expand for editable fields in `PropertyValueElement`
  - enable automatic expand for editable inside `URLProperty`
  - fix for tooltip display in `KanbanCard`

* Fix issue with ellipsis in Chrome.

* Support highlight on hover for `UserProperty`

* Updating hover state and UI

* Jest snapshot updated.

* Fix jest snapshots

* Update jest snapshot

* Update jest snapshot

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-09-24 17:56:21 -07:00
Chen-I Lim
cc5c712bd0 Merge branch 'kamre-gh-1059-fix-empty-placeholder-in-card-dialog' 2021-09-24 16:51:18 -07:00
Chen-I Lim
3fbaf36009 Merge branch 'gh-1059-fix-empty-placeholder-in-card-dialog' of https://github.com/kamre/focalboard into kamre-gh-1059-fix-empty-placeholder-in-card-dialog 2021-09-24 16:47:07 -07:00
Miguel de la Cruz
81284ed057
Remove indir directive as it's causing problems in OSX systems (#1328) 2021-09-24 21:01:05 +02:00
defectivepixel
58da537274
[GH-526] add copy card link (#795)
* feat: add copy linke to card menu

* style: fix lint issues

* fix: replace add icon with link icon

* tests: update snapshots

* Update webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* add card id to url if not exist

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-09-24 12:26:03 -04:00
Harshil Sharma
0f9486262e
Fixed a bug where user couldn't craewte boards from templates (#1319) 2021-09-23 13:12:36 +05:30
Miguel de la Cruz
a8da028bc7
Adds workspaceID to blocks and makes board page only reacts to the workspace updates (#1299) 2021-09-22 13:57:00 -06:00
Chen-I Lim
1c84567c9b
Fix #1285. Don't set property for notIncludes filter. (#1307) 2021-09-22 10:36:46 -07:00
Asaad Mahmood
efa07a13f8
GH-1263 - Updating sidebar width (#1298) 2021-09-22 22:16:43 +05:00
Asaad Mahmood
33dfd798d0
GH-1276 - Updating scroll on IOS (#1310) 2021-09-22 22:16:02 +05:00
Miguel de la Cruz
a90fde5e52
Ignores manifest.go file on watch-plugin to avoid reboot loop (#1314) 2021-09-22 17:59:11 +02:00
Miguel de la Cruz
9838609926
Adds the watch-plugin make target to improve the development experience (#1300)
* Adds the watch-plugin make target to improve the development experience

* Add modd command precheck
2021-09-22 17:08:24 +02:00
Miguel de la Cruz
9086246fb5
Adds modd based targets that watch both server and webapp (#1257)
* Adds modd based targets that watch both server and webapp

* Add modd precheck to related targets
2021-09-22 15:40:04 +02:00
Harshil Sharma
ca07c9b9c3
Updated 0 board to 0 boards (singular vs plural) (#1210)
* Updated 0 board to 0 boards (singular vs plural

* Made text translatable

* Used better i18n for singular-plural

* Updated tests

* Minor fixes

* done

* Lint fix

* Updated tests
2021-09-22 11:19:12 +05:30
Harshil Sharma
2b7bd911c9
Allow no workspace and send to dashboard is that happens (#1296) 2021-09-22 09:42:41 +05:30
Harshil Sharma
950a88be5e
Added MySQL migration for applying column level collation (#1297) 2021-09-22 09:23:02 +05:30
Scott Bishel
9c94bbb19a
disable flakey test (#1306) 2021-09-21 13:25:45 -04:00
Jesús Espino
4fe1cd8ff6
Making compilation cache more reusable (#1301) 2021-09-21 12:51:04 -04:00
Scott Bishel
660fa5e434
GH-1244 add setting -webkit-user-select and others for MenuWrapper (#1292)
* add setting -webkit-user-select and others for MenuWrapper

* fix lint, disable check
2021-09-21 10:25:56 -06:00
Jesús Espino
d6be51de76
Fix theming problems on account settings and custom-status modals (#1202)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-21 16:29:08 +02:00
Jesús Espino
ec0fab5b03
Fix elevation-1 variable (#1255) 2021-09-21 10:27:36 +02:00
Harshil Sharma
26e6512626
Open dashboard from apps witcher (#1295) 2021-09-21 13:50:16 +05:30
Doug Lauder
6daaf3ef59
ensure @mentions only sent to team members (#1216) 2021-09-20 17:32:47 -04:00
Harshil Sharma
1c88d1c986
Global template fetch fix (#1253)
* Added dashboard tests

* Fixed lint issue

* Fixed issue where global templates were not being fixed

* Added test

* Fix tests

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-20 08:36:05 -06:00
Harshil Sharma
5faa669739
Workspace switcher query Mysql issue resolved (#1252)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-20 14:14:19 +05:30