renflo opened a new issue, #5847:
URL: https://github.com/apache/incubator-devlake/issues/5847

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   
   1. I want the "Task failed..." popups to have good readability, even when 
the information is a verbose system error log.
   2. I want to be able to copy paste the information in the "Task failed..." 
popups
   3. When the displayed information is a log from a system error I want to 
know _when_ it happened
   
   ### Description
   
   The screenshot under documents where the popup panel I mention is: it 
appears when you hover over "Task failed: hover to view the reason"
   ![Screenshot 2023-08-10 at 11 11 
32](https://github.com/apache/incubator-devlake/assets/231459/c70644ce-09ea-4f2b-ad2a-e0da3331458d)
   
   Today when I hover over and the reason is an error in the execution I am met 
with this kind of stuff:
   ![Screenshot 2023-08-10 at 11 14 
27](https://github.com/apache/incubator-devlake/assets/231459/053e8142-ee1e-4309-9f8f-04c7f1c1a11e)
 
   ![Screenshot 2023-08-10 at 11 14 
36](https://github.com/apache/incubator-devlake/assets/231459/f7a1b51c-f313-464a-b8ed-596bf08bcb03)
   
   So back to my 3 use case requests:
   1. Readability when system errors occur is difficult. I think it's 
satisfying that you reproduce the relevant log statement, as it allows me to 
dig in the logs server side to find more information. But I suggest that you 
*a) limit the maximum size of the popup and add some kind of +/- button to 
maximize and minimize it"* and more importantly *b) format the log so newlines 
are correctly placed*. The second change in particular should be trivial and 
would really improve readability.
   2. "copy pasting" is impossible today because the popup disappear when you 
move the mouse. You can ofc use the developer tools to get the message but it 
unnecessarily complicated. I propose you either *a) make the link clikable, and 
when it's clicked it would stay unhidden, giving the user time to copy/paste* 
or *b) add a "copy" icon close to the text which when clicked would copy the 
text to the clipboard*.
   3. finally you must add the time at which the log occured, that's a crucial 
piece of information.
   
   Consider my proposals as illustrative - there are many ways to solve this 
but it's usually simpler to be specific and let people adjust than not saying 
anything.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to