You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.2.4] – 2025-05-19
11
+
12
+
### Added
13
+
- Dialog component that displays error messages to the user to explain why widgets aren't loading
14
+
- Error message for loading a shared link to a dashbaord using private workset while unauthenticated
15
+
- Error message for when the workset an authenticated user has been working on has been removed since they last logged in.
16
+
- Error message when trying to load a workset where none of the HTIDs are in TORCHLITE
17
+
- Error message for when Analytics Gateway is inaccessible
18
+
19
+
### Fixed
20
+
- Bug where logging out while viewing a private workset would try to load the same workset while unauthenticated. Now logouts redirect to the default URL.
21
+
10
22
## [0.2.3] – 2025-02-26
11
23
12
24
### Changed
@@ -48,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
48
60
- This CHANGELOG file.
49
61
- Share button and popup [#61](https://github.com/htrc/torchlite-app/issues/61)
console.error(`Error loading available dashboards while unauthenticated: ${err}`);
79
+
setErrorAlert(true);
80
+
setErrorText('The workset you are trying to access had been deleted or been made private. Contact the workset owner to check the workset status. Worksets must me public in order to have access to it in the dashboard.');
console.error(`Error loading available dashboards while authenticated: ${err}`);
102
+
setErrorAlert(true);
103
+
104
+
if(err.status==404){
105
+
setErrorText('The workset you are trying to access had been deleted or been made private. Contact the workset owner to check the workset status. Worksets must be public in order to have access to it in the dashboard.');
106
+
}elseif(err.status==422){
107
+
setErrorText('The selected workset contains invalid htids. The workset cannot be loaded into the dashboard. Please select a different workset. For more information about valid htids, review the documentation.')
108
+
}elseif(err.status==503){
109
+
setErrorText('Worksets are currently unavailable, please try again later.');
setErrorText('The selected workset contains invalid htids. The workset cannot be loaded into the dashboard. Please select a different workset. For more information about valid htids, review the documentation.');
176
220
}finally{
177
221
setLoading(false);
178
222
}
@@ -200,6 +244,11 @@ function AppProvider({ children }: AppProviderProps) {
0 commit comments