Commit graph

37 commits

Author SHA1 Message Date
Doug Lauder
4feafb9806
Channels style UUID (#1369)
* server channels style uuids
* webapp channels style uuids
2021-10-05 09:52:59 -04:00
Scott Bishel
383723a128
Implement Date ranges (#660)
* 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
2021-08-06 10:44:01 -06:00
Scott Bishel
2eb3f59ddc
[Gh 684] Autosize fix for multi-select columns (#882)
* temporary commit

* cleanup code

* final fixes

* remove setting perItemPadding where not necessary

* Update webapp/src/octoUtils.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Update webapp/src/components/table/table.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-05 09:24:01 -06: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
kamre
60af33fe28
[GH-715] Consistent date display (#748)
* 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>
2021-07-26 23:02:20 -07: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
darkLord19
16708e93cd
add user setting for preferred date format (#666)
* 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
2021-07-08 12:17:09 +05:30
Hossein
e7126b1835
Implement Multi Select Values (#415) 2021-06-03 16:48:16 -04:00
Johannes Marbach
0f0d9f3bd8
[GH-38] Add date property (#391)
* [GH-38] Add date property

Closes: #38

* Add date menu item in snapshot to fix tests

* Add react-day-picker in NOTICE.txt
2021-05-10 07:46:07 +02:00
Simon Leblanc
a918af6200
Translate date and datetime with React Translator (#350) 2021-04-28 15:30:18 +02:00
Jesús Espino
aafc159248 Changing checkbox to functional component 2021-03-30 20:14:08 +02:00
Chen-I Lim
08107e6537 Stamp time on duplicateBlockTree 2021-03-03 10:46:50 -08:00
Chen-I Lim
171d1392f7 Fix tslint warning 2021-02-16 10:36:10 -08:00
Chen-I Lim
30e912c3f9 Cleanup model imports 2021-02-16 10:35:52 -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
0eb5bf33a5 Refactor BoardTree: handle deleted boards 2020-12-09 15:35:01 -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
02d26a800a Board templates 2020-11-17 14:11:04 -08:00
Chen-I Lim
8f7e6c0ba5 Organize imports 2020-11-12 18:48:59 -08:00
Chen-I Lim
58ac99d958 Fix linting 2020-11-12 14:55:55 -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
0d0bc7a672 Incremental updates on websocket 2020-11-06 10:11:01 -08:00
Jesús Espino
0c8d0a214c Adding divider content blocks 2020-10-30 19:06:32 +01:00
Chen-I Lim
ee24f2b001 Fix sort menu icons 2020-10-26 09:52:05 -07:00
Jesús Espino
a0a182a613 Removing old menu library 2020-10-26 12:47:20 +01:00
Jesús Espino
19fc9ff93a Create new property value component 2020-10-26 12:43:16 +01:00
Jesús Espino
5d1ce562f9 Moving sort menu into the new menu system 2020-10-24 00:32:23 +02:00
Chen-I Lim
3317a70138 Refactor card properties to use guids 2020-10-23 12:59:09 -07:00
Chen-I Lim
27f8e77033 Move IBlock to block.ts 2020-10-20 18:58:48 -07:00
Chen-I Lim
fb438ac52c reorganize viewModel folder 2020-10-20 18:54:39 -07:00
Chen-I Lim
aa950240d9 Immutable blocks 2020-10-20 18:28:55 -07:00
Chen-I Lim
932de3a17f Immutable view state objects 2020-10-20 14:32:39 -07:00
Chen-I Lim
9255bd4ded Ran npm run fix 2020-10-20 12:52:56 -07:00
Chen-I Lim
36a104f45b Ran npm run fix 2020-10-20 12:50:53 -07:00
Chen-I Lim
95c704c3f4 Rename src/client to webapp/src 2020-10-20 11:22:33 -07:00
Renamed from src/client/octoUtils.tsx (Browse further)