F
Filamentβ€’3w ago
Jordy

Conditionally hide table summary

I have a report page, where I have a few summaries I summarize the records based on a relation of their product.. mostly custom summarizers, they don't really make sense on the full table tho as there is no 1 single product and relation to query or show Added screen to illustrate
No description
16 Replies
Jordy
Jordyβ€’3w ago
was hoping I could just call ->visible() but summaries dont have that available how do I go about this? shamelessly bumping this πŸ™
krekas
krekasβ€’3w ago
you make a pr to the core with such feature as now there seems to be no checks other then if summary is used
toeknee
toekneeβ€’3w ago
Jordy submit that PR already boi
Jordy
Jordyβ€’3w ago
if it's going to be merged im down.. kek ye ye lemme check source
toeknee
toekneeβ€’3w ago
Done yet?
Jordy
Jordyβ€’3w ago
πŸ˜‚ in the process of checking if its just a copy pasta of the CanBeHidden trait I fear its not :spongebobCry: :KekwCry:
toeknee
toekneeβ€’3w ago
Can't beleive it's still not done
Jordy
Jordyβ€’3w ago
I actually have something working πŸ™ not very happy with 4 ifs tho πŸ˜‚ im sure Dan will judge
toeknee
toekneeβ€’3w ago
Dan will tear you a new.......
krekas
krekasβ€’3w ago
no docs update?
Jordy
Jordyβ€’3w ago
imo not really required but will wait what dan thinks about that.. if you need the feature i think its safe to say you're gonna attempt to call ->hidden()
toeknee
toekneeβ€’3w ago
I don't personallly... just felt like giving you a hard time πŸ˜›
Jordy
Jordyβ€’3w ago
πŸ˜‚ your doing a great job at that but I suppose i've helped myself kek
krekas
krekasβ€’3w ago
If it's a feature it should be documented lol
Jordy
Jordyβ€’3w ago
its a bug then :trollface: