Skip to content

Conversation

@ktyagiapphelix2u
Copy link
Contributor

@ktyagiapphelix2u ktyagiapphelix2u commented Sep 16, 2025

Description

Adding MKTG_URLS Links In Configuration Files
Enabling ENABLE_MKTG_SITE: true

Related Ticket

BOMS 215

@ktyagiapphelix2u ktyagiapphelix2u marked this pull request as ready for review September 23, 2025 11:46
Copilot AI review requested due to automatic review settings September 23, 2025 11:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables the marketing site feature in both CMS and LMS configurations by setting ENABLE_MKTG_SITE to true and adding comprehensive marketing URL mappings.

  • Changes the default value of ENABLE_MKTG_SITE from false to true in all configuration files
  • Adds marketing URL mappings for common pages (about, contact, FAQ, courses, etc.)
  • Updates both Python and YAML configuration files to maintain consistency

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
py_configuration_files/lms.py Changes default ENABLE_MARKETING_SITE environment variable from False to True
configuration_files/lms.yml Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18000 root
configuration_files/cms.yml Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18010 root

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vgulati-apphelix vgulati-apphelix changed the title [DO NOT MERGE} feat: enable marketing site feature in CMS and LMS configurations [DO NOT MERGE] feat: enable marketing site feature in CMS and LMS configurations Sep 24, 2025
ENABLE_GRADE_DOWNLOADS: true
ENABLE_LTI_PROVIDER: false
ENABLE_MKTG_SITE: false
ENABLE_MKTG_SITE: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the FEATURES dict was going away and all of these were duplicated to top-level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have fixed them and make them to their correct place

Copilot AI review requested due to automatic review settings September 26, 2025 05:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- host: edx.devstack.elasticsearch
port: 9200
use_ssl: false
ENABLE_MKTG_SITE: true
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing whitespace after 'true'.

Suggested change
ENABLE_MKTG_SITE: true
ENABLE_MKTG_SITE: true

Copilot uses AI. Check for mistakes.
- host: edx.devstack.elasticsearch
port: 9200
use_ssl: false
ENABLE_MKTG_SITE: true
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing whitespace after 'true'.

Suggested change
ENABLE_MKTG_SITE: true
ENABLE_MKTG_SITE: true

Copilot uses AI. Check for mistakes.
MKTG_URLS: {}
MKTG_URL_LINK_MAP: {}
MKTG_URLS:
ROOT: http://localhost:18000
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ROOT URL uses port 18000, but this appears to be a hardcoded localhost development URL. Consider using an environment variable or configuration parameter to make this configurable across different environments.

Suggested change
ROOT: http://localhost:18000
ROOT: ${MKTG_ROOT_URL:http://localhost:18000}

Copilot uses AI. Check for mistakes.
@ktyagiapphelix2u ktyagiapphelix2u changed the title [DO NOT MERGE] feat: enable marketing site feature in CMS and LMS configurations feat: enable marketing site feature in CMS and LMS configurations Oct 27, 2025
@ktyagiapphelix2u ktyagiapphelix2u merged commit 485d883 into master Oct 27, 2025
19 checks passed
@ktyagiapphelix2u ktyagiapphelix2u deleted the ktyagi/BOMS215-2 branch October 27, 2025 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants