-
Notifications
You must be signed in to change notification settings - Fork 122
fix: 优化界面显示 #1919
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: 优化界面显示 #1919
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ import { NewPostButton } from '@/components/Home/NewPostButton' | |
| import { IndexPageContainer, IndexPageContent } from '@/components/IndexPages/components' | ||
| import { RefetchingPageIndicator } from '@/components/NavigationBar/RefetchingPageIndicator' | ||
| import { refetchingPostsAtom } from '@/components/NavigationBar/useNavigationTabAction' | ||
| import { UserFeedOnboarding } from '@/components/Onboarding/UserFeedOnboarding' | ||
| // import { UserFeedOnboarding } from '@/components/Onboarding/UserFeedOnboarding' | ||
| import { PostsIndexDisplayDropdown } from '@/components/PostsIndex/PostsIndexDisplayDropdown' | ||
| import { SplitViewContainer, SplitViewDetail } from '@/components/SplitView' | ||
| import { useScope } from '@/contexts/scope' | ||
|
|
@@ -44,7 +44,7 @@ function MyWorkPosts() { | |
| return ( | ||
| <> | ||
| <div className='hidden lg:flex lg:flex-col'> | ||
| <UserFeedOnboarding /> | ||
| {/*<UserFeedOnboarding />*/} | ||
| <EnablePush containerClassName='p-4' /> | ||
|
Comment on lines
46
to
48
|
||
| </div> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -5,7 +5,14 @@ import { useRouter } from 'next/router' | |||||
| import { isMacOs } from 'react-device-detect' | ||||||
|
|
||||||
| import { PublicOrganization } from '@gitmono/types' | ||||||
| import { Avatar, LayeredHotkeys, Link, PlusIcon, Tooltip } from '@gitmono/ui' | ||||||
| import { | ||||||
| Avatar, | ||||||
| LayeredHotkeys, | ||||||
| Link, | ||||||
| MegaLogoIcon | ||||||
|
||||||
| MegaLogoIcon | |
| MegaLogoIcon, |
Copilot
AI
Feb 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "New organization" control is currently disabled by commenting out the JSX block. Prefer removing the block (and related imports) or guarding it behind a feature flag so the intent is explicit and the component stays readable.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ import { HomeSpaces } from '@/components/MobileHome/HomeSpaces' | |
| import { UnreadHomeSpaces } from '@/components/MobileHome/UnreadHomeSpaces' | ||
| import { refetchingHomeAtom } from '@/components/NavigationBar' | ||
| import { RefetchingPageIndicator } from '@/components/NavigationBar/RefetchingPageIndicator' | ||
| import { UserFeedOnboarding } from '@/components/Onboarding/UserFeedOnboarding' | ||
| // import { UserFeedOnboarding } from '@/components/Onboarding/UserFeedOnboarding' | ||
| import AuthAppProviders from '@/components/Providers/AuthAppProviders' | ||
| import { ScrollableContainer } from '@/components/ScrollableContainer' | ||
| import { CallBreadcrumbIcon, NoteBreadcrumbIcon, PostBreadcrumbIcon } from '@/components/Titlebar/BreadcrumbPageIcons' | ||
|
|
@@ -59,7 +59,7 @@ const MyWorkHomePage: PageWithLayout<any> = () => { | |
|
|
||
| <ScrollableContainer id='/[org]/home' className='pb-20'> | ||
| <div className='flex flex-col lg:hidden'> | ||
| <UserFeedOnboarding /> | ||
| {/*<UserFeedOnboarding />*/} | ||
| <EnablePush containerClassName='p-4' /> | ||
|
Comment on lines
61
to
63
|
||
| </div> | ||
| <RefetchingPageIndicator isRefetching={isRefetching} /> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeViewHeaderis disabled via commented-out JSX. Prefer removing the element (and import) entirely, or gate it behind an explicit flag, rather than leaving commented code in the render path.