topcoder-platform / forums

0 stars 0 forks source link

[$300] Update challenge forum processor to support self-service flag #663

Closed jmgasper closed 2 years ago

jmgasper commented 2 years ago

@atelomycterus - The challenge forum processor needs an update to better handle separate templates for self-service challenges

Expected

For a self-service challenge, we are going to limit the categories and threads available

Screen_Shot_2022-01-21_at_10_29_22_am

Implementation

To determine if a challenge is self-service, we should be able to see a new boolean flag on the challenge data:

challenge.legacy.selfService

I'm hoping we can define a new template object in the template.json file for only self-service challenges to use, which will allow us to modify the template as Topcoder requests, thanks.

atelomycterus commented 2 years ago

@jmgasper Please apply PRs: https://github.com/topcoder-platform/challenge-forum-processor/pull/71 https://github.com/topcoder-platform/forums-groups-plugin/pull/101 https://github.com/topcoder-platform/forums-plugins/pull/111

Example for 'Development Forums': image

if selfService is true then a group page for a Development track looks like image

Let me know if you have any questions.

Thanks!

jmgasper commented 2 years ago

Challenge https://www.topcoder.com/challenges/8e2cafb8-ff2a-40e4-bd36-a517e8d2cb8e has been created for this ticket.

This is an automated message for ghostar via Topcoder X

jmgasper commented 2 years ago

Challenge https://www.topcoder.com/challenges/8e2cafb8-ff2a-40e4-bd36-a517e8d2cb8e has been assigned to obog.

This is an automated message for ghostar via Topcoder X

jmgasper commented 2 years ago

@atelomycterus - One issue here:

We need a way to change the description separately for self-service as well. We don't want the link to be shown to the client:

                "description": "Welcome to [${ challenge.name }](<%- challenge.url %>) Forum.",

For self-service, we want just:

                "description": "Welcome to ${ challenge.name } Forum.",
atelomycterus commented 2 years ago

@jmgasper Please apply PR-https://github.com/topcoder-platform/challenge-forum-processor/pull/72/. Thanks!

jmgasper commented 2 years ago

Payment task has been updated: https://www.topcoder.com/challenges/8e2cafb8-ff2a-40e4-bd36-a517e8d2cb8e Payments Complete Winner: obog Copilot: ghostar Challenge 8e2cafb8-ff2a-40e4-bd36-a517e8d2cb8e has been paid and closed.

This is an automated message for ghostar via Topcoder X