-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesttodo
Description
📝 To Do: Redirect on Click of Control Card
Description:
- Implement functionality so that when a user clicks on a control card, they are redirected to the specific page related to that card.
Steps:
- Create the page that the control card will redirect to.
- Inside the
Contentfolder, create anincludefile for the new page.- The
includefile should follow the naming convention:TWS-(FILE NAME FIRST LETTERS IN CAPITAL). - Example: If the page is for "Dashboard", the include file name should be
TWS-D.
- The
- Use the include in the newly created page.
- Add an event listener for the click action on each control card.
- Ensure each card has a unique URL associated with it (can be dynamically set or hardcoded).
- Use JavaScript to handle the redirection logic when the user clicks on a control card.
- Test to ensure the redirection works as expected.
Additional Notes:
- Ensure the URL for the redirection is dynamically fetched or passed to the event listener based on the control card clicked.
- Apply proper validation and error handling to ensure smooth redirection.
- Keep consistent naming conventions and organization of files to maintain structure.
File is inside
Assets/Accounts/Contents
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesttodo