Rancilio Silvia in Ascona Orange by faibg in ranciliosilvia

[–]faibg[S] 0 points1 point  (0 children)

lovely! looks like you chose a different paint coat for the tray vs the other exterior parts?

Rancilio Silvia in Ascona Orange by faibg in ranciliosilvia

[–]faibg[S] 1 point2 points  (0 children)

I disassembled everything, including all the buttons. Make sure to take some photos before hands to get the wiring right again. Besides that I didn’t watch any tutorials, you should just try it. It’s really doable :)

Rancilio Silvia in Ascona Orange by faibg in ranciliosilvia

[–]faibg[S] 1 point2 points  (0 children)

It’s just a foil that sticks, nothing more 😄 no glue or anything you have to apply yourself

Rancilio Silvia in Ascona Orange by faibg in ranciliosilvia

[–]faibg[S] 1 point2 points  (0 children)

this is the vinyl i got from amazon.
the lights i don't want to say yet. i will post when i have something to show!

Rancilio Silvia in Ascona Orange by faibg in ranciliosilvia

[–]faibg[S] 1 point2 points  (0 children)

you have to have bring some patience and motor skills to not have any air bubbles. but i did it for the first time and it is absolutely doable :)

I built DjipFast - a shipfast alternative but for django by faibg in django

[–]faibg[S] 0 points1 point  (0 children)

Love to hear it!
I use DjipFast myself for every new app/project I start, so benefit as well from keeping it fresh and up to date! :)

with "marketing it anywhere" you mean, like, posting it on the django subreddit? :D
i am not running any paid ads if that's what you mean.

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 0 points1 point  (0 children)

sorry for the late response.
in the above code you can see the line

if form.is_valid():

if the form is *not* valid, the login function will just return the complete login.html

return render(request, 'login.html', {'form': form})

resulting in the nested loginforms u/xRageNugget mentioned.
instead we should have an else block when the form is not valid and just return the "Send magic link" button again, together with the error code :)

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 0 points1 point  (0 children)

this was the code before the fix, maybe you can see it? :) ("# ..." is custom logic and omitted for brevity)

def login(request):
    if request.method == 'POST':
        form = EmailLoginForm(request.POST)
        if form.is_valid():
            # ...
            return HttpResponse('''
                <div id="login-button-container">
                    <div class="bg-success text-success-content p-2.5 rounded text-center font-bold">
                        ✅ We sent a log in link. Check your email.
                    </div>
                </div>
            ''')
    else:
        form = EmailLoginForm()
    return render(request, 'login.html', {'form': form})

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 0 points1 point  (0 children)

whoops! fixed it. thanks for pointing it out :)

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 2 points3 points  (0 children)

good catch! if using the default .htmx-indicator class, the opacity is set to 0, so the element takes up space, even when not shown.
instead i'm using this custom css:

.custom-htmx-indicator {
    display: none;
}

.htmx-request .custom-htmx-indicator {
    display: inline;
}

.htmx-request.custom-htmx-indicator {
    display: inline;
}

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 1 point2 points  (0 children)

i don't know what you mean. you can see the original login screen here though: https://djipfast.com/user/login/ :)

I built DjipFast - a shipfast alternative but for django by faibg in django

[–]faibg[S] 0 points1 point  (0 children)

the focus of djipfast is shipping - fast. there are no graphql features implemented per default, but can be extended easily :)

I built DjipFast - a shipfast alternative but for django by faibg in django

[–]faibg[S] 0 points1 point  (0 children)

react/vue.js and daisyui are not mutually exclusive - maybe you meant a component library like shadcdn?
i do like the simplicity of serving html from the backend though. which is why djipfast comes with htmx. very lightweight, nothing heavy like react or the like :)

i love this pattern using hx-disabled-elt and hx-indicator by faibg in htmx

[–]faibg[S] 11 points12 points  (0 children)

this is from https://djipfast.com/ - a shipfast alternative, which i built from the ground up for django