-
Notifications
You must be signed in to change notification settings - Fork 70
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
RWD/my profile and members #4577
Merged
thesan
merged 19 commits into
Joystream:responsive
from
eshark9312:rdw/myProfile-and-members
Oct 23, 2023
Merged
Changes from 10 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ef902c5
fix Accounts list to be scrollable
eshark9312 423e3c4
fix Statistics gap to be 16px when smaller than lg
eshark9312 34e84b2
fix Profile/Mymemberships header responsive
eshark9312 f03312e
fix Mymembershiplist scrollable
eshark9312 24caa22
fix invite/add member modal
eshark9312 b973237
fix members page filter
eshark9312 df2e060
fix modals responsive, disable some
eshark9312 8b16cd9
fix sidebarSlider
eshark9312 9048820
fix Pagination responsiveness
eshark9312 afbab71
fix memberlistitem min-width
eshark9312 35a0603
fix width and padding of memberlistfilter box
eshark9312 b561188
fix modals
eshark9312 ffcb871
replace window.innerWidth with screen.width
eshark9312 bb8f7aa
mock width of the screen
eshark9312 b9b048d
hide modal when decreasing the width of the window
eshark9312 7ea6f34
hide My Profile in the navigation slider in mobile
eshark9312 a2347a3
update responsive provider, add not support mobile modal
eshark9312 d216159
Update packages/ui/src/app/GlobalModals.tsx
eshark9312 a0cd48b
update GlobalModal
eshark9312 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,10 @@ export const SidePaneGlass = styled.div<{ onClick?: MouseEventHandler<HTMLDivEle | |
color: ${Colors.Black[900]}; | ||
z-index: ${ZIndex.modal}; | ||
|
||
@media (max-width: 767px) { | ||
display: none; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here |
||
${({ onClick }) => | ||
onClick | ||
? css` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
However I don't think this is the right place to handle this globally. Instead could you do that in the
GlobalModals
component please ?This way some exception can be added for some of the modals. Also instead of just returning
null
I think a small modal should be shown with a message like:screenSize
, the browserscreen.width
should be used here.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.
I see what you mean, if no wallet is connected so there is no membership, then the banner appears on the top of the screen.
https://www.figma.com/file/EaObQEN95O0IWjSVTUQ5NN/Pioneer-RWD?type=design&node-id=1353-54052&mode=dev