Skip to content

Feature Request: Add the application name as a tag to "Submit a ticket" button click#2

Open
jones220-purdue wants to merge 2 commits intohubzero:masterfrom
jones220-purdue:feature_app_name_problem_report_tag
Open

Feature Request: Add the application name as a tag to "Submit a ticket" button click#2
jones220-purdue wants to merge 2 commits intohubzero:masterfrom
jones220-purdue:feature_app_name_problem_report_tag

Conversation

@jones220-purdue
Copy link

Additions:

  • Created a function named "parse_app_name" that will attempt to retrieve the application name from environment variables TOOLDIR or SUBMIT_APPLICATION_REVISION. If the name cannot be found, then get the application title from $SESSIONDIR/resources
  • Added a Python variable for app_name
  • Added to the header_template, the Javascript variable appname using the Python value
  • Added ?group=app-${appname} to the HREF for the "Submit a ticket" button

Purpose:
The reason behind this change is too add a tag to ticket requests letting developers know what tool the ticket is in reference too. Sometimes ticket submitters omit this information

…ession

- Updated the URL for the "Report a problem" button to include the app group with the application name
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.

1 participant