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
[feat] Add Clear Cache functionality in AllDataBox component
- Implemented a method to clear the SObjects List cache and refresh the data.
- Added a button in the UI to trigger cache clearing when no matching objects are found.
- Updated state management to handle search query and match count in AllDataBoxSObject component.
- Enhanced troubleshooting documentation to guide users on clearing the cache from the Objects tab.
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,15 +128,22 @@ The extension caches the SObjects list to improve popup loading performance. Thi
128
128
129
129
**How to solve it:**
130
130
131
-
1.**Clear the SObjects List cache** (recommended for immediate results):
131
+
1.**Clear the SObjects List cache from the Objects tab** (quickest when cache is enabled):
132
+
* Open the extension and go to the "Objects" tab
133
+
* Search for your new object name in the search field
134
+
* If no results appear, a "Clear Cache" button will be displayed
135
+
* Click the button to clear the cache and refresh the list
136
+
* Your new object should appear after the refresh
137
+
138
+
2.**Clear the SObjects List cache from Options** (when the in-tab button is not shown, e.g. cache disabled):
132
139
* Open the extension and click the "Options" button
133
140
* Navigate to the "Cache" tab
134
-
* Find the "SObjects List Cache Duration (hours)" setting
141
+
* Find the "SObjects List Cache" setting
135
142
* Click the "Clear Cache" button next to it
136
143
* A success message will confirm the cache has been cleared
137
144
138
-
2.**Wait for cache expiration**:
145
+
3.**Wait for cache expiration**:
139
146
* The cache will automatically expire based on the configured duration (default: 8 hours when "Preload SObjects before popup opens" is enabled, 168 hours / 7 days when disabled)
140
147
* After expiration, the extension will fetch fresh data on the next popup open
141
148
142
-
**Note:** The extension caches SObjects per org. If you switch between orgs, the extension uses the cache for the current org. For more details on cache configuration, see [SObjects List Cache Management](../how-to.md#sobjects-list-cache-management) in the how-to.
149
+
**Note:** The "Clear Cache" button in the Objects tab is only displayed when SObjects List cache is enabled (Options > Cache tab) and a search returns no results. The extension caches SObjects per org. If you switch between orgs, the extension uses the cache for the current org. For more details on cache configuration, see [SObjects List Cache Management](../how-to.md#sobjects-list-cache-management) in the how-to.
0 commit comments