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

Truncate long event messages to 1000 characters #1082

Merged
merged 1 commit into from
Jan 5, 2017

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Jan 5, 2017

Occasionally an event can have a long message. Limit the length to 1000 characters or 4 lines in the events table.

Fixes #54

@spadgett spadgett requested a review from jwforres January 5, 2017 14:03
Copy link
Member

@jwforres jwforres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm actually i'm wondering if this should be the truncate that allows expansion, i might need to get to the whole message content right?

@spadgett spadgett force-pushed the truncate-event-msg branch 2 times, most recently from 5eaad09 to 69479a0 Compare January 5, 2017 17:32
@spadgett
Copy link
Member Author

spadgett commented Jan 5, 2017

@jwforres I added optional keyword highlighting to the truncate-long-text directive so that we can have both expand and keyword highlighting.

@jwforres
Copy link
Member

jwforres commented Jan 5, 2017

[merge]

@spadgett
Copy link
Member Author

spadgett commented Jan 5, 2017

Hold, I found a minor issue with JSON formatting :/

Occasionally an event can have a long message. Limit the length to 1000
characters or 4 lines in the events table.
@spadgett spadgett force-pushed the truncate-event-msg branch from 69479a0 to 87ca1f4 Compare January 5, 2017 18:13
@spadgett
Copy link
Member Author

spadgett commented Jan 5, 2017

@jwforres Moved the truncated-content class to the correct <span>. No other changes.

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 87ca1f4

@openshift-bot
Copy link

openshift-bot commented Jan 5, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/901/) (Base Commit: f0e8144)

@openshift-bot openshift-bot merged commit 3656be7 into openshift:master Jan 5, 2017
@spadgett spadgett deleted the truncate-event-msg branch January 5, 2017 20:18
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.

3 participants