This project is mirrored from https://gitee.com/mirrors_kinvolk/headlamp.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 23 Sep, 2020 3 commits
  2. 21 Sep, 2020 3 commits
  3. 18 Sep, 2020 16 commits
  4. 17 Sep, 2020 1 commit
  5. 15 Sep, 2020 6 commits
  6. 14 Sep, 2020 3 commits
  7. 11 Sep, 2020 8 commits
    • Joaquim Rocha's avatar
      frontend: Reset docs when the editor contents change · 54cd15f7
      Joaquim Rocha authored
      The docs' view is supposed to react to the contents of the editor. So
      when the editor has a certain object kind and api version, the docs
      should show the documentation for that object.
      However, if there was an error shown (because e.g. the docs were not
      found, or the contents were empty) then even if the contents were
      corrected by the user, the error would remain.
      
      To fix the mentioned issue, this patch resets the docs' error info
      whenever the contents are changed.
      54cd15f7
    • Joaquim Rocha's avatar
      frontend: Fix width/spacing issues when choosing more than 2 clusters · bd3269c1
      Joaquim Rocha authored
      When there were more than 2 clusters to be chosen, they were not
      fitting correctly in the chooser dialog horizontally and thus would look
      very unbalanced visually. This patch fixes that by allowing the grid to
      arrange the items automatically.
      bd3269c1
    • Joaquim Rocha's avatar
      frontend: Fix showing the full project logo's in the chooser dialog · 2c22180c
      Joaquim Rocha authored
      The chooser dialog has the project logo on top but due to its styling
      rules it was not showing the full width of the it depending on the
      aspect ration of the logo used (i.e. the width would be cut out).
      
      This patch increases the logo height and fixes the mentioned bug by
      setting the width to 100%.
      2c22180c
    • Joaquim Rocha's avatar
      frontend: Notify the user when the cluster version changes · e45a6c07
      Joaquim Rocha authored
      The cluster may be upgraded or downgraded while the user is using it,
      but that change is silent because we only fetch the version once.
      
      These changes make the version be fetched every minute, and if it
      changes then a snackbar notification is shown informing the user about
      that.
      e45a6c07
    • Joaquim Rocha's avatar
      Merge pull request #49 from kinvolk/fix-create-route-url · ba39cbb9
      Joaquim Rocha authored
      Fix the createRouteUrl method
      ba39cbb9
    • Ashu Ghildiyal's avatar
      frontend: Handle no param edge case for generating route path · ea745f05
      Ashu Ghildiyal authored
      We loop over the routes and render them accordingly. If a route requires
      authentication and we don't have the required token we should be
      redirected to the choser page but this was failing because while looping
      and generating the route url if we pass an empty param with the cluster
      url the generatePath(which is a helper from react-router-dom) will fail
      because we are passing an empty param to it, In our usecase the empty
      param actually means that its a request for the '/' choser page and not
      the '/' cluster page. Thus this patch handles this usecase and returns
      the choser route url in case of empty param.
      ea745f05
    • Joaquim Rocha's avatar
      Merge pull request #50 from kinvolk/fix-app-build-bug · d1c72598
      Joaquim Rocha authored
       Fix desktop and web app build config
      d1c72598
    • Ashu Ghildiyal's avatar
      frontend: Don't use current path as the homepage · eb2043d7
      Ashu Ghildiyal authored
      We don't want to build the web app with a relative path which we are
      currently doing by specifying the homepage property in package.json
      for frontend dir. Instead we only need the relative path build for the
      desktop app thus while building the desktop app we specify manually the
      host path with the PUBLIC_URL env var.
      eb2043d7