Disabled tabs for the PG editor.#3025
Open
drgrice1 wants to merge 1 commit into
Open
Conversation
The "Save" tab will always shown for all file types, but will be disabled for any file not in the course's templates directory (symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory assuming the server has write permission to the file), or the server does not have write permission to the file. The "Append" tabe will be shown for all PG file types (problems and set headers). However, it will be disabled for any file not in the course's templates directory (again symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory, even if the server does not have write permissions to the file). Also the help has been updated. help for this. The help for each action tab now states when the tab is available and when it is active.
5960a98 to
7fc2cfd
Compare
Alex-Jordan
reviewed
Jun 25, 2026
Alex-Jordan
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Save" tab will always shown for all file types, but will be disabled for any file not in the course's templates directory (symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory assuming the server has write permission to the file), or the server does not have write permission to the file.
The "Append" tab will be shown for all PG file types (problems and set headers). However, it will be disabled for any file not in the course's templates directory (again symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory, even if the server does not have write permissions to the file).
Also the help has been updated. help for this. The help for each action tab now states when the tab is available and when it is active.