GithubHelp home page GithubHelp logo

Comments (11)

routerino avatar routerino commented on June 3, 2024 1

still got requests to /api/v1/machine from UI using latest docker image of headscale-ui. any updates on issue?

Believe it or not, I'm not in the habit of creating a release that would break the production version of headscale to accommodate the alpha version.

All the current pull requests do not dynamically detect or account for both versions. I'll accept a pull request that does so, or make up one myself when it hits beta.

from headscale-ui.

routerino avatar routerino commented on June 3, 2024

Thanks for the heads up, I don't think that affects the UI as it's always been referring to machines as devices :).

Unless it affects the API at least. Any changes to the API will meet swift and decisive swearing updates to the UI.

from headscale-ui.

juanfont avatar juanfont commented on June 3, 2024

from headscale-ui.

sponnusa avatar sponnusa commented on June 3, 2024

Thanks @juanfont.

I've updated the API endpoints and it is working fine. Once the changes are verified, the pull request should be merged into the master.

from headscale-ui.

98h398hrpohpoai avatar 98h398hrpohpoai commented on June 3, 2024

Noting for anyone that might encounter this that it's still broken in the current release file from January.
The api can be manually corrected by replacing "machine" with "node" in ./web/_app/immutable/chunks/apiFunctions-60f89b05.js

from headscale-ui.

jspin991513 avatar jspin991513 commented on June 3, 2024

Unfortunately that's not the only file. Performing a grep turned up the following:
./_app/immutable/chunks/apiFunctions-60f89b05.js
./_app/immutable/components/pages/devices.html/_page.svelte-ad198750.js

It appears that there is some old logic for the /api/v1/routes path that needs some work.
I'm still looking into it....

from headscale-ui.

jspin991513 avatar jspin991513 commented on June 3, 2024

Ok, it appears that /api/v1/node/1/routes no longer works.
Is this a bug?

from headscale-ui.

routerino avatar routerino commented on June 3, 2024

If you're trying to modify post-compiled svelte code you're going to have a bad time.

If you want to test headscale ui with the alpha headscale release, you will need to check out this branch and compile a release. Once the headscale release is in beta or RC I will start compiling beta releases.

from headscale-ui.

jspin991513 avatar jspin991513 commented on June 3, 2024

If you're trying to modify post-compiled svelte code you're going to have a bad time.

If you want to test headscale ui with the alpha headscale release, you will need to check out this branch and compile a release. Once the headscale release is in beta or RC I will start compiling beta releases.

Thanks @routerino. It helps to do things right from the beginning.

from headscale-ui.

Hi-Timofey avatar Hi-Timofey commented on June 3, 2024

still got requests to /api/v1/machine from UI using latest docker image of headscale-ui. any updates on issue?

from headscale-ui.

Hi-Timofey avatar Hi-Timofey commented on June 3, 2024

still got requests to /api/v1/machine from UI using latest docker image of headscale-ui. any updates on issue?

Believe it or not, I'm not in the habit of creating a release that would break the production version of headscale to accommodate the alpha version.

All the current pull requests do not dynamically detect or account for both versions. I'll accept a pull request that does so, or make up one myself when it hits beta.

Had no idea if this beta or alpha, sorry. Docker hub just show version 23, but not the "alpha" mark. Will be w8ing for update.

from headscale-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.