Skip to content
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

Journal layout #2467

Closed
wants to merge 3 commits into from
Closed

Journal layout #2467

wants to merge 3 commits into from

Conversation

dperpeet
Copy link
Contributor

@dperpeet dperpeet commented Jul 7, 2015

preliminary pull request without new features, just a side by side comparison of the journal layouts for easier review (don't merge!)

@andreasn
Copy link
Contributor

andreasn commented Jul 7, 2015

apart from the notes above, the layout works really great!

@andreasn
Copy link
Contributor

Avahi is awesome :)

screenshot from 2015-07-14 16-28-27

@stefwalter
Copy link
Contributor

Avahi is awesome :)

Can you report a bug in bugzilla.redhat.com that avahi is spamming logs based on network traffic? This could easily be a DOS or security issue to cause other logs to be rotated away by filling them up with silly messages about packets.

@dperpeet dperpeet force-pushed the journal branch 2 times, most recently from 160d975 to e3aacd7 Compare July 15, 2015 09:39
@andreasn
Copy link
Contributor

Seems this started happening again.
screenshot from 2015-07-15 12-06-19

Probably need to increase .cockpit-log-message to calc(100%-300px)

@andreasn
Copy link
Contributor

Storage looks a bit misaligned.
screenshot from 2015-07-15 12-08-45

@andreasn
Copy link
Contributor

with .cockpit-logmsg-reboot margin-left: -45px; straightens it up a bit.

screenshot from 2015-07-15 12-11-57

@andreasn
Copy link
Contributor

What error levels does the embedded journals pick up on?
I'm thinking we should either have them use the error and warning badges, or have that column not show in these embedded journals in order to make the date line up with the time.

@andreasn
Copy link
Contributor

This is how it would look if .cockpit-log-warning was set to "none" in the embedded journals.

screenshot from 2015-07-15 12-34-52

@dperpeet
Copy link
Contributor Author

with .cockpit-logmsg-reboot margin-left: -45px; straightens it up a bit.

why would we want to align the "Reboot" message with the time field?

I think aligning this with the other messages looks cleaner (as it is in the mockup)

@dperpeet
Copy link
Contributor Author

This is how it would look if .cockpit-log-warning was set to "none" in the embedded journals.

The class is for the "column" - if there's an actual warning, that field will contain <i class="fa fa-exclamation-triangle"></i>

@andreasn
Copy link
Contributor

why would we want to align the "Reboot" message with the time field?

To get it to align up nicely to the left, since it doesn't have a specific time, so that's it's entire message.

@dperpeet
Copy link
Contributor Author

To get it to align up nicely to the right, since it doesn't have a specific time, so that's it's entire message.

do you mean align on the left? I would consider this to be a message... but if you want it this way, I can change it

@andreasn
Copy link
Contributor

The class is for the "column" - if there's an actual warning, that field will contain

Ah, ok. All mine was all empty, so I wondered if they didn't show at all. Lets keep this column then.

@andreasn
Copy link
Contributor

do you mean align on the left? I would consider this to be a message... but if you want it this way, I can change it

Yeah, probably best to change it. Sorry for going back and forth a bit on this, but I felt something had to be done about the alignment of these embedded journals.

@dperpeet
Copy link
Contributor Author

Yeah, probably best to change it. Sorry for going back and forth a bit on this, but I felt something had to be done about the alignment of these embedded journals.

this affects all journals, I'll change it so "Reboot" aligns with the time

@dperpeet
Copy link
Contributor Author

all above issues are fixed/addressed

@dperpeet dperpeet changed the title wip: Journal layout Journal layout Jul 15, 2015
@andreasn
Copy link
Contributor

Apart from the tiny issue above, all looks good now!

@dperpeet
Copy link
Contributor Author

While -moz-calc and -webkit-calc are 300px, it seems calc is still 290px

good catch, fixed!

@petervo
Copy link
Contributor

petervo commented Jul 20, 2015

The test failure is because you are requiring a system/journal.js, but you don't build a non debug version of journal.js. It's included with system/bundle.js but you aren't loading that on system/journal.html. So it's getting a not found and failing to load the JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants