Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion test_cases/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,13 @@
5. Upon successful updating of the HTMLs a little “Success!” should appear just above the “Update HTML” button
![Content Editor 5](images/contenteditor5.png)

6. To view these changes simply sign out of admin by using the developer sign in menu in the top right or press on the RIT logo in the top left. The UI routing should remain the same and the changes made to the HTML should be visible immediately.
6. To view these changes simply sign out of admin by using the developer sign in menu in the top right or press on the RIT logo in the top left. The UI routing should remain the same and the changes made to the HTML should be visible immediately after refreshing.
![Content Editor 6](images/contenteditor6.png)

7. In addtion to the overview and project sponser sections, Content editor includes two other editable sections: "loggedOutFooter" and "loggedInFooter".
![Content Editor 7](images/contenteditor7.png)

8. Just like with the Overview and Sponsor sections, you can edit the "loggedOutFooter"
and "loggedInFooter" HTML directly. After making your changes, click "Update HTML"
and check the footer on the corresponding page (signed in vs. signed out) to confirm
the updates appear.
Binary file added test_cases/images/contenteditor7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion ui/src/components/pages/StackTraceErrorPage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useState } from "react";
import uiConfig from "../../config/uiConfig";
import { Button } from "semantic-ui-react";

const StackTraceErrorPage = () => {
Expand Down Expand Up @@ -33,7 +34,7 @@ const StackTraceErrorPage = () => {

const handleReportOnGitHub = () => {
try {
const version = "v1.8.1";
const version = `v${uiConfig.footers.loggedIn.version}`;
const timestamp = errorInfo?.timestamp || "No timestamp saved";
const error = errorInfo?.error || "Unknown error";
const statusCode = errorInfo?.statusCode
Expand Down