OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Leave TODO comment to take care of sorting behavior
Aaron Contreras12785d8a8811
diff --git a/modules/boards/spec/features/board_overview_spec.rb b/modules/boards/spec/features/board_overview_spec.rbindex 853ec456291..d23b223525a 100644--- a/modules/boards/spec/features/board_overview_spec.rb+++ b/modules/boards/spec/features/board_overview_spec.rb@@ -185,11 +185,16 @@ RSpec.describe 'Work Package Boards Overview',aggregate_failures 'Sorting by Project' doboard_overview.click_to_sort_by('Project')- # TODO: for Aaron- # This is the current behavior. Sorting seems to stack with the previous sort- # even though to the user, one can only sort by a single column at a time.- # It seems unintuitive to someone who would not know about this. Ask about- # it in tomorrow's daily.+ # Sorting is performed on multiple columns at a time, taking into account+ # previous sorting criteria and using the latest clicked column as+ # the first column in the +ORDER BY+ clause and previously sorted by columns after.+ #+ # This is unintuitive to a user who is visually being informed by arrows in table headers+ # that only one column is taken into account for sorting.+ # TODO:+ # Fix sorting behavior to un-toggle previous columns sorted by or provide+ # visual feedback of all columns currently being taken into account for+ # sorting.board_overview.expect_boards_listed_in_order(other_project_board_view,other_board_view,board_view)diff --git a/modules/team_planner/spec/features/team_planner_overview_spec.rb b/modules/team_planner/spec/features/team_planner_overview_spec.rbindex c04efd2beb2..11fa41b928f 100644--- a/modules/team_planner/spec/features/team_planner_overview_spec.rb+++ b/modules/team_planner/spec/features/team_planner_overview_spec.rb@@ -171,11 +171,16 @@ RSpec.describe 'Team planner overview',aggregate_failures 'Sorting by Project' doteam_planner.click_to_sort_by('Project')- # TODO: for Aaron- # This is the current behavior. Sorting seems to stack with the previous sort- # even though to the user, one can only sort by a single column at a time.- # It seems unintuitive to someone who would not know about this. Ask about- # it in tomorrow's daily.+ # Sorting is performed on multiple columns at a time, taking into account+ # previous sorting criteria and using the latest clicked column as+ # the first column in the +ORDER BY+ clause and previously sorted by columns after.+ #+ # This is unintuitive to a user who is visually being informed by arrows in table headers+ # that only one column is taken into account for sorting.+ # TODO:+ # Fix sorting behavior to un-toggle previous columns sorted by or provide+ # visual feedback of all columns currently being taken into account for+ # sorting.team_planner.expect_views_listed_in_order(other_project_query, other_query, query)team_planner.click_to_sort_by('Project')team_planner.expect_views_listed_in_order(other_query, query, other_project_query)