* Initial commit for refactoring properties
* More work on isolating properties
* Some other fixes in tests!
* Handle gracefully the unknown properties
* Moving properties outside components folder
* Finishing changes to move the properties out of components
* Moving more things to the property logic
* Some improvements on properties
* Cleaner class based approach for property types
* Removing accidentally added people prop
* A bit of simplification
* Fixing some tests
* Fixing more tests
* Fixing more tests
* All tests working
* Fixing eslint errors
* Adding the filtering logic for text and boolean properties
* Adding support for searching by title
* Fixing some tests and adding others
* Fixing tests
* Removing TODO
* Addressing PR review comments
* Fixing filterValue test after merge
* Removing accidentailly included typo
* Fixing typo introduced
* add ref to retrieve current text setting
* change to handle without forwardRefs
* state not needed here
* cleanup
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* 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>
* 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>
* 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`
* 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>
* 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
* Added getWorkspaceUsers API
* Integrated workspace user API in UI
* Integrated workspace user API in UI
* Added toto for implementation slot
* Implemenmted getWorkspaceUSers to get data from Focalboard DB
* Updated store mocks
* Made select styles a shared constant
* Removed unwanted diffs
* Removed unwanted diffs
* Updated snapshots for new property type
* Added user store test
* Added missing copyright notice
* Returning error if no users found to retain original behavior
* Minor fixes and added tests
* Minor fixes
* Used React context for workspace users
* Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets
* Mergerd both workspace user contextx
* Minor review fix