1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-12 09:04:14 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
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
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
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 Tant
2063a4ec47
webapp: make 'no options' message more explicit + translatable (#1706) 2021-11-01 11:00:16 +05:30
Hossein
eed1f86c15
Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
prakharporwal
977bc1dafa
[GH-512] Feature #512 made confirmation dialog box. (#1546)
* 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

Co-authored-by: Prakhar <>
2021-10-14 11:42:36 -07:00
Chen-I Lim
58f6b8031a
Fix #1397. Add show empty toggle to Dashboard (#1398)
* Fix #1397. Add show empty toggle to Dashboard

* Update Jest snapshot

* Fix jest

* Use UserSettingKey
2021-10-04 14:27:30 -07: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
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
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
d0ba389063
FTUE - Dashboard (#1177)
* Dashboard UI complete

* Updating UI changes

* Finishing touches

* Made navigation better

* Updated dashboard navigation

* Fixed spacing issue

* Fixed spacing issue

* Updating UI

* Fixed a CSS linter issue

* Update webapp/i18n/en.json

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

* Updated docs

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>

* Disabled image

* FIxed tests

* Review fixes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-14 10:42:18 -06:00
Justine Geffen
b5053d982a
Update en.json - UI capitalization (#1178)
* Update en.json

Adjusted capitalization for UI text for consistency.

* Update webapp/i18n/en.json

* Apply suggestions from code review

* Propagating text the changes to the rest of the code

* Fix the snapshots

* Fixing cypress test

* Fixing table tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-14 17:28:39 +05:30
Chen-I Lim
33f7b246be
Fix #1161. Add Give Feedback link. (#1162)
* Fix #1161. Add Give Feedback link.

* Pass version to feedback link

* npm run i18n-extract
2021-09-08 16:34:02 -07:00
Harshil Sharma
08db4fed61
Workspace switcher (#1052)
* API WIP

* WIP

* Finished changes

* Fixed colors:

* Don't enforce charset adn collation in migration, pick from database DSN

* Added MySQL query

* Updated mocks

* Added tests

* Lint fixes

* Fixed typo and removed unsed style

* Checked in a snapshot

* Updated snapshot

* Updated Cypress test

* Updated Cypress test

* Updated Cypress test

* Fixed review comments

* Fixed tests

* Added default collation for MySQL

* Added documentation for ensuring correct database collation

* Updated migrations

* Fixed a bug with collation

* Fixed lint errors

* Used correct collation

* debugging

* Updating css

* Minor UI changes

* USe inbuilt default collation

* Used only charset for mysql

* Fixed linter issue:

* Added migration for matching collation

* Reverted local config changes

* Reverted local config changes

* Handled the case of personal server running on MySQL

* WIP

* Now running collation matching migration onlyt for plugins

* Minor optimization

* Multiple review fixes

* Added group by clause to primary query

* Supported for subpacth

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-08 10:22:03 +05:30
Shahzaib
712c18efce
[GH-858] Add test cases for the multi-select component (#906)
* test(multiSelect): Add test cases for multi-select

* Remove `creatable-selector-parent` test id

* test(multiSelect): Make elements more accessible

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

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

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

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

Co-authored-by: Shahzaib <shahzaib@placemarktechnologies.com>
2021-08-16 18:03:33 +02:00
Scott Bishel
383723a128
Implement Date ranges (#660)
* initial commit

* update to work around state issue

* update comments

* temp commit

* add unit tests, cleanup

* language extract, lint fix

* update stored object to be same as state object

* fixing merge issues

* update dates to use locale

* linter fixes, test cleanup

* self review

* add unit test, fixes

* fix linter

* remove dateFormat from calls

* move DateRange to components

* update translations

* spacing fix

* update tests, fix some hour inconsistencies

* remove logging

* more updates

* more cleanup

* update to disply mm/dd/yyyy when editing

* update to disply mm/dd/yyyy when editing

* input date use locale

* update css to make selection round

* update css to make begin/end round
2021-08-06 10:44:01 -06:00
Scott Bishel
beebf70cbc
update text for shared board (#880) 2021-08-04 17:22:55 -06:00
Miguel de la Cruz
155bb89468
Adds dashboard placeholder route and component (#764)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 17:47:28 +05:30
Asaad Mahmood
64acecb1b0
GH-535 - Updating spacing for show/hide description (#767) 2021-07-22 18:53:48 +05:00
Harshil Sharma
e0ec1c03e0
New Props: Created By, Created At, Updated By, Updated At (#583)
* Added create_at column for blocks

* Populating created by

* Added logic for storing created by

* Added GetBlock by ID to store interface

* Added creayed by and modified by properties

* Added created by and modified by properties

* Added lastmodifiedat property

* Fixed existing webapp test

* Added webapp unit tests

* Added webapp unit tests

* Added webapp unit tests

* Adding server test

* Added server tests

* Fixed a bug causing created by to be set empty

* Avodining timezone specific test behavior

* Made cypress viewport bigger to avoid out-of-viewoport issues in multiple tests

* Removed a leftover comment

* Added updated at/by in table view

* Added updated at in card view

* Fixing sort

* Fixed sorting of updated by

* Fixed existing tests

* Added table tests

* Added cardTree fix

* Fixed tests

* Removed unused import

* Update snapshots

* Added a tamper attempt test

* Removed some leftover debug code

* Removed sending creator from client

* Fixed lint error

* Fixed a build issue

* Avoided setting insert query params multiple times

* Multiple minor review fixes

* Fixed test
2021-07-08 20:06:43 +05:30
Scott Bishel
b3dd307664
GH-408 Implement Table Group (#463)
* initial checkin

* temporary commit

* most functionality working

* cleanup

* fixes for read-only mode

* implement drop on groups

* implement dnd card -> groupheader

* fix linter

* remove setting input size, set to 1st column width

* fix linter

* revert change

* add ungroup feature

* rework to handle fixed header row.

* fix for deleting group by property

* make falsy

* post merge fixes, handle multi-select

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-07 08:47:22 -06:00
Jesús Espino
2f401df55d Fixing translations 2021-05-11 12:17:33 +02:00
Johannes Marbach
0f0d9f3bd8
[GH-38] Add date property (#391)
* [GH-38] Add date property

Closes: #38

* Add date menu item in snapshot to fix tests

* Add react-day-picker in NOTICE.txt
2021-05-10 07:46:07 +02:00
Jesús Espino
0265e41c72 Adding support for traditional and simplified chinese 2021-04-30 12:25:14 +02:00
Johannes Marbach
0ed20e499f
[GH-190] Add global option to disable randomized card icons (#310)
Relates to: #190
2021-04-26 16:41:12 +02:00
Chen-I Lim
0a88e9606e Fix #274. Add re-login button to error page. 2021-04-15 11:15:50 -07:00
Jesús Espino
23964c22ae Simplifying register page 2021-04-09 17:13:25 +02:00
Jesús Espino
bbf10858a8 Allow to show/hide title in the gallery view 2021-04-08 11:30:05 +02:00
Chen-I Lim
e2a9597b78 Update PropertyMenu.Delete id 2021-03-31 14:19:12 -07:00
Bharat
c30534b0c2 intl dialog.tsx 2021-04-01 02:25:05 +05:30
Bharat
bede81a921 Merged changes from main and ran extract 2021-04-01 02:14:02 +05:30
Chen-I Lim
884b658010 Show no board hint with workspace title 2021-03-30 15:50:37 -07:00
Jesús Espino
53a6331a05 Fixing translation extraction 2021-03-30 21:35:48 +02:00
Jesús Espino
325cedc5df Adding new languages 2021-03-25 19:46:59 +01:00
Bharat Kalluri
563f0ceef4 added i18-n extracted text 2021-03-24 07:15:45 +05:30
Jesús Espino
a27fba347c Adding Russian and Dutch languages 2021-03-21 19:47:47 +01:00
Jesús Espino
c8a06c6a8e Adding french support 2021-03-19 23:11:14 +01:00
Jesús Espino
98153b8e98 Adding german and japanese translations 2021-03-19 16:10:39 +01:00
Chen-I Lim
194746f3ac i18n-extract 2021-03-10 14:56:20 -08:00
Chen-I Lim
cb2814f364 i18n 2021-03-09 13:44:02 -08:00
Chen-I Lim
5fd0636809 About Focalboard 2021-01-28 13:55:51 -08:00
Asaad Mahmood
3abcb59b43 Updating Application UI 2021-01-22 23:44:04 +05:00
Chen-I Lim
2bddb0cfc0 Remove user menu for single-user 2021-01-21 10:42:05 -08:00
Chen-I Lim
1286349a22 Change password 2021-01-21 10:16:40 -08:00
Chen-I Lim
0598aaff2d i18n-extract 2021-01-13 17:02:46 -08:00
Chen-I Lim
9b1d9e7a1c i18n-extract 2021-01-13 11:48:42 -08:00
Chen-I Lim
e35ba1abc5 Property Menu: i18n 2021-01-04 12:08:12 -08:00
Chen-I Lim
8ac0a9ba14 Use blue theme by default (rename to defaultTheme) 2021-01-04 11:19:03 -08:00
Chen-I Lim
68f5130098 Refactor: card contentOrder 2020-12-18 12:52:45 -08:00
Chen-I Lim
6d1782256c Menu text consistent sentence casing 2020-12-11 11:10:25 -08:00