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

Chat entries displayed in a hangouts-like format #9

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from

Conversation

edkief
Copy link

@edkief edkief commented Nov 17, 2017

Not sure whether that would be useful for many, but I needed to print chat entries in the same way it would be displayed on hangouts, from a given date in the past up to today. I've implemented this so as to retain the initial feature set, but it would certainly need some cleanup.

image

It's also fairly slow to display/scroll for large conversations. Printing in the correct format also requires that you enable CSS emulation to "Screen" on the "Rendering" developer options of Chrome - no way around this which I'm aware of.

I can clean this up a bit and document the above if there's interest in this pull request. Missing bits:

  • No way to control who gets the grey or white background on chat entries (first entry displayed is white currently, other contact gets grey)
  • The dates displayed in the conversation always assume current year (format 'Oct 15, 10:50'), while older dates should be displayed with year information (e.g. '8/17/16, 12:57 PM')

Added several options:

  • Display chat entries only from a selected date
  • Ability to use a hangouts-like format instead of a raw text format
  • Removal of extraneous components on screen to prepare for printing

edkief and others added 4 commits November 18, 2017 09:25
- Display chat entries only from a selected date
- Ability to use a hangouts-like format instead of a raw text format
- Removal of extraneous components on screen to prpare for printing
Quick description of changes from forked repo
@frozenpandaman
Copy link

This is, like, a, 5-year-old PR but it would be cool to see this updated & merged/implemented. :)

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.

2 participants