* 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>
* 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>
* 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>
- 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
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
* 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>
* 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'
* 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>
* 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 <>
* 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
* 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>
* 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>
* 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>
* 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
* 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