Skip to content

Conversation

th-we
Copy link

@th-we th-we commented Apr 28, 2018

Added a message that asks whether to submit all tracked times before closing the program. Should work similarly to the familiar Save prompt popping up when closing modified files in editors.

Please review, I'm not experienced with C#.

this.TimeElapsed = TimeElapsed;
DateTimeOffset initialStartTime;
if (startTime == null)
public WorklogForm(IssueControl issueControl)

Choose a reason for hiding this comment

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

I don't think it's good practice to increase coupling.

Copy link
Author

Choose a reason for hiding this comment

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

I did this to not make the already long signature of the constructor even longer. Because all the arguments only really make sense if they stem from the same IssueControl object I thought the cleaner signature makes clearer what's going on.

It's not a big deal to change that back, though – if this PR has any chance of being accepted by @carstengehling.

Choose a reason for hiding this comment

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

Agree with you. Repository looks abandoned...

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