1. 27 2月, 2019 1 次提交
    • S
      Fix pagination and duplicate requests in environments page · 7765e6ec
      Stan Hu 提交于
      This commit fixes two problems:
      
      1. When a user clicked on another page, the app would fetch the new page
      data but never update because the request and response parameters failed
      to match the isEqual check. This was happening because the JSON response
      omitted the `nested` attribute, so there was a comparison with a `null`
      value.  We fix this by scrubbing undefined values before doing the
      comparison.
      
      2. There were duplicate requests made for the environments page because
      the success handler of fetchPipelines() would cause the polling
      component to make another XHR request.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58191
      7765e6ec
  2. 22 1月, 2019 1 次提交
    • S
      Support flat response for envs index route · db054bc1
      syasonik 提交于
      To support environment folders in the UI on the Environments List
      page, the environments index route previously returned one environment
      per folder, excluding those other than the latest deploy. However, the
      environtments dropdown on the metrics dashboard requires that any
      environment be selectable.
      
      To accommodate both use cases, support an optional 'nested' parameter
      in the index route to return either a flat, complete response or a
      nested response based on the use case in question. The new default
      response structure is the flat response.
      db054bc1
  3. 17 10月, 2018 1 次提交
  4. 12 9月, 2018 1 次提交
  5. 10 7月, 2018 1 次提交
  6. 17 5月, 2018 1 次提交
  7. 15 5月, 2018 1 次提交
  8. 10 1月, 2018 1 次提交
  9. 23 11月, 2017 1 次提交
  10. 12 7月, 2017 1 次提交
  11. 23 5月, 2017 1 次提交
  12. 15 5月, 2017 1 次提交