Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
But your right, for a robust solution I would have to add a onBeforeWrite() check
As for the interface, I would have to update the modelAdmin functionality to make it remove the Gridfield for any dataobject with the word "Settings" in it
And in that method I would always get the first record (with ->first())
Perhaps then it would make sense to use a method instead
Which would rely the message back to the user nicely
From there you can return/throw (I forget which) a validation exception
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).
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