Testing badge sql query

badge

(PJH) #1

What happened to the ‘test badge query’ that used to be on the badge configuration screen?


What cool badge queries have you come up with?
(PJH) #2

Ok - ignore me - it doesn’t appear until you’ve

  • saved the badge
  • refreshed the page.

(PJH) #3

The other SQL query options also are missing until a refresh happens.


(Sam Saffron) #4

@riking is this workflow a bug.


(Kane York) #5

Yeah, it’s a pretty annoying bug when you’re trying to set up a new badge. The client isn’t setting some conditional that the server has as default true.


(Jay Pfaffman) #6

Has this gotten worse? I’ve saved and reloaded repeatedly and can’t see a ‘test badge query’ anywhere.

(And, would it have been better to start a new topic for this?)


(Kane York) #7

Yes, it has gotten worse… and I’ve fixed it now.

https://github.com/discourse/discourse/pull/3694


(Jay Pfaffman) #8

Awesome! Will this get pulled into the beta stream sometime soon?


(Sam Saffron) #9

Its merged now just tested and it works :city_sunrise:


(Felix Freiberger) #10

Getting this into beta will likely take a week or two.


(OG) #11

Is it just me or does anybody have trouble find this “Test badge SQL” feature?

When adding new badge I don’t see any field for SQL neither…


(Rafael dos Santos Silva) #12