BE deep links to dashboard for cycle analytics
What does this MR do?
Related FE MR: !23493 (merged)
Adds the necessary backend changes to enable deep linking to cycle analytics. The parameters are then passed to the FE via
a data
attribute.
This provides deep links for:
-
group_id
: the full path name of the group we are linking to, ieflightjs
,gitlab-org
-
created_before
,created_after
: dates to filter the date range -
project_ids
: an array of project ids, for the group
Other changes include:
- Providing default values for
created_before
andcreated_after
if they are not set - Updated specs to reflect the new parameters
- Removes the need for nesting parameters under
cycle_analytics
, ie
// Before
.../analytics/cycle_analytics??cycle_analytics['created_before']=2020-01-01
// After
.../analytics/cycle_analytics?created_before=2020-01-01
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Related to #32426 (closed)
Edited by Ezekiel Kigbo