Commit graph

54 commits

Author SHA1 Message Date
Harshil Sharma
0d97b6e281
Table calculations (#761) 2021-08-10 14:19:00 -04:00
Jesús Espino
c734cfb8d1
Adding support for patch blocks (#877)
* Adding support for patch blocks

* Adding some improvements

* Adding api integration test for patch

* Adding SQL store tests

* Regenerating autogenerated code

* Fix linter errors

* Remove wrong update of the swagger file

* Update server/model/block.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Fix gofmt

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
2021-08-06 14:10:24 +02:00
Jesús Espino
be28b7dad5
Migrate webapp global state to redux (#737)
* Migrating workspace tree to redux

* More changes for use the redux store for boads and views

* Taking into account the templates on websocket event updates

* Fixing bug on boardTree maintenance

* Websocket client now connects once and subscribe/desubscribe on the fly

* Including usage of the new websocket client

* More work around migrating to redux

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixing some things

* WIP

* WIP

* Another small fix

* Restoring filtering, sorting and grouping

* Fixing some other bugs

* Add search text reducer

* Fixing another drag and drop problem

* Improve store names and api

* Fixing small bgus

* Some small fixes

* fixing login

* Fixing register page

* Some other improvements

* Removing unneeded old files

* Removing the need of userCache

* Fixing comments and fixing content ordering

* Fixing sort

* Fixing some TODOs

* Fixing tests

* Fixing snapshot

* Fixing cypress tests

* Fix eslint

* Fixing server tests

* Updating the add cards actions

* Fixing some tiny navigation problems

* Mocking the api calls to pass the tests

* Migrating a new test to redux

* Adding the card right after the insert of the block (not wait for ws event)

* Showing the ws disconnect banner only after 5 seconds of disconnection

* Fixing share view

* Fix eslint

* Fixing problem with sort/groupby modifications

* Fixing some details on redirections and templates creation

* Fixing small bugs around undo

* Fix update properties on click outside the dialog

* Improving the column resize look and feel

* Removing the class based objects from the store (now they are all plain objects

* Fix eslint

* Fixing tests

* Removing unneeded code
2021-08-02 17:46:00 +02:00
Hossein
2ea4a85495
Description Section of Card can now Have Columns (#637)
* Grid Layout

* add margin

* add margin

* more work

* fix linting

* fix alignment

* update viewing

* fix editing

* wip

* some wip fix

* fix stuff

* fix linting

* fix type errors

* fix render of image

* fixl inting

* fix tests

* fix linting

* fix tests

* fix eslint

* remove ref

* fix colIndex

* address PR comments

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-15 10:38:12 -04: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
Hossein
e7126b1835
Implement Multi Select Values (#415) 2021-06-03 16:48:16 -04:00
Johannes Marbach
4212ef7db1
[GH-299] Sort views alphabetically after stripping leading emoji (#341)
* [GH-299] Sort views alphabetically after stripping leading emoji

This is a stopgap towards #299 that sorts views in the sidebar alphabetically but
only after stripping any leading emoji. This prevents unintuitive results such as
putting "📥 Inbox" before "🚀 Active".

* Extract method for sorting board views to enable testing

* Add unit tests

* Remove blank line
2021-04-27 16:57:14 -07:00
Chen-I Lim
7be7bed916 Show workspace title in sidebar 2021-03-30 15:25:16 -07:00
Jesús Espino
0c5c741b06 Merge remote-tracking branch 'origin/main' into checkbox-content 2021-03-30 20:33:34 +02:00
Jesús Espino
09a9575dd0 Adding checkbox content type 2021-03-30 20:01:24 +02:00
Jesús Espino
887e9cecaf Gallery view 2021-03-30 15:17:23 +02:00
Jesús Espino
252dcc2c50 Fixing code styles 2021-03-26 11:54:55 +01:00
Chen-I Lim
f26efbc9c8 Refactor content blocks 2021-03-09 12:22:14 -08:00
Chen-I Lim
e5824b0696
Merge pull request #54 from mattermost/archive-jsonl
Archive in JSONL format
2021-03-04 09:22:55 -08:00
Chen-I Lim
43c04fd32d Remove unused (and shouldn't be used) block.duplicate 2021-03-03 10:47:23 -08:00
Chen-I Lim
655635551d parseBlockArchive and tests 2021-03-03 10:09:09 -08:00
Chen-I Lim
5d050abd09 Use JSONL format for archive 2021-03-02 13:21:55 -08:00
Chen-I Lim
02e436c902 Store fileId for image blocks instead of url 2021-02-23 11:42:28 -08:00
Chen-I Lim
76f859c4ef Move IArchive to blocks 2021-02-16 10:40:35 -08:00
Chen-I Lim
30e912c3f9 Cleanup model imports 2021-02-16 10:35:52 -08:00
Chen-I Lim
f7769bb14e Use modifiedBy for comment author 2021-01-20 09:47:08 -08:00
Chen-I Lim
dcba640427 Add author's userId to comment 2021-01-19 14:49:05 -08:00
Chen-I Lim
7915564d2c Require signup token to register 2021-01-13 16:56:01 -08:00
Chen-I Lim
e4d41b82e6 Share board call API 2021-01-13 11:17:47 -08:00
Chen-I Lim
2dab4f56fd OctoClient Sharing APIs 2021-01-12 16:52:25 -08:00
Chen-I Lim
061767103c duplicate view 2021-01-04 13:36:16 -08:00
Chen-I Lim
1c719d3a16 Update duplicate to handle card contentOrder 2020-12-18 14:28:54 -08:00
Chen-I Lim
68f5130098 Refactor: card contentOrder 2020-12-18 12:52:45 -08:00
Chen-I Lim
8f441747dd Unit tests: BoardTree 2020-12-07 16:36:02 -08:00
Chen-I Lim
832509c766 Unit test: WorkspaceTree 2020-12-07 15:17:04 -08:00
Chen-I Lim
79dd2d72fc Basic block unit tests 2020-12-07 12:13:54 -08:00
Chen-I Lim
850f60e1fb Add rootId to blocks. Requires archive export / re-import. 2020-12-03 14:09:48 -08:00
Chen-I Lim
4a7811836a Board descriptions 2020-11-18 11:11:51 -08:00
Chen-I Lim
02d26a800a Board templates 2020-11-17 14:11:04 -08:00
Chen-I Lim
465fe41fd5 Fix linting and strictNullChecks 2020-11-12 17:24:24 -08:00
Chen-I Lim
d405f46114 strictNullChecks: Make boardTree, activeView and block.title non-optional 2020-11-12 12:33:05 -08:00
Chen-I Lim
3504dff72e Fix some strictNullChecks 2020-11-12 11:29:48 -08:00
Chen-I Lim
57d7eb35bd Create template from card 2020-11-11 09:21:16 -08:00
Chen-I Lim
289f8f9d30 Card templates 2020-11-10 11:23:08 -08:00
Chen-I Lim
5b07bee7ec Add BlockTypes type 2020-11-10 11:20:43 -08:00
Chen-I Lim
0c9f0f0240 Allow sort by name (title) in menu 2020-11-04 11:21:09 -08:00
Chen-I Lim
2fb38dda0a Resize table columns 2020-11-02 15:47:45 -08:00
Jesús Espino
0c8d0a214c Adding divider content blocks 2020-10-30 19:06:32 +01:00
Chen-I Lim
8794145802 Manual card order 2020-10-28 10:46:36 -07:00
Chen-I Lim
95955a01f8 Allow no-option column to be hidden 2020-10-26 14:35:45 -07:00
Chen-I Lim
3317a70138 Refactor card properties to use guids 2020-10-23 12:59:09 -07:00
Chen-I Lim
a8a274ff0f npm run fix and replaced tabs with spaces 2020-10-21 15:03:12 -07:00
Chen-I Lim
7df22fecdb Text and image blocks 2020-10-20 21:21:23 -07:00
Chen-I Lim
27f8e77033 Move IBlock to block.ts 2020-10-20 18:58:48 -07:00