View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025680 | mantisbt | bugtracker | public | 2019-04-04 23:01 | 2019-04-25 18:42 |
Reporter | 123 | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Summary | 0025680: Redirect after bug report process ending | ||||
Description | There is a g_default_home_page configuration parameter. | ||||
Tags | No tags attached. | ||||
That makes sense and would be consistent with the concept of "default page". |
|
I'm not sure... currently, "default page" is the landing page after login.
...not consistent, but still it's a related page in that context. I see that a common setting for "default page" can be "my view" page. I wouldn't like to go to "my view" after each issue creation. I'd expect it to go to view issues list, or the individual new issue. |
|
There is another option. What do you think? |
|
I updated my PR. Now you can take into account the wishes of @cproensa and redirect to the page from which the process started reporting the error. To register the page of the parent, I used cookies. Unfortunately, there is a small feature. We cannot control the cancellation of the creation issue, and therefore the cookie will not be cleared. That will lead to a one-time violation of logic in the redirection process. It seems to me that this will happen quite rarely. What do you think? |
|
I'm not really fond of this implementation with cookies. Do we really need to go back to wherever the new bug was submitted ? The more I think about it, and considering my usage of the system, over 95% of the times after submitting a new issue, I want to see it afterwards. Sometimes I want to create another issue right after that (which is achieved by the Report Stay check box on the bug report page, and if I forget I just click on the Report Issue button on the sidebar again). Occasionally I want to see the issues list; this is currently the default behavior on bug_report.php after timeout, maybe we should change that ? Anyway, I'm tempted to close this as "won't fix". Thoughts ? |
|
Well, there is another option. What if we configure the global parameter 'default_home_page' for each user? |
|
@123 I was more questioning the use case for allowing user to pick the target page after submitting a but, more than the proposed implementation itself. My point is that this adds complexity for no or very little benefit, and we should stick to current behavior or even simplify it (i.e. always return to the newly created issue's page). Most key MantisBT pages are just one click away from that anyway. Maybe you care to explain your reasons for needing this feature. |
|
@dregad As I wrote below, I will be satisfied with the redirect to default_home_page. With my suggestion for improving this part of the code, I wanted to achieve the logical behavior of the mantisbt. Also in my use case mantisbt I would really like to be able to remove the link to view_all_bug_page from the side menu, since for most users it is not needed. This page is used only if it is necessary to sort the issues by a specific filter and only engineers use it, and in rare cases. |
|
While I don't necessarily disagree with this, I personally don't think it is useful as per my earlier comment.
Which contradicts his previous statement. Considering that you
then I think we are in agreement ?
While I would agree that its usage could be considered complex and not so useful for some literate people, this page is quite central to MantisBT operations, and I would recommend against removing it, as this is the only way to access issues globally and to search / filter them. |
|
I'm sorry, I incorrectly formulated my answer. |
|
Yes. Last question. Do we change the behavior of buttons on bug_report.php or leave everything as it is? |
|
@123 thanks for your feedback.
I propose the following :
Optionally, change defaut redirect from view_all_bug_page.php to the newly opened bug's page, which IMO is more useful (a separate issue should be created for that). Note that the "report stay" option will add a 3rd button to this page to report more issues, and change default redirect to bug_report_page.php Alternatively, I would be also fine with not presenting any buttons to the user, and just automatically redirect to view.php or bug_report_page.php depending on status of "Report Stay" checkbox. |
|
Ok. |
|