GET /api/v1/bailey
So everyone can spread the good news...when it happens.
Need I say more? :D
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
ah yes!
Comment from lefnire in https://github.com/HabitRPG/habitrpg/issues/3442#issuecomment-42719005 : "the news is currently straight html. Our goal is to move it to the database (kinda CMS, so our mods can edit it too) and expose that via a route, but it's pretty low prio so unless a contrib tackles it, it won't be any time soon"
I think this could be done in two steps.
For 1.
The current structure is like this?
Message Header
[multiple:]
Am I missing something?
See also https://github.com/HabitRPG/habitrpg/commit/0b9c5271bb6d58c9b6c5035edebfa472c17f93e5#commitcomment-7525311 describing plans to move the Bailey New Stuff into the database, which would then make an API route easy to create.
Oh nice, I guess I kinda missed that mail...
Thanks!
Btw, do we really need the "news" from day 1?
I think for posterity we'll want to keep the old news entries. So after this feature is built, we'll probably need to do a data-entry sweep. @negue I hadn't thought of putting news in a static json file, that might be easier. We could have mods who want to edit the news simply submit PRs through Github's "edit file" web interface. It's a _tad_ technical (they have to fork, edit, PR) - but they never need to download / setup locally - kinda how translations are currently being handled.
Anyway, I see merit in both those options (CMS/db-entry vs static JSON)
In the Tavern, Lyranessie and janey_p were expressing interest in the Bailey News being translatable, which would add complications but seems like a good idea.
Iirc those translations go on.the wiki. Maybe it should be made more clear
On Sep 26, 2014 2:00 PM, "Alice Harris" [email protected] wrote:
In the Tavern, Lyranessie and janey_p were expressing interest in the
Bailey News being translatable, which would add complications but seems
like a good idea.—
Reply to this email directly or view it on GitHub
https://github.com/HabitRPG/habitrpg/issues/1338#issuecomment-57019710.
Duh, of course they do. I remember that page now. :) It needs some updates though: Whats new. I'll mention it in the Tavern now and I expect some wiki editors will jump on it.
I do think that the Bailey news pop-up has a standard message pointing to that page, however we probably want to first improve the processes of keeping it updated and translated.
So Bailey API with multilang support? or will the translated versions still inside the wiki?
We could also put a link inside the popup which has the target to the wiki page?
I think the interface label here is not needed. This is an API change. Also the priority should be medium considered that typos get a minor we want something more for this
This ticket is very outdated, so I'm closing it for now! It can always be reopened if needed.
Most helpful comment
I think the interface label here is not needed. This is an API change. Also the priority should be medium considered that typos get a minor we want something more for this