-
Notifications
You must be signed in to change notification settings - Fork 248
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
Some features have been implemented #105
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # Source/TailBlazer/App.xaml # Source/TailBlazer/TailBlazer.csproj # Source/TailBlazer/Views/WindowManagement/WindowViewModel.cs
Wow that is a huge PR. I will be able to take a good look at it in the next few days. Thanks for the effort. |
Dear Roland, Could you look at this? Do you have any comment about it? Would you summarize your thoughts? We have deadline. :( Thanks, |
Sorry for the delay but I have been thinking how I can best respond as the PR is very large and complicated. Although there is some good code there are also some errors and poor choices. I really appreciate the effort made to improve the system but in it's current state I cannot accept the code. I will explain below. Cannot be automatically merged It would have been better before submitting the PR to merge the latest master into your branch and resolving any merge conflicts first. *Too many changes for a single PR * By lumping together all the changes in one PR it means that I am forced to accept all or nothing. With several smaller PRs it would be possible to accept and reject on a case by case basis. Pin a file The way the pinning is implemented is not what I expected. My expectation was that to pin a file would mean to persist the file between sessions i.e. the next time TailBlazer is launched the file or files would be reloaded with the same state as last session. Also as I stated in my email to you
The implementation in master now preserves the state of all open files between sessions so the idea of a pin in obsolete and cannot be accepted into TailBlazer. Material Design File Chooser The file chooser is very rough and would need a lot of work on it to make it a serious alternative to the standard file chooser. Also I had an unhandled exception. However, I would like to take it and apply polish myself when I get a chance. Tailing a folder In the first instance, this does not work! I can open a folder and I cannot even scroll the result. The idea behind tailing a folder (or selection of files) was to enable treating rolled over log files as a single file. The explanation was given as:
All of these concepts can be implemented being the following interface which I had very carefully designed.
This interface would enable all the use cases above. However the proposed code has changed the simple and perfect interface into the following:
These extra methods are unnecessarily placed on the interface. It is the implementation which should deal with details like reading the lines of the file. The simpler interface is applicable to all the uses case I mentioned whereas the extra methods add a burden to any further implementations. Again I cannot accept this. |
Could you explain the good part of the PR. I just read about the bad things. |
Good points:
I would love to take some of the code and re-organise it and apply polish as a lot of it is very beneficial |
@GILGAMESHTHEKING I see some stuff in here I really like. Any plans on splitting up this pull request into many small ones (per feature)? I think that would be the only way forward. |
So ... this is dead ... ? :( |
Any update when the feature "Search and tail entire folder" will be available? |
I am been very busy for a long time on other open source commitments. However I intend to do a major revamp when dotnet core 3 is released. I will do it as part of that |
Implemented features: