Commit Graph

467 Commits

Author SHA1 Message Date
Jesús Espino
41ce3fdb91 Adding singleuser to the ci tests 2021-01-11 16:57:29 +01:00
Jesús Espino
dabfd2ea01 Adding config for session expire and refresh 2021-01-11 15:16:39 +01:00
Jesús Espino
daae244cba Merge remote-tracking branch 'origin/main' into auth 2021-01-11 13:56:26 +01:00
Chen-I Lim
9b3322cc43 Hugo website 2021-01-07 14:12:26 -08:00
Chen-I Lim
71caf4b24d npm audit fix 2021-01-06 18:08:16 -08:00
Chen-I Lim
6bb89d6c09 Make Cypress optional 2021-01-06 16:09:36 -08:00
Chen-I Lim
77de551fdd Clear visible and hidden columns (options) when changing groupBy 2021-01-04 14:26:18 -08:00
Chen-I Lim
722680218f Comment out board test code 2021-01-04 13:57:48 -08:00
Chen-I Lim
061767103c duplicate view 2021-01-04 13:36:16 -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
2b6370daa4 Fix submenu position in css 2021-01-04 10:58:11 -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
f22527e650 Readonly support in UI 2020-12-17 12:02:12 -08:00
Chen-I Lim
e2440457b0 Align template menu icons 2020-12-14 13:06:41 -08:00
Chen-I Lim
d3e8c5a6d2 Cleanup attachToBoard 2020-12-11 12:55:23 -08:00
Chen-I Lim
135d70e07d View menu icons 2020-12-11 12:01:11 -08:00
Chen-I Lim
967933b7a9 Use template name when creating boards from templates 2020-12-11 11:47:22 -08:00
Chen-I Lim
ab6068fe34 Board icon for Empty Board menu option 2020-12-11 11:45:25 -08:00
Chen-I Lim
6d1782256c Menu text consistent sentence casing 2020-12-11 11:10:25 -08:00
Chen-I Lim
846a8786d5 Cypress: test create table view and rename view 2020-12-11 10:34:11 -08:00
Chen-I Lim
def630e705 Tighten up Editable className 2020-12-11 09:46:34 -08:00
Chen-I Lim
ed2f4358dc Restore Cypress color logging 2020-12-10 14:31:20 -08:00
Chen-I Lim
89fd8a5d54 Disable Cypress color output 2020-12-10 14:23:45 -08:00
Chen-I Lim
4756a6a26d Default Cypress to use Electron 2020-12-10 14:16:42 -08:00
Chen-I Lim
bc4fee49b7 Fix jest tsconfig 2020-12-10 14:08:51 -08:00
Chen-I Lim
d3a4ea0c02 Add Cypress tests 2020-12-10 13:45:56 -08:00
Chen-I Lim
f53d425985 Fix standardIcon import case 2020-12-10 12:44:15 -08:00
Chen-I Lim
7570182fa4 Icons for view types in view menu 2020-12-10 11:00:34 -08:00
Chen-I Lim
312fd2f9b1 Delay after adding view so it switches correctly 2020-12-10 10:19:58 -08:00
Chen-I Lim
e74723e699 Ensure horizontal grip shows on last column 2020-12-10 10:19:34 -08:00
Chen-I Lim
ee71e31dfe Set random card icon if template has no icon 2020-12-10 10:19:13 -08:00
Chen-I Lim
40902c1803 Hide "select a template" label if no templates 2020-12-10 09:32:10 -08:00
Chen-I Lim
2574027f9c Update unit tests 2020-12-09 19:47:52 -08:00
Chen-I Lim
6faf3cef63 Refactor ViewModel (*Tree) classes 2020-12-09 19:08:07 -08:00
Chen-I Lim
4b744bd395 Corner case: handle deleted view by another client 2020-12-09 16:52:29 -08:00
Chen-I Lim
a154ed561a Refactor CardTree: handle missing and deleted cards 2020-12-09 16:07:41 -08:00
Chen-I Lim
7007f13df4 Handle board undelete on another client 2020-12-09 15:43:15 -08:00
Chen-I Lim
0eb5bf33a5 Refactor BoardTree: handle deleted boards 2020-12-09 15:35:01 -08:00
Chen-I Lim
50efb8f0c3 Handle deleting last board correctly 2020-12-09 12:08:39 -08:00
Chen-I Lim
0d5f45b9b4 Move sidebar Add Board button to bottom 2020-12-08 15:00:03 -08:00
Chen-I Lim
cd9e34499b Put shown cardId in url, to allow direct linking to cards 2020-12-08 10:57:36 -08:00
Chen-I Lim
8f441747dd Unit tests: BoardTree 2020-12-07 16:36:02 -08:00
Chen-I Lim
45afa34c72 Unit tests: Refactor FetchMock 2020-12-07 15:40:32 -08:00
Chen-I Lim
832509c766 Unit test: WorkspaceTree 2020-12-07 15:17:04 -08:00
Chen-I Lim
662441f29c Unit tests: OctoClient and CardTree 2020-12-07 14:50:22 -08:00
Chen-I Lim
79dd2d72fc Basic block unit tests 2020-12-07 12:13:54 -08:00
Chen-I Lim
55a3685263 tighten up arrayEquals parameters 2020-12-07 12:13:20 -08:00
Jesús Espino
e5941d6440 More work on auth 2020-12-07 20:40:16 +01:00
Jesús Espino
4cc6ecbc64 Merge remote-tracking branch 'origin/main' into auth 2020-12-07 19:49:08 +01:00
Chen-I Lim
f631d89d07 Unit tests: duplicateBlockTree 2020-12-07 10:20:38 -08:00
Chen-I Lim
c396613161 Fix css user-select for input 2020-12-04 10:18:57 -08:00
Jesús Espino
c8ac701587 Merge remote-tracking branch 'origin/main' into auth 2020-12-04 16:04:28 +01:00
Jesús Espino
f491241c1a Preliminary auth implementation 2020-12-04 16:03:09 +01:00
Chen-I Lim
22314a5825 ViewTitle min-width 2020-12-03 14:54:50 -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
b9b1020748 Android submenu support 2020-12-02 17:10:38 -08:00
Chen-I Lim
a8801c0525 Mobile menu support 2020-12-02 16:54:06 -08:00
Chen-I Lim
96428c88f3 Mobile support for filter dialog 2020-12-02 09:28:52 -08:00
Chen-I Lim
ea1835ca53 UndoManager test: checkpoint 2020-12-01 11:55:04 -08:00
Chen-I Lim
6b29902810 Jest: code coverage reporting 2020-12-01 11:31:20 -08:00
Chen-I Lim
a529cdd6bb Fit content images to narrow width 2020-12-01 11:09:03 -08:00
Chen-I Lim
6d145800a8 Fix main frame scrolling 2020-11-24 12:13:05 -08:00
Chen-I Lim
2b186e2362 Auto-focus on card title only if its empty 2020-11-20 11:54:40 -08:00
Chen-I Lim
0d2311fdc5 Fix Safari dialog flex-shrink 2020-11-20 11:35:56 -08:00
Chen-I Lim
f87c811fbc Very basic mobile support: viewport, padding, dialogs 2020-11-19 14:50:17 -08:00
Chen-I Lim
4a7811836a Board descriptions 2020-11-18 11:11:51 -08:00
Chen-I Lim
4f84ecb741 Preserve line breaks in markdown 2020-11-18 11:01:07 -08:00
Chen-I Lim
998cb36421 Fix import 2020-11-18 10:03:37 -08:00
Chen-I Lim
d8d6dfef64 Refactor templates to use mutator.duplicateBoard/Card 2020-11-18 09:52:31 -08:00
Chen-I Lim
fb5421bea3 Show message when creating template from board 2020-11-17 14:24:23 -08:00
Chen-I Lim
f4a350b207 cleanup imports 2020-11-17 14:20:37 -08:00
Chen-I Lim
3961a8a314 Refactor templateCopy 2020-11-17 14:16:53 -08:00
Chen-I Lim
02d26a800a Board templates 2020-11-17 14:11:04 -08:00
Chen-I Lim
a704dde733 Fix bug: Update TableRow when card updated in dialog 2020-11-17 11:48:59 -08:00
Chen-I Lim
e9e8818738 Use template icon for new cards if set 2020-11-17 11:17:44 -08:00
Chen-I Lim
c41ec11d0a Handle optional current 2020-11-17 10:53:46 -08:00
Jesús Espino
184b2f1b25 Fixed firefox incompatiblity 2020-11-17 19:40:40 +01:00
Jesús Espino
f9a7a00ecc Fix the new template from card menu entry 2020-11-17 19:14:56 +01:00
Jesús Espino
ab439ab98a Fixing emoji picker 2020-11-17 19:08:37 +01:00
Jesús Espino
7649ef2208 make the board list of the sidebar scrollable 2020-11-17 18:53:29 +01:00
Chen-I Lim
b1b6d5b070 Unit test: grouped undo/redo 2020-11-16 17:00:10 -08:00
Chen-I Lim
82a398487b Unit test: UndoManager 2020-11-16 16:49:55 -08:00
Chen-I Lim
44e5b625a9 Centered DisclosureTriangleIcon 2020-11-16 12:29:25 -08:00
Chen-I Lim
d2d02585b2 Make IconButton a pure component 2020-11-16 12:29:10 -08:00
Chen-I Lim
9c70ff2ca2 Sidebar CSS: Don't shrink dots and disclosure icons 2020-11-16 10:43:13 -08:00
Chen-I Lim
ba052ac305 Fix ungrouped undo-redo 2020-11-16 10:37:29 -08:00
Chen-I Lim
a335ad18ff Don't wrap sidebar titles 2020-11-16 10:28:21 -08:00
Chen-I Lim
0c2409cadb Fix css 2020-11-12 18:49:23 -08:00
Chen-I Lim
a67236b1af Fix linting 2020-11-12 18:49:06 -08:00
Chen-I Lim
8f7e6c0ba5 Organize imports 2020-11-12 18:48:59 -08:00
Chen-I Lim
286dfd67bb Fix linting 2020-11-12 17:34:52 -08:00
Chen-I Lim
adf1ca81bd Turn on strictNullChecks in tsconfig 2020-11-12 17:31:54 -08:00
Chen-I Lim
ef7bdad528 Show sidebar menu on left 2020-11-12 17:28:32 -08:00
Chen-I Lim
40679b57fc Fix linting 2020-11-12 17:26:32 -08:00
Chen-I Lim
465fe41fd5 Fix linting and strictNullChecks 2020-11-12 17:24:24 -08:00
Chen-I Lim
22e47b4eff Fix linting 2020-11-12 16:25:14 -08:00
Chen-I Lim
1cc5b6d424 Scrollable sidebar 2020-11-12 15:52:54 -08:00
Chen-I Lim
d4d0f5c42d Fix linting 2020-11-12 15:48:31 -08:00
Chen-I Lim
c942c43ea7 Update no-unused-expressions 2020-11-12 14:57:21 -08:00
Chen-I Lim
70ecdc145f Fix undomanager index bug when redo-ing group 2020-11-12 14:57:05 -08:00
Chen-I Lim
58ac99d958 Fix linting 2020-11-12 14:55:55 -08:00
Chen-I Lim
f0afce4197 Fix linting 2020-11-12 14:17:13 -08:00
Chen-I Lim
951aba1a4d Focus on card title when opening cards 2020-11-12 14:06:19 -08:00
Chen-I Lim
0b3fa571a7 strictNullChecks 2020-11-12 14:06:02 -08:00
Chen-I Lim
dec0d0ae29 Sort boards, views, and templates by title 2020-11-12 13:29:04 -08:00
Chen-I Lim
a463f6e1be Create board view with new boards 2020-11-12 13:24:17 -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
44f0a2e65b Fix some strictNullChecks 2020-11-12 11:18:19 -08:00
Chen-I Lim
37fd30413b Duplicate board 2020-11-12 10:16:59 -08:00
Chen-I Lim
937af1e349 Fix incremental delete 2020-11-11 13:49:25 -08:00
Chen-I Lim
68c4c07af9 Remove highlight on drop to hidden column 2020-11-11 09:51:08 -08:00
Chen-I Lim
95164e0cf0 cleanup addCardTemplate 2020-11-11 09:33:34 -08:00
Chen-I Lim
57d7eb35bd Create template from card 2020-11-11 09:21:16 -08:00
Chen-I Lim
ca1c46dbab Save board and card title on Esc 2020-11-10 13:19:46 -08:00
Chen-I Lim
ca06bfbba1 Menu name margin 2020-11-10 11:29:01 -08:00
Chen-I Lim
6445231737 Allow nested MenuWrappers to close on item click 2020-11-10 11:24:07 -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
506f2cd3bf Fix empty sidebar on fitst load 2020-11-10 10:09:08 -08:00
Chen-I Lim
4524a3713e Refactor ContentBlock, fix order logic. 2020-11-09 13:06:39 -08:00
Chen-I Lim
72d3a31954 Fix CardDetail state updates 2020-11-09 12:05:55 -08:00
Chen-I Lim
1a3cb5a5fb Test helper: distribute cards 2020-11-09 10:25:00 -08:00
Chen-I Lim
7ec73468c4 Make BoardPage state immutable 2020-11-09 10:04:07 -08:00
Chen-I Lim
4079c99666 Cleanup drag and drop logic 2020-11-09 10:02:54 -08:00
Chen-I Lim
16e21c74ac Cleanup card sort logic 2020-11-09 10:02:09 -08:00
Chen-I Lim
7d2d1c252a Detect if incemental update resulted in changes 2020-11-06 15:10:36 -08:00
Chen-I Lim
c00902cb6b Filter relevant updates 2020-11-06 14:07:04 -08:00
Chen-I Lim
0cca55126c npm run fix 2020-11-06 12:50:25 -08:00
Chen-I Lim
234676698e Fix card title change 2020-11-06 12:49:17 -08:00
Chen-I Lim
b86372f96b Use default sort order for ties (stable sort) 2020-11-06 12:48:11 -08:00
Chen-I Lim
1378b4d2b4 Lower notification delay from 200 to 100ms 2020-11-06 12:00:05 -08:00
Chen-I Lim
9a40ada10d Handle delete boards correctly 2020-11-06 11:59:40 -08:00
Chen-I Lim
40623db4c5 Sync on reconnect 2020-11-06 10:17:33 -08:00
Chen-I Lim
0d0bc7a672 Incremental updates on websocket 2020-11-06 10:11:01 -08:00
Chen-I Lim
3c68a97451 npm run fix 2020-11-04 11:24:06 -08:00
Chen-I Lim
0c9f0f0240 Allow sort by name (title) in menu 2020-11-04 11:21:09 -08:00
Chen-I Lim
d1ece53731 Show sort indicator in table header 2020-11-04 11:04:30 -08:00
Chen-I Lim
4beb03b197 Fix select menu label overflow 2020-11-04 08:56:34 -08:00
Jesús Espino
7368edc160 Improving the value selector performance, only initializing it on activation 2020-11-04 11:50:18 +01:00
Chen-I Lim
31cd68bade Fix octo-block css 2020-11-03 16:49:13 -08:00
Chen-I Lim
e0bcb5ee60 Put sort and groupBy menu icons on right 2020-11-03 16:45:07 -08:00
Chen-I Lim
2232d531ee Fix MarkdownEditor css 2020-11-03 16:38:16 -08:00
Chen-I Lim
b8dce8a110 Sidebar handler mehod signatures 2020-11-03 16:21:35 -08:00
Chen-I Lim
0be3e36313 Fix build break 2020-11-03 11:15:16 -08:00
Jesús Espino
74de574525 Making propertyMenu a pure widget 2020-11-03 19:35:24 +01:00
Chen-I Lim
2fb38dda0a Resize table columns 2020-11-02 15:47:45 -08:00
Chen-I Lim
5269175248 Fix add board 2020-11-02 09:46:35 -08:00
Jesús Espino
ae1b23b022 Fixing some linter errors 2020-11-02 11:20:00 +01:00
Jesús Espino
f0f455c61d Fixed the icons in the board headers 2020-11-02 11:17:50 +01:00
Jesús Espino
a71f7d6b13 Removing general hover classes and moving them into each component css 2020-11-02 10:46:28 +01:00
Jesús Espino
c53ab6423f Improving the dots icon in the value selector 2020-11-02 10:19:40 +01:00
Jesús Espino
2842e19a3b Removed all the octo-button usages and replaced them with Button 2020-11-02 07:47:52 +01:00
Jesús Espino
28568db1bf Almost removed all the octo-button class 2020-11-01 17:35:25 +01:00
Jesús Espino
f658f6654e Removing more octo-button usages 2020-11-01 17:25:39 +01:00
Jesús Espino
e2b45da9d0 Migrating some octo-button class divs into Button objects 2020-11-01 16:35:49 +01:00
Jesús Espino
1b19819141 Using more widely the Button and IconButton components 2020-10-31 17:30:56 +01:00
Jesús Espino
de1a9f5427 Adding icon button component 2020-10-31 16:55:32 +01:00
Jesús Espino
88a87d790a migrating filter component to use the Button component 2020-10-31 16:46:58 +01:00
Jesús Espino
9a7c613022 Improving a bit the icon selector moving it to a component 2020-10-31 16:41:11 +01:00
Jesús Espino
e93f95bf62 Moving the buttons icon into the button widget 2020-10-31 16:00:28 +01:00
Jesús Espino
97ff09230c Fix a bit the comments style 2020-10-31 15:44:42 +01:00
Jesús Espino
e620ab89ad Adding emoji icon 2020-10-31 15:41:03 +01:00
Jesús Espino
57ac32b33a Improve the property selector to allow modify colors and delete the properties right there 2020-10-30 20:33:01 +01:00
Jesús Espino
0c8d0a214c Adding divider content blocks 2020-10-30 19:06:32 +01:00
Jesús Espino
f4a0c28bda Fixing table select elements 2020-10-30 18:40:46 +01:00
Jesús Espino
1479eeccfa Adding a bunch of icons 2020-10-30 18:31:40 +01:00
Jesús Espino
e3e5d1d610 Adding delete/duplicate icons to the boardCard menu 2020-10-30 16:49:19 +01:00
Jesús Espino
4543f32435 Adding value selector/creator widget 2020-10-30 15:22:11 +01:00
Jesús Espino
dc89bfd627 Adding button with menu component and using it for the new button 2020-10-30 10:05:06 +01:00
Jesús Espino
238c7664a2 Tiny detail fixed on sidebar theming 2020-10-30 07:47:39 +01:00
Jesús Espino
7629e09eee Fix icon colors in the sidebar 2020-10-29 18:48:51 +01:00
Jesús Espino
4e55dc4ffb Improving theming in icons for the sidebar 2020-10-29 18:44:56 +01:00
Chen-I Lim
48a067ab15 Undomanager groups: error checks for nested calls 2020-10-29 09:22:35 -07:00
Chen-I Lim
b79cb62fc3 Improve drag and drop multiple logic 2020-10-28 14:40:27 -07:00
Chen-I Lim
264ed20aa3 Del: delete selected cards 2020-10-28 14:13:43 -07:00
Chen-I Lim
b7ea5e677b Undo grouping 2020-10-28 13:57:53 -07:00
Chen-I Lim
25a1ebeda4 Cmd+Shift+Click to extend selection 2020-10-28 13:26:55 -07:00
Chen-I Lim
1aaf23c230 Drop cards after target when drag down in column 2020-10-28 11:58:55 -07:00
Chen-I Lim
3ec91d3208 Allow manual ordering of untitled cards 2020-10-28 11:28:23 -07:00
Chen-I Lim
8794145802 Manual card order 2020-10-28 10:46:36 -07:00
Jesús Espino
f5667304f6 Changing the behavior of the flash messages 2020-10-28 18:37:17 +01:00
Jesús Espino
2d3fd049ed Migrating flash messages into a component 2020-10-28 17:56:35 +01:00
Chen-I Lim
e5f2ffa600 Check current group by property in menu 2020-10-28 08:58:32 -07:00
Jesús Espino
ec93778293 Adding emoji picker 2020-10-28 10:45:15 +01:00
Jesús Espino
8afac6781d Adding sidebar collapse/expand 2020-10-28 08:50:22 +01:00
Chen-I Lim
9081144701 Markdown comments 2020-10-27 16:59:40 -07:00
Chen-I Lim
10824faa36 Merge branch 'main' of github.com:mattermost/mattermost-octo-tasks into main 2020-10-27 14:36:10 -07:00
Chen-I Lim
0b34ed8015 Fix View title editing with board change 2020-10-27 14:36:07 -07:00
Jesús Espino
598625b313 Improving sidebar menu 2020-10-27 22:18:17 +01:00
Chen-I Lim
c333c25bd5 Merge branch 'main' of github.com:mattermost/mattermost-octo-tasks into main 2020-10-27 14:13:01 -07:00
Chen-I Lim
c3297c7469 ViewHeader style 2020-10-27 14:12:58 -07:00
Jesús Espino
de18121a98 Move Button into widgets 2020-10-27 22:05:01 +01:00
Chen-I Lim
775db6c36d npm run fix 2020-10-27 14:00:15 -07:00
Chen-I Lim
3ff889ebab Fix: ViewTitle update on board change 2020-10-27 13:59:37 -07:00
Chen-I Lim
48719f16ce Handle missing option id when grouping cards 2020-10-27 12:08:12 -07:00
Jesús Espino
fa92e0fbfd Removing is hover state and using css instead 2020-10-27 16:30:15 +01:00
Jesús Espino
119dd543dc Improving a bit hover handling in table row 2020-10-27 16:19:59 +01:00