Closed klondikemarlen closed 3 months ago
Relates to:
Is your feature request related to a problem? Please describe.
I have a tab page component that submits a "travel desk travel request", and once submission occurs, it redirects the user the the "read" view of the page. However, this doesn't naturally update the "tab" path, so clicking on the tab would send you back to the "edit" page. One example of a solution is https://github.com/icefoganalytics/travel-authorization/commit/630dcd273997b7509c18d403741cc1bb7d731288.
Note that the https://github.com/icefoganalytics/internal-data-portal/blob/main/web/src/layouts/DatasetLayout.vue in the Internal Data Portal suffers from the same problem.
Describe the solution you'd like
After some consideration, and consulting outside sources, I've determined that I need a better pattern to handle reactive tab logic.
Conclusions:
Proposed solution:
Relates to:
Context
Is your feature request related to a problem? Please describe.
I have a tab page component that submits a "travel desk travel request", and once submission occurs, it redirects the user the the "read" view of the page. However, this doesn't naturally update the "tab" path, so clicking on the tab would send you back to the "edit" page. One example of a solution is https://github.com/icefoganalytics/travel-authorization/commit/630dcd273997b7509c18d403741cc1bb7d731288.
Note that the https://github.com/icefoganalytics/internal-data-portal/blob/main/web/src/layouts/DatasetLayout.vue in the Internal Data Portal suffers from the same problem.
Describe the solution you'd like
After some consideration, and consulting outside sources, I've determined that I need a better pattern to handle reactive tab logic.
Conclusions:
Proposed solution: