Skip to content

Gankster version #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 102 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
8c89263
get items to render using tows
Ilaiwi Aug 5, 2019
ab710ca
fix interaction items + move columns + bring over row Renderer RFC
Ilaiwi Aug 7, 2019
2cc3788
add details to the row renderer
Ilaiwi Aug 7, 2019
55bc413
update readme
Ilaiwi Aug 8, 2019
38053e5
typos
Ilaiwi Aug 8, 2019
ca2faaa
fix RFC format
Ilaiwi Aug 8, 2019
340c5d8
rowRenderer
Ilaiwi Aug 8, 2019
6506b3f
dnd
Ilaiwi Aug 17, 2019
8d2877b
demo
Ilaiwi Aug 19, 2019
86cded8
progress
Ilaiwi Sep 9, 2019
cae1238
resolve conflict
Ilaiwi Sep 11, 2019
ab4a8d0
render link
Ilaiwi Sep 12, 2019
f02d1be
get links to work with item select
Ilaiwi Sep 24, 2019
dd33a1c
rfc
Ilaiwi Sep 24, 2019
5a486c0
integrate row handlers
Ilaiwi Sep 25, 2019
ffe80a8
Merge branch 'master' of https://github.com/namespace-ee/react-calend…
Ilaiwi Sep 25, 2019
426be95
fix item resizing missing props
Ilaiwi Sep 25, 2019
7fa4124
refactor main calculations to calendar utils
Ilaiwi Sep 25, 2019
ffc3421
fix bug with get abslute postion items
Ilaiwi Sep 25, 2019
721045b
use Items component to render calendar
Ilaiwi Sep 25, 2019
ae52c45
fix typo
Ilaiwi Sep 26, 2019
fbfbae0
refactor calculations to stackTimelineItems
Ilaiwi Sep 26, 2019
7391f42
fix hidden empty group
Ilaiwi Sep 26, 2019
e2abc74
change how we change groups to use newGroupId
Ilaiwi Sep 26, 2019
b1aa2c0
fix not able to select after moving groups
Ilaiwi Sep 26, 2019
4a8bb55
gamma
Ilaiwi Sep 26, 2019
ce88e94
fix unmount item cause setting state of undefined
Ilaiwi Sep 27, 2019
ba48e65
fix getItemAbsoluteLocation
Ilaiwi Sep 30, 2019
a13fb7b
lift up item interaction state to rows
Ilaiwi Sep 30, 2019
1a6dacb
refactor rows
Ilaiwi Sep 30, 2019
69406f4
fix issue with curors now showing
Ilaiwi Sep 30, 2019
27ace6b
filter out custom headers
Ilaiwi Sep 30, 2019
9798e15
z-index
Ilaiwi Sep 30, 2019
c043594
small refactor
Ilaiwi Sep 30, 2019
54a2ab9
columns
Ilaiwi Sep 30, 2019
36df53e
ItemsContext
Ilaiwi Oct 1, 2019
98b75ea
convert ItemsContextProvider to class
Ilaiwi Oct 1, 2019
b90d231
chng column to use classes+solve bug width columns
Ilaiwi Oct 1, 2019
2b501ea
Merge branch 'master' of https://github.com/namespace-ee/react-calend…
Ilaiwi Oct 16, 2019
3e3ee47
expose RowGroup
Ilaiwi Oct 16, 2019
4fb63be
merge layout
Ilaiwi Oct 17, 2019
7b4cbd1
remove extra props and eliminate some extra render
Ilaiwi Oct 17, 2019
e0ad432
provide default layer and covert Rows to pure
Ilaiwi Oct 17, 2019
57a0f7e
convert DateHeader amd Timeline header to pure
Ilaiwi Oct 17, 2019
77e7d15
init documentation for row renderer
Ilaiwi Oct 17, 2019
c189401
update readme
Ilaiwi Oct 18, 2019
782ef35
update readme
Ilaiwi Oct 18, 2019
47c0e11
rowRenderer read me
Ilaiwi Oct 18, 2019
999c560
preformance improve memoize orderedGroupWithItems
Ilaiwi Oct 21, 2019
d3170ec
fix passing wrong prop for itemResizing
Ilaiwi Oct 21, 2019
65901e7
eleminate extra renders drag/resize with dragsnap
Ilaiwi Oct 21, 2019
3c9f782
fix bug with resize item
Ilaiwi Oct 21, 2019
34d2e40
remove resizeTime
Ilaiwi Oct 21, 2019
73ee66f
fix missing helpers
Ilaiwi Oct 21, 2019
9b027e8
remove columns from row renderers
Ilaiwi Oct 22, 2019
4e9f33d
add helpers context instead of rowRenderer helpers
Ilaiwi Oct 22, 2019
a4fb3a8
gamma 9
Ilaiwi Oct 22, 2019
8aa0de6
add getGroupDimensions and width to itemDimensions
Ilaiwi Oct 23, 2019
0008270
pass interaction items though
Ilaiwi Oct 24, 2019
eacb62a
gamma 11
Ilaiwi Oct 24, 2019
7a656c4
fix error
Ilaiwi Oct 24, 2019
3bb1dba
merge master
Ilaiwi Oct 25, 2019
5af60d9
fix header tests +groupRow tests +upgrade jest-dom
Ilaiwi Oct 25, 2019
635d10a
delete extra utill methods + pass stackItems
Ilaiwi Oct 25, 2019
a4b6103
remove groupTop + pass groupStack+claculateCanvas
Ilaiwi Oct 28, 2019
e995620
pass getItemWithInteractions
Ilaiwi Oct 28, 2019
4d4cb2d
pass get item dimensions
Ilaiwi Oct 28, 2019
ae60d5c
reafactor + readme
Ilaiwi Oct 28, 2019
b1fd16f
fix tags
Ilaiwi Oct 28, 2019
dc669bc
init test for helper context
Ilaiwi Oct 28, 2019
31fec99
remove debug from test
Ilaiwi Oct 28, 2019
979393f
pass tests
Ilaiwi Oct 28, 2019
d26e805
renderWithTimelineStateAndHelpers
Ilaiwi Oct 29, 2019
333f0d5
add item limiation
Ilaiwi Oct 29, 2019
5844fc7
switch away from old context
Ilaiwi Oct 29, 2019
96cfa53
test item
Ilaiwi Oct 29, 2019
75e1680
pass tests
Ilaiwi Oct 29, 2019
121ca11
test items
Ilaiwi Oct 29, 2019
8c56618
switch to use renderWithTimelineStateAndHelpers
Ilaiwi Oct 29, 2019
5bc8e17
pass tests
Ilaiwi Oct 29, 2019
86824a3
test getGroupWithItemDimensions
Ilaiwi Oct 29, 2019
31a3a22
test getOrderedGroupsWithItems
Ilaiwi Oct 29, 2019
4120887
shallowIsEqualOrderedGroup
Ilaiwi Oct 29, 2019
1d6a44e
test isEqualItemWithDimensions
Ilaiwi Oct 30, 2019
6e80a7d
getGroupsCache
Ilaiwi Oct 30, 2019
3bf0225
getGroupsWithItemDimensions
Ilaiwi Oct 30, 2019
930d4b8
beta release
Ilaiwi Oct 30, 2019
4ca5137
Row renderer (#673)
Ilaiwi Oct 30, 2019
de036d3
changed itemRenderer
idannn98 Jun 8, 2020
4991b82
removed hard coded style for horizontal lines
idannn98 Jun 8, 2020
43c0a3c
stacked items modified
idannn98 Jun 8, 2020
1da2a8b
bug fix for resize detector to avoid resize when container is null
idannn98 Jul 5, 2020
381e46a
update node-sass/node-gyp libs to support build
spaykit Jul 22, 2020
1975d1a
added vertical margin for group
idannn98 Jul 26, 2020
d083bd3
added timezone support, bye bye date-fns
idannn98 Aug 5, 2020
4ca745b
change height of stub item for pending teams
idannn98 Nov 11, 2020
217f5ff
change connection view height identifier to string
dan-dr Jan 13, 2021
7896f54
Revert "change height of stub item for pending teams"
idannn98 Jan 20, 2021
c8b8b64
remove vertical margin
idannn98 Feb 10, 2021
45aec2b
keep vertical margin for available events
idannn98 Feb 10, 2021
d629110
integrate height ratio per item
idannn98 Feb 10, 2021
a5f4c99
added margin to timeline items
idannn98 Feb 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
integrate height ratio per item
  • Loading branch information
idannn98 committed Feb 10, 2021
commit d6291103fbb1789a6fa760114ad1b1ba0a22eaaf
3 changes: 1 addition & 2 deletions src/lib/utility/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,10 +510,9 @@ export function getItemDimensions({
canvasWidth
})
if (dimension) {
if (item.type === "ConnectionPending" || item.type === "ConnectionRequest") itemHeightRatio = 1
dimension.top = null
dimension.stack = !item.isOverlay
dimension.height = lineHeight * itemHeightRatio
dimension.height = lineHeight * (item.heightRatio ? item.heightRatio : itemHeightRatio)
return {
id: itemId,
dimensions: dimension
Expand Down