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

refacto: Optimize loading #1023

Merged
merged 40 commits into from
Jun 21, 2024
Merged

refacto: Optimize loading #1023

merged 40 commits into from
Jun 21, 2024

Conversation

oktapodia
Copy link
Member

Before:
image

After:
image

@oktapodia oktapodia changed the title Optimize loading refacto: Optimize loading Jun 7, 2024
@oktapodia oktapodia added the feature This label will create a dedicated Feature environment label Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

Hey! Those are your new endpoints: https://feat-lf8368.jumper.exchange

src/app/ui/app/App.tsx Show resolved Hide resolved
src/components/Widgets/Widgets.style.tsx Outdated Show resolved Hide resolved
const { activeTab, setActiveTab } = useActiveTabStore();
const { welcomeScreenClosed, setWelcomeScreenClosed } =
useWelcomeScreen(closedWelcomeScreen);
const { setWelcomeScreenClosed } = useWelcomeScreen(closedWelcomeScreen);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not we rename this file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue how to rename it :( any idea?

const pathname = usePathname();
const { trackEvent } = useUserTracking();
const [starterVariantUsed, setStarterVariantUsed] = useState(false);
const [_starterVariant, setStarterVariant] = useState<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still use this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be another ticket to adapt this logic elsewhere for the tabs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little bit for now, removing a part of it on each of my pr :s

@dennyscode
Copy link
Contributor

One more problem here: Widget does not seem to show full width when expanded.
image

@dennyscode
Copy link
Contributor

Also, unfortunately we do not maintain the state of a tab now:

maintain-widget-states-screen-capture.webm

src/app/[lng]/memecoins/page.tsx Show resolved Hide resolved
src/app/[lng]/gas/page.tsx Show resolved Hide resolved
src/app/[lng]/buy/page.tsx Show resolved Hide resolved
src/app/[lng]/page.tsx Show resolved Hide resolved
src/components/WelcomeScreen/WelcomeScreen.style.ts Outdated Show resolved Hide resolved
src/components/WelcomeScreen/WelcomeScreen.style.ts Outdated Show resolved Hide resolved
src/components/Widgets/Widget.tsx Outdated Show resolved Hide resolved
src/components/Widgets/WidgetSkeleton.tsx Outdated Show resolved Hide resolved
src/components/Menu/SubMenu.style.ts Outdated Show resolved Hide resolved
src/components/Navbar/NavbarTabs/NavbarTabs.tsx Outdated Show resolved Hide resolved
@tcheee tcheee added the testing This is in a testing stage label Jun 14, 2024
@tcheee tcheee merged commit 55f1b50 into develop Jun 21, 2024
1 of 2 checks passed
@tcheee tcheee deleted the LF-8368 branch June 21, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This label will create a dedicated Feature environment testing This is in a testing stage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants