Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix loading indicator when the app is loading #56314

Merged
merged 30 commits into from
Mar 5, 2025
Merged
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3048d37
fix loading indicator when the app is loading
nkdengineer Feb 4, 2025
d430a4a
fix lint
nkdengineer Feb 4, 2025
9a04216
Merge branch 'main' into fix/55842
nkdengineer Feb 6, 2025
17f51a3
Merge branch 'main' into fix/55842
nkdengineer Feb 7, 2025
04dc31f
Merge branch 'main' into fix/55842
nkdengineer Feb 10, 2025
1118aa6
add padding top for search top bar wrapper
nkdengineer Feb 10, 2025
bf265ab
Merge branch 'main' into fix/55842
nkdengineer Feb 14, 2025
2e38961
fix loading thin while scrolling
nkdengineer Feb 14, 2025
03ca37b
fix lint error
nkdengineer Feb 14, 2025
80e7b6f
Merge branch 'main' into fix/55842
nkdengineer Feb 16, 2025
4289617
use absolute style
nkdengineer Feb 16, 2025
27ca1fd
Merge branch 'main' into fix/55842
nkdengineer Feb 17, 2025
9097e7f
Merge branch 'main' into fix/55842
nkdengineer Feb 18, 2025
8e2ddba
add zIndex for TopBar
nkdengineer Feb 18, 2025
15fdd11
Merge branch 'main' into fix/55842
nkdengineer Feb 18, 2025
b9b4852
remove padding if scrolling in Reports
nkdengineer Feb 18, 2025
181d081
remove log
nkdengineer Feb 18, 2025
584d56a
replace with variable
nkdengineer Feb 18, 2025
c7be3bd
merge main
nkdengineer Feb 19, 2025
1cf8145
remove hardcode
nkdengineer Feb 19, 2025
a7ad6ed
remove log
nkdengineer Feb 19, 2025
32e5e85
merge main
nkdengineer Feb 20, 2025
1886298
update correct topbar minimal offset
nkdengineer Feb 20, 2025
f963599
Merge branch 'main' into fix/55842
nkdengineer Feb 20, 2025
90391f3
merge main
nkdengineer Feb 22, 2025
7401b9d
Merge branch 'main' into fix/55842
nkdengineer Feb 26, 2025
7ad6120
Merge branch 'main' into fix/55842
nkdengineer Feb 27, 2025
d109fc1
fix the empty view is cut off
nkdengineer Feb 27, 2025
833bca5
Merge branch 'main' into fix/55842
nkdengineer Feb 28, 2025
5ddd049
Merge branch 'main' into fix/55842
nkdengineer Mar 4, 2025
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
8 changes: 4 additions & 4 deletions src/pages/home/sidebar/SidebarLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useStyleUtils from '@hooks/useStyleUtils';
import useThemeStyles from '@hooks/useThemeStyles';
import {confirmReadyToOpenApp, setSidebarLoaded} from '@libs/actions/App';
import Navigation from '@libs/Navigation/Navigation';
import * as ReportActionContextMenu from '@pages/home/report/ContextMenu/ReportActionContextMenu';
import * as App from '@userActions/App';
import CONST from '@src/CONST';
import ROUTES from '@src/ROUTES';
import type {Report} from '@src/types/onyx';
Expand Down Expand Up @@ -44,7 +44,7 @@ function SidebarLinks({insets, optionListItems, isLoading, priorityMode = CONST.
const {shouldUseNarrowLayout} = useResponsiveLayout();

useEffect(() => {
App.confirmReadyToOpenApp();
confirmReadyToOpenApp();
}, []);

useEffect(() => {
Expand Down Expand Up @@ -91,10 +91,10 @@ function SidebarLinks({insets, optionListItems, isLoading, priorityMode = CONST.
onSelectRow={showReportPage}
shouldDisableFocusOptions={shouldUseNarrowLayout}
optionMode={viewMode}
onFirstItemRendered={App.setSidebarLoaded}
onFirstItemRendered={setSidebarLoaded}
/>
{!!isLoading && optionListItems?.length === 0 && (
<View style={[StyleSheet.absoluteFillObject, styles.appBG]}>
<View style={[StyleSheet.absoluteFillObject, styles.appBG, styles.mt3]}>
<OptionsListSkeletonView shouldAnimate />
</View>
)}
Expand Down
Loading