View Issue Details

IDProjectCategoryView StatusLast Update
0000451SOGoWeb Calendarpublic2012-04-02 07:39
Reportermark Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version1.2.1 
Summary0000451: Drag down for all day events area
Description

Would be great to be able to drag down the "all day events" field in the main view to see all events rather than having to click on the scroll bar.

TagsNo tags attached.

Relationships

duplicate of 0001535 resolvedludovic unable to view more than 2 "All day Event"s 

Activities

Jason Oster

Jason Oster

2010-07-07 20:04

reporter   ~0001163

I was hoping this would be an easy one to tackle. After implementing some CSS changes to make the splitter/DragHandle work, I noticed several problems:

1) The biggest issue is that the backend only supports two DragHandles per page: Horizontal and Vertical. (It saves the positions per-page.)

2) The JavaScript is also written to assume only two DragHandles per page.

Despite this, simply adding a DragHandle element and hooking it up in script makes it sort of work. I'll attach the CSS modifications. I would recommend this patch for check-in, because it doesn't change the visual style. But beware that I have only tested this in Firefox.

With the patch in place, it allows the #calendarHeader div to stretch vertically. A DragHandle can be placed between the #calendarHeader and #daysView divs; assuming a margin-top (about 5px) is applied to #daysView, to provide enough space for the Draghandle.

2010-07-07 20:04

 

SOGo-all_day_drag_handle_css-v1.patch (1,210 bytes)   
#
# old_revision [497c7c0a555d415e36d1f2aba0f96b960a3f0c8c]
#
# patch "UI/WebServerResources/SchedulerUI.css"
#  from [0bf7525a86c830d3ba57af2dd34be95642b20651]
#    to [e930e6fd3c46f8d5207101b02f200de436c46d42]
#
============================================================
--- UI/WebServerResources/SchedulerUI.css	0bf7525a86c830d3ba57af2dd34be95642b20651
+++ UI/WebServerResources/SchedulerUI.css	e930e6fd3c46f8d5207101b02f200de436c46d42
@@ -417,13 +417,13 @@ DIV#daysView
   border-top: 1px solid #ccc;
   overflow: auto;
   overflow-x: hidden;
-  right: 0px;}
+  right: 0px; }

 DIV#calendarHeader
-{ top: 50px;
+{ top: 45px;
   border: 0px;
   right: 0px;
-  height: 70px; }
+  height: 75px; }

 DIV#calendarHeader DIV.dayLabels,
 DIV#calendarHeader DIV.days
@@ -435,8 +435,8 @@ DIV#calendarHeader DIV.dayLabels
   overflow: hidden; }

 DIV#calendarHeader DIV.dayLabels
-{ bottom: 40px;
-  height: 35px; }
+{ top: 0px;
+  height: 33px; }

 DIV#calendarHeader DIV.dayLabels DIV.day
 { text-align: center;
@@ -452,7 +452,7 @@ DIV#calendarHeader DIV.days
 DIV#calendarHeader DIV.days
 { cursor: pointer;
   bottom: 0px;
-  height: 40px; }
+  top: 34px; }

 DIV#calendarHeader DIV.day,
 DIV#daysView DIV.day
mark

mark

2010-09-14 23:58

reporter   ~0001457

Would be nice if this is feasible. I could get someone here to look at CSS if helpful.

Issue History

Date Modified Username Field Change
2010-02-22 17:15 mark New Issue
2010-07-07 20:04 Jason Oster Note Added: 0001163
2010-07-07 20:04 Jason Oster File Added: SOGo-all_day_drag_handle_css-v1.patch
2010-09-14 23:58 mark Note Added: 0001457
2012-04-02 07:39 Christian Mack Relationship added duplicate of 0001535