Selected tab is maintained in add-forge-now create view.
Related to T4050
Differential D7426
Maintain tab selection on refresh jayeshv on Mar 24 2022, 6:23 PM. Authored by
Details
Selected tab is maintained in add-forge-now create view. Related to T4050
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7426 (id=26875)Rebasing onto 7c86b0e45c... Current branch diff-target is up to date. Changes applied before testcommit 7c292a0a20ee282fd0c9800b376c3f4513229312 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Mar 24 18:16:41 2022 +0100 Maintain tab selection on refresh Selected tab is maintained in add-forge-now create view. Related to T4050 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1565/ for more details. Comment Actions Build is green Patch application report for D7426 (id=26876)Rebasing onto 7c86b0e45c... Current branch diff-target is up to date. Changes applied before testcommit d25a0cc69b81104cc6eeb759494b1df4fc78c278 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Mar 24 18:29:55 2022 +0100 Maintain tab selection on refresh Maintain selected in add-forge-now create view. Add URL hash for the help tab. Related to T4050 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1566/ for more details. Comment Actions Could you add a cypress test for this ? You can inspire from the one I wrote for save code now.
Comment Actions Added extra cypress tests
Comment Actions Build is green Patch application report for D7426 (id=26881)Rebasing onto d5e3f98417... Current branch diff-target is up to date. Changes applied before testcommit 0e103975733b908b92fed170a75a378a682d99a6 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Fri Mar 25 10:23:10 2022 +0100 Maintain tab selection on refresh Maintain selected tab in add-forge-now create view. Add URL hash for the help tab. Improve cypress tests for the tab change. Related to T4050 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1570/ for more details.
Comment Actions You still need to keep the hashchange event handler or the tabs will not be switched when playing with browser history: $(window).on('hashchange', () => { onPageHashChage(); }); Comment Actions Build is green Patch application report for D7426 (id=26889)Rebasing onto 349c7e5f4e... Current branch diff-target is up to date. Changes applied before testcommit b81477d5fc0ae91b1cfd6656d734c7ce086bcb60 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Fri Mar 25 11:29:13 2022 +0100 Maintain tab selection on refresh Maintain selected tab in add-forge-now create view. Add URL hash for the help tab. Improve cypress tests for the tab change. Related to T4050 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1576/ for more details. Comment Actions Build is green Patch application report for D7426 (id=26890)Rebasing onto 8d5f258e31... First, rewinding head to replay your work on top of it... Applying: Maintain tab selection on refresh Changes applied before testcommit 5348f121624b8617c0923c7de38286e7fae83bdc Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Fri Mar 25 11:42:11 2022 +0100 Maintain tab selection on refresh Maintain selected tab in add-forge-now create view. Add URL hash for the help tab. Improve cypress tests for the tab change. Related to T4050 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1577/ for more details. Comment Actions Build was aborted Patch application report for D7426 (id=26909)Rebasing onto cdda03c3aa... Current branch diff-target is up to date. Changes applied before testcommit 6f1a974c1f4c4fe78ca14ed5f1766bbd510a8cea Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Fri Mar 25 11:42:11 2022 +0100 Maintain tab selection on refresh Maintain selected tab in add-forge-now create view. Add URL hash for the help tab. Improve cypress tests for the tab change. Related to T4050 Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1587/ |