Steff
Steff
FFilament
Created by Steff on 11/2/2024 in #❓┊help
Action works fast but modal window hangs?
I think i found it:
'debug' => FALSE,
'debug' => FALSE,
8 replies
FFilament
Created by Steff on 11/2/2024 in #❓┊help
Action works fast but modal window hangs?
Yes, if i remove everything after, the modal remains open (also without modal, the action link hangs). it hangs after this response within the myServiceClass:
$response = $client->request('GET', $requestBase . $receive_slug, [
'query' => $receive_params,
'allow_redirects' => TRUE,
'timeout' => 10,
'verify' => FALSE,
'connect_timeout' => 5,
'debug' => TRUE,
'headers' => [
'User-Agent: curl / 7.81.0'
]
]);
$response = $client->request('GET', $requestBase . $receive_slug, [
'query' => $receive_params,
'allow_redirects' => TRUE,
'timeout' => 10,
'verify' => FALSE,
'connect_timeout' => 5,
'debug' => TRUE,
'headers' => [
'User-Agent: curl / 7.81.0'
]
]);
But the service is ready.
8 replies
FFilament
Created by Steff on 11/2/2024 in #❓┊help
Action works fast but modal window hangs?
I have tried various solutions (cancel modal, redirect, refresh etc.) but nothing works. the modal just hangs and the job was actually finished quickly. is it better to do an asynchronous or background job?
8 replies
FFilament
Created by Steff on 10/21/2024 in #❓┊help
table row action to run a job?
Ok, i try it. Thx.
11 replies
FFilament
Created by Steff on 10/21/2024 in #❓┊help
table row action to run a job?
Yes, currently a Command. And yes i want it to extract. i don't know, how to start the job or this class from the action and return a message. is there a rudimentary example? PS: The job searches the relevant rows of the client (multitenancy) and creates or updates relationships between the data records. this takes a few seconds.
11 replies
FFilament
Created by Steff on 10/21/2024 in #❓┊help
table row action to run a job?
Hm, i think sync.
11 replies
FFilament
Created by Steff on 10/10/2024 in #❓┊help
Saas with filament
Sorry, my question was not exact. I mean such a Saas kit or boilerplate to manage subscription, payment, invoices. usually as (commercial) cloud solution or one time payment. They are probably the same as Laravel. I am looking for the most suitable one for me. I have not yet found a tutorial in context filament.My requirements are rather basic. the usual 3 subscription options, which then have to be taken into account in the application within laravel/filament. What is your opinion? here are a few examples: https://www.getscrapbook.com/boilerplates/laravel
8 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
ok, i will look.
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
Ok, looks good. Got it running. but there are still a few questions left. I first created the EditProfile page (https://laraveldaily.com/post/filament-custom-edit-profile-page-multiple-forms-full-design) because I thought it would be helpful. In the end I had two profile pages edit-profile and my-profile. But with slug: 'edit-profile' it is only one. the ->authGuard('...') is also not needed. ->enableSanctumTokens() leads to class “Laravel\Sanctum\Sanctum” not found. But it works without. Should I install this? Can Breezy also use email code as 2FA?
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
Thanks for your work. I have also a fresh project and i am looking for a 2fa. I tried breezy, but have failed. But 2fa from Rawilk works for me. This is not anymore listet. Evereybody reccomend breezy. Maybe i trie it again. But at the end i am looking for an 2fa with email code (only), similar like github. Can breezy email code 2fa? Or can you recommend another (less complicated) plugin? It is also important to me that users can switch it on and off for themselves.
16 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
That was my thought as well, but same in another fresh browser. maybe a cache topic in laravel?
16 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
Yes, it logs me in straight away without ->enforceTwoFactorSetup() and it brings me to enable if the force flag is active.
16 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
Yes, there is no request for auth code. I am landing on enable or disable page and everey time got to dashboard. I didnt make anything with EventServiceProvider (last part in doc).
16 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
You mean that
use TwoFactorAuthenticatable;
use TwoFactorAuthenticatable;
Yes.
16 replies
FFilament
Created by Steff on 7/3/2024 in #❓┊help
Is it possible to handle a description from a related table?
Yes.
7 replies
FFilament
Created by Steff on 7/3/2024 in #❓┊help
Is it possible to handle a description from a related table?
This snippet ist in filament resource Table_1. The description should be come from Table_2. the error is a) phpstorm make blanks between table_2 . field and this can not work. If i try so, Undefined constant "App\Filament\Resources\name" I guess the syntax isnt right.
7 replies
FFilament
Created by Steff on 6/29/2024 in #❓┊help
Specific partly output of a text column.I know the ->limit(50) method.I need a
Ok, so i dont need the . '' ´´´ Tables\Columns\TextColumn::make('token') ->formatStateUsing(function (Flexquery $record): string { $len = str()->length($record->token); return str()->mask($record->token, '*', -$len + 1, $len - 3); }), ´´
18 replies
FFilament
Created by Steff on 6/29/2024 in #❓┊help
Specific partly output of a text column.I know the ->limit(50) method.I need a
Ok why. Because a string?
18 replies
FFilament
Created by Steff on 6/29/2024 in #❓┊help
Specific partly output of a text column.I know the ->limit(50) method.I need a
I got it. perhaps too complicated? ´´´´ Tables\Columns\TextColumn::make('token') ->state(function (Flexquery $record): string { $len = str()->length($record->token); return str()->mask($record->token . '', '*', -$len + 1, $len - 3); }), ´´´´ Th einput is A123456789 and the output is A**89. Thats what i want.
18 replies
FFilament
Created by Steff on 6/29/2024 in #❓┊help
Specific partly output of a text column.I know the ->limit(50) method.I need a
Not yet. I have to dive deeper in that. the type of coding is new to me. thanks.
18 replies