summaryrefslogtreecommitdiff
path: root/spec/features/dashboard
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-192-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-214-4/+33
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-192-77/+22
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-0/+8
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-1821-68/+26
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-204-68/+40
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-151-5/+47
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-141-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-141-5/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-091-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-044-6/+61
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-261-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-181-55/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-111-1/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-051-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-311-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-081-8/+20
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-023-6/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-191-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-181-9/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-0/+34
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-031-0/+20
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-311-2/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-261-16/+0
|
* Replace rails_helper.rb with spec_helper.rb66741-remove-spec-rails_helper-rbAsh McKenzie2019-08-301-1/+1
| | | | | rails_helper.rb's only logic was to require spec_helper.rb.
* Merge branch 'todos/include-issue-mr-titles' into 'master'Stan Hu2019-08-283-33/+33
|\ | | | | | | | | | | | | Add Issue and Merge Request titles to Todo items Closes #63488 See merge request gitlab-org/gitlab-ce!30435
| * Add Issue and Merge Request titles to Todo itemsArun Kumar Mohan2019-08-273-33/+33
| | | | | | | | | | | | Only displays the todo body if the todo has a note. This is to avoid redundant Issue or Merge Request titles displayed both in the Todo title and body.
* | Merge branch 'sh-project-feature-nplus-one' into 'master'Jan Provaznik2019-08-271-0/+22
|\ \ | | | | | | | | | | | | | | | | | | Remove N+1 SQL query loading project feature in dashboard Closes #66482 See merge request gitlab-org/gitlab-ce!32169
| * | Remove N+1 SQL query loading project feature in dashboardsh-project-feature-nplus-oneStan Hu2019-08-231-0/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects that have a pipeline may need to check whether the user has permission to read the build (`can?(current_user, :read_build, project)`), which requires checking the `project_features` table. This would cause an N+1 SQL query for each project. This change also has a beneficial side effect that may avoid a race condition. When a user deletes a project, the project is queued for deletion and the user is redirected back to the dashboard page. However, the following may happen: 1. The dashboard page may load this deleted project in the list of 20 projects. 2. The view will load the project pipeline status from the cache and attempt to show each project. 3. When the view encounters the deleted project, it calls `can?(current_user, :read_build, project)` to determine whether to display the pipeline status. 4. Sidekiq deletes the project from the database. 5. However, since the deleted project is still loaded in memory, it will attempt to call `project.project_feature.access_level`. 6. Since `project_feature` was not eager loaded, a lazy `SELECT` call is made to the database. 7. This `SELECT` call returns nothing, and the user sees a 500 error. By eager loading `project_feature`, we can ensure that we have a consistent view and avoid records from being deleted later. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66482
* | Change misleading pipeline status tooltipScott Hampton2019-08-231-2/+2
|/ | | | | | | | | | Some pipeline status icon tooltips were showing "Commit: ..." which customers found to be misleading since it was not the commit that was failing but the pipeline. We are changing all status icon tooltips to say "Pipeline: ..." instead of "Commit: ..." now.
* Resolve Incorrect empty state message on "Explore projects"Dennis Tang2019-08-021-1/+1
|
* Backport ToDo feature specs from EEYorick Peterse2019-07-291-7/+35
| | | | This ensures that both CE and EE have the same specs.
* Merge branch 'frozen_string_spec_features' into 'master'Rémy Coutable2019-07-2924-0/+48
|\ | | | | | | | | Add frozen_string_literal to spec/features See merge request gitlab-org/gitlab-ce!31131
| * Add frozen_string_literal to spec/featuresThong Kuah2019-07-2624-0/+48
| | | | | | | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* | Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-3/+3
|/ | | | | These are not required because MySQL is not supported anymore
* Fix invalid milestone URL for new milestone dropdown64321-wrong-url-when-creating-milestones-from-instance-milestones-dashboardDmitriy Zaporozhets2019-07-091-0/+14
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Change 'Todo' to 'To Do'Christie Lenneville2019-07-042-8/+8
| | | | | | | | | | | | | | | | Currently, we label items to be done as "Todo." This is grammatically incorrect and (therefore) confusing—especially to our Spanish-speaking users for whom "todo" has a specific and unrelated meaning. We should use "To Do" and always use it as singular (not "To Dos"). Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot
* Upgrade gitlab-ui and migrate gl-paginationPaul Gascou-Vaillancourt2019-06-141-2/+2
| | | | | | - Upgraded gitlab-ui to v4.0.0 - Migrated pagination_links to reflect breaking changes introduced in gitlab-ui v4.0.0
* Fix a flaky spec for sorting projects in dashboard61635-flaky-spec-dashboard-user_filters_projects_specRémy Coutable2019-05-091-44/+12
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Set created_at and updated_at for sorting specsBob Van Landuyt2019-05-071-5/+5
| | | | | This makes sure that the results are predictable and the same on both Postgres and MySQL
* Added blank lines to meet style guideEzekiel Kigbo2019-05-062-51/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Un-nest title variable output Update spec test names Rename sort_value_most_stars -> sort_value_stars_desc Rename sorted_by_stars -> sorted_by_stars_desc Renname sort_value_most_stars_asc -> sort_value_stars_asc Invert feature check, assign feature condition to a variable Inline conditional nav bar rendering Invert conditional label Added follow up task Fix filters returning 0 projects show the wrong view Move click action out of test expectation Use proper variable name for project in before block Rename projects_sort_admin_options_hash Renamed projects_sort_admin_options_has to old_projects_sort_options_hash as its not only used on the admin screen Fix extra whitespace errors Stub project_list_filter_bar in the projects_helper specs Added follow up task for `show_projects?` Removed url test expectations
* Update project list specsEzekiel Kigbo2019-05-062-0/+239
| | | | | | Add tests to ensure search only executes with a button click or enter, sort by Name, Last updated, Created date and Stars and tests for Visibility filter
* Resolve "Merge Request Popover is not working on the To Do page"Sam Bigelow2019-04-241-0/+20
|
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-091-0/+38
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* [CE] Support multiple assignees for merge requestsosw-multi-assignees-merge-requestsOswaldo Ferreira2019-04-082-4/+4
| | | | | Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-051-38/+0
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-051-0/+38
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Consider array params on rendering MR list on dashboardIgor2019-04-041-0/+25
| | | | | This fixes the bug, when approver filter is provided, but dashboard asks to enter any filter
* Remove extra empty lines in activity specGeorge Tsiolis2019-03-071-2/+0
|