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

Feature/iclog rewrite #259

Merged
merged 8 commits into from Aug 19, 2020

Conversation

Crystalwarrior
Copy link
Contributor

@Crystalwarrior Crystalwarrior commented Aug 18, 2020

too lazy read commit history

impelments and closes #235
fixes #221

…ve both downward and upward mode in the same function

Regenerate the IC Log in set_widgets() function, making sure the maximum_blocks is accounted for and clearing the log to prepare for different log mode (upwards/downwards) if it's different from previous
Add placeholder text telling the user the direction in which the log will go
Remove useless first_message_sent global boolean, a remnant from a   w e a k e r   c o d e r m a n
…t (optimization meme)

Clear the IC log when log_colors setting changes and reload theme is pressed
Fix AttorneyOnline#221
Add configurable newline/singleline log mode
Options in settings for these
@Crystalwarrior Crystalwarrior added bug Confirmed bug enhancement Request for functionality not present ui Issues related to the user interface (non-viewport related) labels Aug 18, 2020
@Crystalwarrior Crystalwarrior added this to the 2.8.5 milestone Aug 18, 2020
@oldmud0 oldmud0 modified the milestones: 2.8.5, 2.8.6 Aug 18, 2020
…ction" argument so that "presented evidence" is fully supported now

Translate "has presented evidence"
Regenerate IC chatlog instead of clearing it, properly updating every element with the new configurations
Copy link
Member

@oldmud0 oldmud0 left a comment

Choose a reason for hiding this comment

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

Okay okay okaaaaay fine, rewriting the entire IC log code actually fixed something. I'll move it back to 2.8.5, then.

src/courtroom.cpp Outdated Show resolved Hide resolved
src/courtroom.cpp Outdated Show resolved Hide resolved
@oldmud0 oldmud0 modified the milestones: 2.8.6, 2.8.5 Aug 18, 2020
else {
if (log_newline)
// For some reason, we're forced to use <br> instead of the more sensible \n.
// Why? Because \n is treated as a new Block instead of a soft newline within a paragraph!
Copy link
Contributor

Choose a reason for hiding this comment

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

cursed

@mposs00
Copy link
Contributor

mposs00 commented Aug 18, 2020

lgtm

@mposs00 mposs00 mentioned this pull request Aug 18, 2020
11 tasks
Why is this not done in append_ic_text, or why isn't there a dedicated ic logging func aAAAaaaaAAAaa
Fix presenting evidence not being properly logged
Fix timestamp being UTC instead of local time (local time will not be as confusing)
src/courtroom.cpp Outdated Show resolved Hide resolved
… beaned stickbugged

I did NOT copy paste code, no, I actually intended to fix copy pasted code all along. log_ic_text was always planned.

(Fix copypasted code for ic_chatlog_history and consolidate it into a single log_ic_text func)
@oldmud0 oldmud0 merged commit cef0ebc into AttorneyOnline:2.8 Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug enhancement Request for functionality not present ui Issues related to the user interface (non-viewport related)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants