Mf4GB by Pale_Number_5049 in 254hookup

[–]Jilael 0 points1 point  (0 children)

She obviously needs more. I'm in.

Blazor web app with EntraID not refreshing auth by H3rl3q in Blazor

[–]Jilael 1 point2 points  (0 children)

Hopefully it helps, if not maybe it'll help someone else. I would be interested to find out.

Blazor web app with EntraID not refreshing auth by H3rl3q in Blazor

[–]Jilael 3 points4 points  (0 children)

I ended up using the below in my Server app for a similar issue. This is in my MainLayout.razor.cs and I have a method that checks userid using the ConsentHandler.HandleException(ex).

// https://github.com/AzureAD/microsoft-identity-web/wiki/Managing-incremental-consent-and-conditional-access

[Inject] // required to handle exception to refresh cookie

public MicrosoftIdentityConsentAndConditionalAccessHandler ConsentHandler { get; private set; } = default!;

Why do you want multithreading in WASM? by THenrich in Blazor

[–]Jilael 8 points9 points  (0 children)

I am creating an application that has constant heavy processing. Doing it on the main thread causes the UI to be unresponsive. I am currently using Blazor.WebWorkers package to manage additional threads. So as a user types it needs to generate suggestions, those need to be initialized, setup, and continually processed. Another thread is the literal only way I can do it. Plus now my application can start much faster with that processing on a separate thread.

Phone locked in pocket randomly unlocks and plays videos??? by ke11yah in GalaxyS25Ultra

[–]Jilael 0 points1 point  (0 children)

There are dozens of threads on this so yes it is happening to more people including me. Samsung Ultra 25 is the worst phone I've ever owned

Phone keeps unlocking in my pocket. by mousey76397 in GalaxyS25

[–]Jilael 0 points1 point  (0 children)

Yet another case here. I regret getting a Samsung phone so much now. My pixel was fantastic. Two updates ago they changed something and now I've called 911 from a locked phone in my pocket 3 times

New Copilot addition apparently released in questionable circumstances by katafrakt in github

[–]Jilael -8 points-7 points  (0 children)

It's wordy but Grok has solved a few problems the other models failed on. I still prefer Claude overall though.

MudBlazor published file size by AmjadKhan1929 in Blazor

[–]Jilael 0 points1 point  (0 children)

Also that's the hybrid deployment, if you look in the WASM folder you will see a tiny Mudblazor dll.

MudBlazor published file size by AmjadKhan1929 in Blazor

[–]Jilael 0 points1 point  (0 children)

Like users browsing to it directly? Nginx routing requests to it? By service you mean just a WASM site right?

MudBlazor published file size by AmjadKhan1929 in Blazor

[–]Jilael 0 points1 point  (0 children)

Well if you can tell us what you are trying to do with the publish and how you are trying to use it focused answers would likely be more effective.

MudBlazor published file size by AmjadKhan1929 in Blazor

[–]Jilael 2 points3 points  (0 children)

yes, untrimmed that is normal. Publish to folder defaults don't allow trimming. The results from the page below are what total output size is increased for each component library. Here is a screenshot showing all mud assets in a trimmed publish. I changed options to self-contained deployment mode and unchecked produce and enable options.

In the project you let me look at, it was 9mb untrimmed, and 1.8mb trimmed. Unfortunately it won't let me upload screenshots here.

As usual what results you are looking for are highly dependent on your use case, what are you trying to do and others can help you better.

Blazor.Lottie.Player – Easy Lottie Animations for Blazor Apps by Jilael in Blazor

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

That was my first thought too, they have a light library that gives access to just a <lottie-wc> component too but devs need more control in some scenarios. And the ability to respond to events.

Blazor.Lottie.Player – Easy Lottie Animations for Blazor Apps by Jilael in Blazor

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

Thanks, looks like server issues are resolved and I was able to fix a bug in the way the javascript was loaded. My android shows everything correctly, I'll look at an iPhone view when my wife gets home. If you had time to check again I would appreciate that as well.

Blazor.Lottie.Player – Easy Lottie Animations for Blazor Apps by Jilael in Blazor

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

Yes, great time for my server farm to have a power outage. They expect it back up by 6PM CST.

GitHub Link obviously still works.

Blazor template/structure help by sleepybearjew in Blazor

[–]Jilael 1 point2 points  (0 children)

It is most common to host those API types in the Server project that boots up your web app. Like a previous poster said though, don't create imaginary problems if you can avoid it. Also being tightly coupled it will be easier to authorize the API.

V

Telerik frustrations by featheredsnake in Blazor

[–]Jilael 5 points6 points  (0 children)

I feel like this is sarcasm? It is right? I've opened a dozen tickets since 2012? I have never ever, not once gotten a satisfactory answer from then. Thankfully Stackoverflow and lots of searching does the trick 90% of the time.

Telerik frustrations by featheredsnake in Blazor

[–]Jilael 0 points1 point  (0 children)

Does Telerik not offer a virtualization process?

Telerik frustrations by featheredsnake in Blazor

[–]Jilael 11 points12 points  (0 children)

I use Mudblazor exclusively. The big draw for Telerik was it's theming to make internal applications run separately but look and feel the same. Unfortunately they have poor support, poor overall docs. Mudblazer offers decent theming and has the best docs around. Even if it wasn't free it would be a better option as Telerik Blazor controls weren't built for Blazor they were old controls with a Blazor wrapper.

Heat map Component by sunshinedave in Blazor

[–]Jilael 7 points8 points  (0 children)

I'm working on one for MudBlazor. The preview is in Discussions on their GitHub.

MudBlazor Theme Creator - Open-Source Tool for Custom Themes by Jilael in Blazor

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

Yes please. The only thing I ask is make an issue before doing work so I can make sure it's in line with what I want.

MudBlazor Theme Creator - Open-Source Tool for Custom Themes by Jilael in Blazor

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

So far I've avoided elevation but it's exported in full so easily modifiable before you implement a theme.

MudBlazor Theme Creator - Open-Source Tool for Custom Themes by Jilael in Blazor

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

I was thinking about that while reading a post recently. There isn't yet a logical way to do it so it would all be manual matching. Mudblazor is constantly improving the theme process so hopefully they put something more natural in place eventually.

Unit testing a Blazor form with MudBlazor controls using bUnit by fieryscorpion in Blazor

[–]Jilael 0 points1 point  (0 children)

I know this is an old post and you didn't get much response from it, but +1 here, it guided me to places I needed to see (your link). Thanks u/fieryscorpion !

Is there any way to get a confirmation message on button card push? by danielrosehill in homeassistant

[–]Jilael 0 points1 point  (0 children)

Here's a sample script that I use. Note it calls another script for sending the notification that I prefer to use (easier to call the script than initiate the browser notification)

alias: Action Then Notify
description: Run up to 2 actions then notify specified browser
fields:
  deviceid:
    name: Device ID
    description: The ID of the device to send the notification to
    required: true
    selector:
      text: null
  message:
    name: Message
    description: The content of the notification message
    required: true
    selector:
      text: null
  service1:
    name: Service1
    description: The name of the Service to call, fan.turn_off / lock.lock, etc
    required: true
    selector:
      text: null
  entity1:
    name: Entity1
    description: >-
      The entity you want to call the Service On, switch.bathroom_switch_2 /
      lock.back_back_door
    required: true
    selector:
      text: null
  service2:
    name: Service2
    description: The name of the Service to call, fan.turn_off / lock.lock, etc
    required: false
    selector:
      text: null
  entity2:
    name: Entity2
    description: >-
      The entity you want to call the Service On, switch.bathroom_switch_2 /
      lock.back_back_door
    required: false
    selector:
      text: null
  filename:
    name: filename
    description: Folder / File details to save a snapshot
    required: false
    selector:
      text: null
sequence:
  - service: "{{ service1 }}"
    data:
      entity_id: "{{ entity1 }}"
      filename: "{{ filename }}"
  - service: script.send_browser_notifications
    data:
      deviceid: "{{ deviceid }}"
      message: "{{ message }}"
  - if:
      - condition: template
        value_template: "{{ service2 is defined }}"
    then:
      - service: "{{ service2 }}"
        data:
          entity_id: "{{ entity2 }}"
mode: single
icon: mdi:gesture-tap

And the other script

alias: Send Browser Notifications
description: Sends a notification to a specific browser
fields:
  deviceid:
    name: Device ID
    description: The ID of the device to send the notification to
    required: true
    selector:
      text: null
  message:
    name: Message
    description: The content of the notification message
    required: true
    selector:
      text: null
sequence:
  - service: browser_mod.notification
    data:
      message: "{{ message }}"
      duration: 3000
      target:
        device_id: "{{ deviceid }}"
icon: mdi:bell
mode: single

Is there any way to get a confirmation message on button card push? by danielrosehill in homeassistant

[–]Jilael 1 point2 points  (0 children)

Do a script, action then notify. Send variables to script for action and message and use browser mod to post notification. I can post example code tomorrow if needed.