-
-
Notifications
You must be signed in to change notification settings - Fork 718
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
Added a report button for reporting bugs on the error page #2468
base: master
Are you sure you want to change the base?
Conversation
Added the report button to the error page. So people can report a bug
updated error page with correct code for report button
This seems like a good idea generally, but most of the times that the error page appears, it's an issue with the user's network or the website they're trying to visit; we don't want bug reports for those. There's a full list of error types in the error.js file; maybe we could go through those and pick some that are more likely to be the browser's fault, and only show the report button for those? Also, the button label needs to be added to the translation system so it can appear in the user's language; you would do a find-and-replace action to add it to the language files, like this PR: https://github.com/minbrowser/min/pull/2461/files, and then set a |
Is there a error page for browser errors? If not how can we add it? Where i can put the report button. I know that most of the error codes are internet/server related but i thought that some of them might be a error witch the browser. For example if someone couldn't connect to any websites but the internet is fine it might be a browser error . But maybe there should be a report button in the menu? or somewhere people can find it when there is a browser error. Im not super familiar with the way this browse is coded so if you could make a test page with some buttons and integrations from the browser (like showing verrsion # or a quit button) so i can understand how the html connects with the browser that would be great. if not could you explain how those elements of the browser connect with the pages then i can code in some of the features that people want |
Yeah, I agree. The question is, which ones might be browser errors? For example, if the error is "no internet connection", there's like a 0.01% chance it's our fault, and a 99.99% chance it really is a problem with the user's internet connection. But if the error is "UNEXPECTED_SECURITY_LIBRARY_STATUS" (https://github.com/minbrowser/min/blob/master/pages/error/error.js#L190C12-L190C46) that's probably our fault. We have this object that maps error codes to the text that we show the user: https://github.com/minbrowser/min/blob/master/pages/error/error.js#L261. So I think we could add an additional property there that indicates for a particular error code, whether we should show the button to the user.
There is :)
Start with this document: https://github.com/minbrowser/min/wiki/Architecture. And if you run into questions reading it, let me know; I know it's a bit complicated and have been looking for feedback on improving it. |
@PalmerAL So, For example for Spanish, Report Bug would be "Reportar un error" and in the code it would be
Now in the html how would i do it??
I think adding examples to the documentation would help alot, because instructions are good but instructions with examples are GOOD!!!!! |
Take a look at the line in erorr/index.html above your change:
You set Good point regarding an example, I'll add one. |
Adds a report button for reporting bugs/errors on the error page. the button links to the issue page but it night be better to make a web-page for report bugs that reports it on GitHub. it would be more user friendly but not needed. But anyway i added a report button on the error page.