CustomPage for related model
I just started out experiemented with Filament, and I'm not sure if I'm using it wrong.
Let me explain:
I have a model named
My idea was to create a custom page that takes the ID of a tenancy and then from that find the conversation and load in all messages. This were to be served at
Be aware that it is a multi-tenant project, however
Let me explain:
I have a model named
Tenancy(Don't mistake this for multi-tenancy). Each Tenancy has a Conversation, as in a chat with multiple messages from different users. As you might expect conversation doesn't really fit into the typical "CRUD" layout. I obviously want a list of messages as well as a input field on the same page. My idea was to create a custom page that takes the ID of a tenancy and then from that find the conversation and load in all messages. This were to be served at
/app/{tenant}/tenancies/{record}/conversation. Be aware that it is a multi-tenant project, however
Tenancy model has nothing to do with that.
