forked from React9k/react-timeline-9000
-
Notifications
You must be signed in to change notification settings - Fork 0
#42114 Zoom actions not visible for items CM #115
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
Open
daniela-mateescu
wants to merge
5
commits into
master-flower-platform
Choose a base branch
from
dana-RM42114-no-zoom-actions-on-item-CM
base: master-flower-platform
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
5917772
#42114 Zoom actions not visible for items CM
daniela-buzatu df121f9
Update CHANGELOG.md
daniela-mateescu 905c2ac
Merge branch 'master-flower-platform' into dana-RM42114-no-zoom-actio…
valeriu-vi 8ebd369
#42114 - AI remarks
valeriu-vi 24a0c43
#42114 - add ZoomTestsAreDemo.md
valeriu-vi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| # Featurebook > ZoomTestsAreDemo.md | ||
| Go to [Featurebook > Index](../FEATUREBOOK.md) | ||
|
|
||
| ## TOC | ||
|
|
||
| * [`@Scenario` `whenRightClickOnGanttArea()`](#whenRightClickOnGanttArea) | ||
| * [`@Scenario` `whenRightClickOnAnItem()`](#whenRightClickOnAnItem) | ||
| * [`@Scenario` `whenMaxZoomOutClickZoomOut()`](#whenMaxZoomOutClickZoomOut) | ||
| * [`@Scenario` `whenClickZoomIn()`](#whenClickZoomIn) | ||
| * [`@Scenario` `whenClickZoomOut()`](#whenClickZoomOut) | ||
| * [`@Scenario` `whenClickZoomReset()`](#whenClickZoomReset) | ||
| * [`@Scenario` `whenClickZoomEnabled()`](#whenClickZoomEnabled) | ||
|
|
||
| ## Scenarios | ||
|
|
||
| <a id="whenRightClickOnGanttArea"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenRightClickOnGanttArea()`<br /> | ||
| </td></tr> | ||
| <tr><td> | ||
|
|
||
| * WHEN right click on gantt area | ||
| * THEN the zoom actions are available on the CM | ||
| </td></tr> | ||
| </table> | ||
|
|
||
| <a id="whenRightClickOnAnItem"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenRightClickOnAnItem()`<br /> | ||
| </td></tr> | ||
| <tr><td> | ||
|
|
||
| * WHEN right click on an item | ||
| * THEN the zoom actions are not available on the CM | ||
| </td></tr> | ||
| </table> | ||
|
|
||
| <a id="whenMaxZoomOutClickZoomOut"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenMaxZoomOutClickZoomOut()`<br />**WHEN the gantt was maxim zoom out AND click on zoom out, THEN the startDate and endDate not changed** | ||
| </td></tr> | ||
|
|
||
| </table> | ||
|
|
||
| <a id="whenClickZoomIn"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenClickZoomIn()`<br />**When click zoomIn from context menu, THEN zoomed in AND show the message `Zoomed in` with fade effect.** | ||
| </td></tr> | ||
|
|
||
| </table> | ||
|
|
||
| <a id="whenClickZoomOut"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenClickZoomOut()`<br />**When click zoomOut from context menu, THEN zoomed out AND show the message `Zoomed out` with fade effect.** | ||
| </td></tr> | ||
|
|
||
| </table> | ||
|
|
||
| <a id="whenClickZoomReset"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenClickZoomReset()`<br />**When click zoomReset from context menu, THEN zoomed reset AND show the message `Zoom reset` with fade effect.** | ||
| </td></tr> | ||
|
|
||
| </table> | ||
|
|
||
| <a id="whenClickZoomEnabled"></a> | ||
| <table> | ||
| <tr><td> | ||
|
|
||
| `@Scenario` `whenClickZoomEnabled()`<br />**When `Zoom enabled` is checked/unchecked AND we click zoomIn/zoomOut from context menu, THEN the gantt zooms/ doesn't zoom in accordingly** | ||
| </td></tr> | ||
|
|
||
| </table> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To prevent potential runtime errors (e.g.,
TypeError: Cannot read properties of undefined) ifparamorparam.selectionis not provided, it is safer to use defensive checks. Since zoom is a global action, it should default to being visible if no selection context is present.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done