This project is archived. Its data is read-only. This project is read-only.
Duration for `type: stacked-bar` on Insight pages is not adjustable by UI
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "type::bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=type::bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary <!-- Summarize the bug encountered concisely. --> Not like `type: bar` and `type: line`, durations for `type: stacked-bar` on Insight pages are not adjustable by UI. An Ultimate customer reported this: https://gitlab.my.salesforce.com/0014M00001wX5OM (Internal only) ### Steps to reproduce <!-- Describe how one can reproduce the issue - this is very important. Please use an ordered list. --> 1. Put the `.gitlab/insights.yml` in a GitLab project and then visit "Analytics > Insights" 1. Try to drag :pig_nose: for "Issues closed per month - Stacked Bar" ```yaml issues: title: Issue Dashboard charts: - title: Issues closed per month - Bar type: bar query: issuable_type: issue issuable_state: closed group_by: month - title: Issues closed per month - Line type: line query: issuable_type: issue issuable_state: closed group_by: month collection_labels: - P::1 - P::2 - P::3 - P::4 - title: Issues closed per month - Stacked Bar type: stacked-bar query: issuable_type: issue issuable_state: closed group_by: month collection_labels: - P::1 - P::2 - P::3 - P::4 ``` ### Example Project <!-- If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report. If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version. --> ### What is the current *bug* behavior? <!-- Describe what actually happens. --> :pig_nose: can't be draggable. ### What is the expected *correct* behavior? <!-- Describe what you should see instead. --> :pig_nose: should be draggable. ### Relevant logs and/or screenshots <!-- Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise. --> ![image](/uploads/bf547fa75ff703e90664560ba6402c5e/image.png) ### Output of checks <!-- If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com --> #### Results of GitLab environment info <!-- Input any relevant GitLab environment information if needed. --> GitLab.com (GitLab Enterprise Edition 15.0.0-pre gitlab@a81a1e8bf2e8d71bf20cd23b22d94d4225ea4310) <details> <summary>Expand for output related to GitLab environment info</summary> <pre> (For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`) </pre> </details> #### Results of GitLab application Check <!-- Input any relevant GitLab application check information if needed. --> <details> <summary>Expand for output related to the GitLab application check</summary> <pre> (For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:check SANITIZE=true`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true`) (we will only investigate if the tests are passing) </pre> </details> ### Possible fixes <!-- If you can, link to the line of code that might be responsible for the problem. -->
issue