remove grid usage from comm/calendar/lightning/content/lightning-item-iframe.xul
Categories
(Calendar :: Dialogs, task)
Tracking
(Not tracked)
People
(Reporter: khushil324, Assigned: khushil324)
References
Details
Attachments
(18 files, 17 obsolete files)
47.51 KB,
image/png
|
Details | |
56.74 KB,
image/png
|
Details | |
47.98 KB,
image/png
|
Details | |
42.82 KB,
image/png
|
Details | |
47.31 KB,
image/png
|
Details | |
46.75 KB,
image/png
|
Details | |
44.19 KB,
image/png
|
Details | |
44.22 KB,
image/png
|
Details | |
55.39 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
66.93 KB,
image/png
|
Details | |
409.23 KB,
image/png
|
Details | |
47.98 KB,
image/png
|
Details | |
14.76 KB,
image/png
|
Details | |
67.70 KB,
image/png
|
Details | |
6.69 KB,
image/png
|
Details | |
78.79 KB,
image/png
|
Details | |
6.72 KB,
patch
|
pmorris
:
review+
aleca
:
feedback+
Paenglab
:
feedback+
|
Details | Diff | Splinter Review |
48.79 KB,
image/png
|
Details |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Previous status quo on TB 60.
Comment 7•6 years ago
•
|
||
After applying patch, column sizing behavior isn't the same.
Assignee | ||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Khushil and I discussed the use of <table> here yesterday. I think we shouldn't use that unless it's semantically tabular data.
Looking more closely, it's fairly close, but the "row" with category and calendar in one mess it up... We might want to put "calendar" above the other fields. In a way, having it next to category is conceptually wrong too - I guess it's there to save space, but we do have plenty.
Assignee | ||
Comment 11•6 years ago
|
||
For "Calendar", do we want menulist to cover 100% width of the dialog or the default width?
Comment 12•6 years ago
|
||
I'd think just the default width. Would have to see it in action.
Assignee | ||
Comment 13•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Assignee | ||
Comment 16•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #15)
This is where the table should end.
There is a event-grid-link-row below this tab box, I guess we should shift it above the tab box and put tabbox outside the table. What do you say?
Comment 17•6 years ago
|
||
Yes the tabbox should move out of the table.
Assignee | ||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #20)
The dropdowns for calendar and category are not as high as the other fields.
I am not getting this. Can you share some screenshot?
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Are you talking about margin/padding bottom is not enough for these two dropdowns?
Comment 24•6 years ago
|
||
I didn't check what exactly is wrong, but they are "thinner" than e.g the reminder dropdown.
Also, you can see Title and Location are not completely aligned with the other widgets.
Assignee | ||
Comment 25•6 years ago
|
||
Assignee | ||
Comment 26•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #20)
The dropdowns for calendar and category are not as high as the other fields.
I checked it but layout shows same height for all the dropdown items.
Why not just add a suitable top border for event-grid-allday-row (using a
class of course)
We need certain padding/margin but we can not apply that to table row so we need to use table data.
Comment 27•6 years ago
|
||
Assignee | ||
Comment 28•6 years ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #27)
my earlier comments about this still not addressed. Why not just style the
top border of the next tr?
I am using html:td here because this reason: We need certain padding/margin but we can not apply that to table row so we need to use table data.
And as I am using html:td for giving certain padding, I thought we should set the border to html:td itself only.
Assignee | ||
Updated•6 years ago
|
Comment 29•6 years ago
|
||
Comment 30•6 years ago
|
||
Here's a screenshot. aleca, there are some UI questions for you in my review comment above, thanks.
Comment 31•6 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #29)
Looks like these could just stay in |hideForTaskIds|, right? I don't see a
need for a separate list. You could use |node.toggleAttribute("hidden",
isGoogleTask)| for the whole list.
Oh, wait, maybe this is a "combining XUL and HTML" thing. In that case lets name the new array "htmlHideForTaskIds" or similar to make it clearer what's going on.
Comment 32•6 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #29)
- If the "calendar" drop-down is going to move to its own line I think it
should not be the first one. I'd put it before the "category" line. But
let's bring in aleca on this UI question.
The reason I suggested to move it there was because if you look at this dialog from a data pov, calendar is obviously the most important thing. Where it was before was semantically wrong: it had nothing to do with category.
Comment 33•6 years ago
|
||
Hey, thanks for the needinfo on this.
I agree that the Calendar and Category dropdowns should be both full-width.
Having the Calendar as first option definitely makes sense from a data POV, like Magnus pointed out.
It might feel weird, but it's definitely the most important attribute the user should select before creating the event.
Regarding the timing section, I agree that we should keep a spacer line above the "Reminder" section.
Also, I'd like to suggest moving the "All day Event" checkbox beside the "Start:" row, to the right of the time dropdown, as it makes more sense semantically to select/confirm the day of the event and then specify if it goes one all day or it needs and end time.
Assignee | ||
Comment 34•6 years ago
|
||
Comment 35•6 years ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #32)
The reason I suggested to move it there was because if you look at this dialog from a data pov, calendar is obviously the most important thing. Where it was before was semantically wrong: it had nothing to do with category.
But is a data pov the right one to take here? I disagree with putting the calendar first for broader UX reasons. I don't think the calendar I'm creating an event in is the most important or first thing in my mind as a user. The first thing on my mind when creating an event is the event, its title, location, time, etc... Basically, I want to first say what the event is, and then say what calendar it should be added to (if that even needs to change).
Also, the calendar is already selected, based on the currently active calendar. In many cases, I won't need to change it because it will already be correct. If I'm a user with only one calendar I'll never have to change it.
Also, when opening an existing event to view details about it, I care about the details specific to that event, what is it, where is it, when is it, etc. which calendar it happens to be in is of secondary importance.
I know aleca has already commented, but I wanted to make the case for the current arrangement of having title, location, time, etc. at the top before calendar. FWIW, other calendar applications (google, apple, etc.) put the title first, then location, etc. things that are specific to the event.
Comment 36•6 years ago
|
||
Comment 37•6 years ago
|
||
Comment 38•6 years ago
|
||
I do find that looking at the data first often you get the right UX too, because usually well designed data is logical, and many times logical UI makes good UX.
I don't think you should move the "All day Event". That's wrong, as it's not only about the start day, it's also about the end day. See, from a data pov, it is wrong: the row is "Start". The section is When (but we don't say that anywhere explicitly). So it makes sense to have All day Event on it's own row like it was.
Assignee | ||
Updated•6 years ago
|
Comment 39•6 years ago
|
||
Sounds good, put back the "All day Event" where it was.
Assignee | ||
Comment 40•6 years ago
|
||
Comment 41•6 years ago
•
|
||
Assignee | ||
Comment 42•6 years ago
|
||
Menulist, Checkbox and Tabbox contain certain margin and there is a difference of 4px between top margin and bottom margin. So I have used calc and var in CSS to maintain the gap of 4px.
Assignee | ||
Updated•6 years ago
|
Comment 43•6 years ago
|
||
Comment 44•6 years ago
|
||
Forgot to say that it's much better with the spacers all the same and not having to add additional table rows.
Assignee | ||
Comment 45•5 years ago
|
||
Comment 46•5 years ago
|
||
Comment 47•5 years ago
|
||
Here's what I'm seeing on the percent complete box. It's not too bad, but I'd say let's leave that part out and handle it in a follow-up bug. (I'm remembering that getting this to look right is trickier than it looks.)
Assignee | ||
Comment 48•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 49•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/1dea742ee4cc
remove grid usage from lightning-item-iframe.xul. r=pmorris
Updated•5 years ago
|
Comment 50•5 years ago
|
||
I'm sorry to bring back this bug again, but I'm seeing some visual inconsistencies on the Calendar Even Dialog.
The Title and Location fields are shorter, not as tall as they should be, and are missing the initial inline padding.
I'd recommend taking a look at the input-fields.css
file I implemented to keep all the input fields consistent and overcome the necessity of forcing the width: 100%
style on them.
Cheers
Assignee | ||
Comment 52•5 years ago
|
||
I am on Mac. Yes, there is a problem with inline padding. But I am not seeing a problem with the width of the html:input so just want to confirm.
Comment 53•5 years ago
|
||
Is Linux, elementary OS, based on Ubuntu 18.04
Assignee | ||
Comment 54•5 years ago
|
||
Thanks, I am looking into it.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 55•5 years ago
|
||
Comment 56•5 years ago
|
||
Comment 57•5 years ago
|
||
Comment 58•5 years ago
|
||
Comment 59•5 years ago
|
||
Could this change be the cause for the regression reported in Bug 1582929?
Assignee | ||
Comment 60•5 years ago
|
||
Comment 61•5 years ago
|
||
Comment 62•5 years ago
|
||
Do you have the chance to testing it on Windows or macOS?
Khushil is on Mac, Alex, you're on Linux (and Mac? (once repaired?)) and we can get Richard (or myself) to check it on Windows.
Assignee | ||
Comment 63•5 years ago
|
||
Jorg and Richard, can one of you check for the windows machine?
Comment 64•5 years ago
|
||
Assignee | ||
Comment 65•5 years ago
•
|
||
Padding will increase the inner size of the input. If we are removing padding of the td, it will be margin for the input. I guess, Aleca just wants styling related to margin/padding on the element itself, not on the td or th. Am I missing here something?
Comment 66•5 years ago
|
||
OK, that makes sense, thanks for the explanation. I'll try the patch.
Comment 67•5 years ago
|
||
Here's a screenshot with the current patch. The spacing between the first four rows still seems slightly inconsistent to me, but pretty close though. (This is Linux/Ubuntu.) Let's see what it looks like on windows. I wonder if this might just be a glitch that's specific to Ubuntu and not present other Linux flavors like Aleca's?
Comment 68•5 years ago
|
||
This is how it looks on Windows:
- The spacing between the four lines on top isn't equal.
- The "Calendar" and "Category" menulists aren't aligned on the right with the textboxes and the separator lines.
- The "Start", "End" and "Repeat" lines are too close together
Updated•5 years ago
|
Assignee | ||
Comment 69•5 years ago
|
||
Assignee | ||
Comment 70•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 71•5 years ago
|
||
Comment 72•5 years ago
|
||
Comment 73•5 years ago
|
||
Assignee | ||
Comment 74•5 years ago
|
||
Richard, can you please check this patch on Windows machine. I have checked on Mac and Linux and it looks okay there.
Assignee | ||
Comment 75•5 years ago
•
|
||
I am mainly confuse with the margin-inline-start on input. I think 4px should work. Right now, I have kept it as 1px as you have mentioned in the previous feedback. I have removed the padding, just using margins now.
Comment 76•5 years ago
|
||
Assignee | ||
Comment 77•5 years ago
|
||
Sorry, Richard for bothering you again. But now what I have done is that I have removed margins and paddings from all the elements and added padding only to tds and ths so that it looks consistent on all the operating systems. I have checked on Linux and MacOS, it looks okay there. Please give feedback.
Updated•5 years ago
|
Comment 78•5 years ago
|
||
This is how it looks on Windows.
As you can see, the text in the textboxes touches the border. The daypicker menulists aren't no more aligned and the textboxes in them have a strange border (there is a rule with negative margins in menulist.css that is now overridden.
Below is how they should look.
Updated•5 years ago
|
Comment 79•5 years ago
|
||
I'm sorry to keep pushing back but this doesn't look good on Linux either.
The standard padding of the input fields is gone, and the datetime pickers have that initial margin with break the alignment.
Updated•5 years ago
|
Assignee | ||
Comment 80•5 years ago
|
||
Comment 81•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 82•5 years ago
|
||
Comment 83•5 years ago
|
||
Comment 84•5 years ago
|
||
Task edit dialog with the latest patch. Not sure if these things are related to the changes in the patch.
- Start and due date date picker drop-down arrows appear and disappear as I check the checkboxes, which pushes things to the right. They used to be visible even when checkboxes were unchecked.
- Height of the % complete input box is too short.
Khushil, can you take a closer look in a follow-up bug?
Assignee | ||
Updated•5 years ago
|
Comment 85•5 years ago
|
||
Comment 86•5 years ago
|
||
My apologies, the patch adds the missing newline, I got confused.
Comment 87•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/2738f47944c5
Follow-up: fix width of input fields for title and location. r=pmorris
Description
•