* Use `Utils.displayDateTime` in Comment/CreatedAt/LastModifiedAt components.
Option for month changed to 'long' for `Utils.displayDateTime`.
* Don't show current year in `displayDateTime`.
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
* Changes in function `Utils.displayDate`:
- uses 'MMMM DD' for dates with current year
- uses 'MMMM DD, YYYY' for other years
- corresponding unit tests added
* Changes for input inside `EditableDayPicker`:
- uses `Utils.displayDate` when day picker is not visible
- uses preferred date format while day picker is visible
- uses preferred date format for input placeholder
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* New widget `EditableArea` introduced:
- textarea with automatic height
- implementation is based on AutosizeTextarea from mattermost-webapp
- used for title in CardDetail
* Cypress test for setting card title fixed.
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
* Translated using Weblate (German)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp
* Translated using Weblate (Dutch)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp
* Translated using Weblate (Turkish)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp
* Translated using Weblate (Occitan)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
* GH-663 - Updating active indicator for boards
* Passed active view ID to sidebar component
* Updating view selected state
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
* Refactor the websockets connection messages and lifecycle
* Modify frontend to subscribe to a workspace instead of a set of blocks
* Fixing linter errors
Co-authored-by: Jesús Espino <jespinog@gmail.com>
* File `package-lock.json` updated.
* Use `cross-env` for setting environment variables in npm scripts.
* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
* Sample using @reduxjs/toolkit
* Some improvements related to typescript in the store
* Adding some extra data to the redux store
* Moving the workspace users into redux store
* Wrapping the language into the redux store
* Fix some wrong names
* Fixing typos
* Removing unused imports
* Removing unnecesary users context
* Fixing eslint error
* Fixing memory leak on tests
* Always using the redux store for workspace users
* Fix eslint
* Addressing PR review comments
* Fixing cypress tests
* Fixing cypress tests (second try)
* Fixing cypress tests (third try)
* Translated using Weblate (Occitan)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp
* Translated using Weblate (Dutch)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp
* Translated using Weblate (Turkish)
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (174 of 174 strings)
Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp
* Translated using Weblate (German)
Currently translated at 99.4% (173 of 174 strings)
Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
* 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
* add user setting for preferred date format
* set date format value to local storage
* use user preferred date format to display dates
* use object destructuring
* fix tests and lint
- chrome launch configuration for webapp added,
- include `*.tsx` files in `tsconfig.json` so that jest tests inside `*.tsx` files don't show errors about not found jest functions