My goal is to create a setting interface for the entire ModalAdmin. I was just thinking about it more and I think I came up with a solution. I think I will just create a new DataObject for storing settings. Make it a singleton somehow. And then relate it to the records handled by that modalAdmin using a has_one relationship.
Do you happen to know how I can create a singleton has_one relationship so that all the records point to the same settings record?
You basically can't :>
Even SiteConfig can have more than one.
asdfjaba OMG I hate this new slack auto preview formatting rubbish
Using /feedback through a paid channel might resonate more with them. It's worked for me before!
Perspective is a funny thing... This new feature you guys all hate is the thing I have really wished slack could do ever since I started using it!!! 🤣 hmmm.. I seem to remember a similar divide in opinion when they changed their logo! 🤣
I think it's a nice idea, but I think all new features should have a choice. An opt-in or opt-out would be appreciated
I expect it has a lot to do with the "type" of user someone is. Tech experts like all of you are probably fine with minimalist and could easily "see" the preview in their mind already, whereas the average user like me really struggles with that! & if slack wants to become mainstream (which judging by the number of black cabs I have seen painted white with the slack logo is their current aim) then they need to cater for the average person. (Although they could have a way that the experts could turn it off if it annoys them).
@Hels it's not that I hate the feature of wysiwyg, it's that I hate every single implementation of it. E.g. when editing code with single backticks, it now instantly transforms into a code block. Upon closing that block it transfers back to normal text. BUT - if I try to edit that code block, any text appended to the front is "normal", and any text after the end is "inside" the code block. It's these usability nightmares that I hate. I was really hoping that the disable button would turn it all off altogether, but all it really did was hide the toolbar with the buttons on it.
so after all that, I'm still mad 😠
oh dear. Maybe have a nice cup of tea? or a G&T!!!!
G&tea sounds interesting 🤔
I guess it would pair well with green. Not so sure about black teas.
there is a bar near here that does cocktails in old fashioned china tea cups with saucers. there is a gin with earl grey tea one
That combo was actually my first thought...
Not a huge gin drinker so wasn't really sure my memory of the flavour was correct, but I'd certainly give it a go :P
I'm particularly fond of the ol' Geordie without the gin tbh.
That might not be an international cocktail..... I don't know it. I used to hate gin, then I discovered good tonic & now it's my go to drink!
What I dislike as well, is how inconsistent it is. Sometimes hello works, other times it does nothing, and not even format in chat
Hmmmm you're right. It doesn't work on my phone only on computer 😢 that's upsetting
You could use DataObject::validate to enforce that there only ever be one though @Admonish - it's not quite the same thing and would perform a DB read before any write (should be low impact though).
From there you can return/throw (I forget which) a validation exception
Which would rely the message back to the user nicely
Perhaps then it would make sense to use a method instead