cms icon indicating copy to clipboard operation
cms copied to clipboard

Short announcement in scoreboard

Open stefano-maggiolo opened this issue 8 years ago • 4 comments

The usecase is to communicate something like "Results are official / not official yet".

  • Need to add a string somewhere in the UI.
  • Ability to set it in AWS
  • ProxyService needs to send it to RWS.
  • Plus points to save it in the DB (it's not superuseful, apart if you need to clear the data in RWS).

stefano-maggiolo avatar Aug 29 '16 15:08 stefano-maggiolo

I think the main design decision here is how persistent do we want these messages to be? This depends on which types of messages we expect to be sent via this system. That means, should they be stored in the main DB? And in RWS's data? Should they simply be stored in memory and lost in case of restart?

Also, messages should probably have an "expiration", either set by default (5 minutes?), or left to be decided by the user (unset meaning persistent?).

Unless I've totally misunderstood the intention here and the idea was kinda "pop-up" messages that remain until the user closes them and are then lost forever.

lw avatar Sep 01 '16 10:09 lw

You've totally misunderstood the intention - no popup, a fixed message in some footer of the ranking that is always there.

stefano-maggiolo avatar Sep 01 '16 10:09 stefano-maggiolo

Therefore they have to be stored, both by CMS and by RWS. Right?

lw avatar Sep 01 '16 10:09 lw

Definitely by RWS, not necessarily by CMS (as AWS could act as a "one time setter" for the message). I agree, it'd be nice to have something in the DB so we can repost it if we delete RWS's data.

stefano-maggiolo avatar Sep 01 '16 10:09 stefano-maggiolo