Giter Club home page Giter Club logo

horizon's Issues

htmx based gui

nice system architecture with Cue and NATS. Kind of perfect light system

htmx or htmz based GUI would be nice. If you have a Issue / Epic for it I can take a shot at it.

htmz is an iframe hack: https://github.com/Kalabasa/htmz

Improve graceful shutdown of controller reconcile loop

Right now the reconcile loop happens in a Go routine, and there is nothing to block and wait for it to finish.

Reconcile loops do important stuff, so we should sit and wait for them to finish.

Implement something like a sync.WaitGroup in the ctlr.Stop() method, or similar.

NATS Startup errors.

Hey @jlarfors

Just had some more time to spend on this.

Getting stuck with NATS startup. Its trying to startup an embedded NATS Jetstream Server by default ?

I was wanting to point it to a NATS Cluster to try out some things.

I am latest main version btw...

horizon % go run ./cmd/ci/ci.go -generate
๐Ÿ“ generating files
2024/06/29 13:41:43 INFO exec cmd="/opt/homebrew/opt/go/libexec/bin/go run -mod=readonly github.com/a-h/templ/cmd/templ generate"
Processing path: /Users/apple/workspace/go/src/github.com/gedw99/horizon
Generating production code: /Users/apple/workspace/go/src/github.com/gedw99/horizon
(โœ“) Generated code for "/Users/apple/workspace/go/src/github.com/gedw99/horizon/pkg/hzctl/login/login.templ" in 3.007208ms
(โœ“) Generated code for "/Users/apple/workspace/go/src/github.com/gedw99/horizon/examples/greetings/portal.templ" in 6.532625ms
(โœ“) Generated code for "/Users/apple/workspace/go/src/github.com/gedw99/horizon/pkg/gateway/icons.templ" in 4.710875ms
(โœ“) Generated code for "/Users/apple/workspace/go/src/github.com/gedw99/horizon/pkg/gateway/gateway.templ" in 5.247709ms
(โœ“) Generated code for "/Users/apple/workspace/go/src/github.com/gedw99/horizon/pkg/gateway/accounts.templ" in 7.058834ms
(โœ“) Generated code for 5 templates with 0 errors in 9.832166ms
2024/06/29 13:41:44 INFO done cmd="/opt/homebrew/opt/go/libexec/bin/go run -mod=readonly github.com/a-h/templ/cmd/templ generate"
โœ… content generated



apple@192 horizon % go run ./cmd/horizon/horizon.go
NATS DIR:  /var/folders/pj/n3sth0z55md7lydld97r8mmh0000gn/T/horizon
horizon.go:15: ERROR horizon server failed error="starting server: starting nats server: server not ready after 4s"
exit status 1

# Wish there was more info for Help :)
go run ./cmd/horizon/horizon.go -h 

Implement ability to get roles for a user from `auth`

If the auth package supported a Roles(...) method to get the list of roles for a user (e.g. based on groups and role bindings) this could be attached to the UserInfo and used by a web UI to hide/show elements, for example.

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.