new Angular eg-grid doesn't include right click Actions menu
Bug #1803787 reported by
Andrea Neiman
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.2 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
3.2.1
Looking at some Acquisitions grids that were ported to new Angular for 3.2.
Actions are no longer available from a right-click in the grid, and this should be restored.
Changed in evergreen: | |
status: | New → Confirmed |
tags: | added: acq |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
milestone: | 3.2.2 → 3.2.3 |
Changed in evergreen: | |
milestone: | 3.2.3 → 3.3-beta1 |
tags: | added: angular |
Changed in evergreen: | |
milestone: | 3.3-beta1 → 3.3-rc |
Changed in evergreen: | |
milestone: | 3.3-rc → 3.3.1 |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbej) |
Changed in evergreen: | |
assignee: | Jane Sandberg (sandbej) → nobody |
tags: | added: eg-grid |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbej) |
Changed in evergreen: | |
assignee: | Jane Sandberg (sandbej) → nobody |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 3.3.1 → 3.3.2 |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patches pushed:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1803787- ang-grid- context- menu
There are two commits:
1. Adds support for <eg-grid- toolbar- action [separator] ="true" .../> for displaying separators in the grid actions drop-down.
2. Adds context menu display for grids matching the content of the toolbar actions, supporting separators.
Note the menu display uses an ng-bootstrap popover, which has no baked-in concept of displaying at the mouse action. Instead, the menu appears below the grid item upon which the right-click occurred. In most cases, this will be very close to the right-click, except when a grid column is very wide. I opted for this to reduce code (since we already import bootstrap), but if the display is irksome, more research may be needed and/or we may have to roll our own context menu.