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

feat: responsive design grid #1354

Merged
merged 16 commits into from
Sep 23, 2024
Merged

Conversation

saberzero1
Copy link
Collaborator

@saberzero1 saberzero1 commented Aug 18, 2024

closes #455

Replaces #1339

responsive-design-grid-poc.mp4
  • remove separate tablet configuration
  • refactor to grid layout
    • mobile
    • tablet
    • desktop
  • cleanup
  • update docs

@saberzero1 saberzero1 marked this pull request as ready for review August 18, 2024 12:23
@saberzero1
Copy link
Collaborator Author

I have the grid layout in a working proof of concept. It's definitely more elegant than the previous version.

@aarnphm Could you give me some feedback?

@aarnphm
Copy link
Collaborator

aarnphm commented Aug 18, 2024

Can you squash into one commit? will need it for offline test

@saberzero1 saberzero1 force-pushed the responsive-design-grid branch 2 times, most recently from 037fe87 to 11846ad Compare August 18, 2024 20:15
@saberzero1 saberzero1 force-pushed the responsive-design-grid branch from 11846ad to 32d6aae Compare August 18, 2024 20:23
@saberzero1
Copy link
Collaborator Author

Can you squash into one commit? will need it for offline test

Should be done properly now.

@jackyzha0 jackyzha0 mentioned this pull request Aug 24, 2024
11 tasks
@aarnphm
Copy link
Collaborator

aarnphm commented Aug 24, 2024

sorry for the late response, i will take a look tonight

@ChenZhongPu
Copy link

sorry for the late response, i will take a look tonight

Any progress now?

@ChenZhongPu
Copy link

@jackyzha0

@jackyzha0
Copy link
Owner

@ChenZhongPu dont tag maintainers to review PRs, we will do things on our own time

all of us have jobs and other life commitments outside of maintaining this project for free

if you want something fixed faster, either sponsor or submit a pr yourself

Copy link
Collaborator

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

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

Ok I just got around to finish this (hehe was testing and play around with my site).

Overall I think this is a net positive change for users. For ppl who have a lot of custom scss rules this would be breaking, so we might want to figure out how to notify downstream users on updating their code.

@saberzero1
Copy link
Collaborator Author

Ok I just got around to finish this (hehe was testing and play around with my site).

Overall I think this is a net positive change for users. For ppl who have a lot of custom scss rules this would be breaking, so we might want to figure out how to notify downstream users on updating their code.

Thanks for the review!

I'd gladly assist in a summary/documentation of the (potentially) breaking changes for custom scss. I feel like changes like in this PR will inevitably happen from time to time with large changes such as this (changing from flex to grid layout). I tried to minimize the impact, but some potentially breaking changes were necessary for, in my opinion, a large net positive change.

Copy link
Owner

@jackyzha0 jackyzha0 left a comment

Choose a reason for hiding this comment

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

this is great, thanks! lets increment the minor on the package to mark it too (4.4.0 perhaps)

Copy link
Collaborator

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

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

final resolve comments from jacky, then gtg

@saberzero1
Copy link
Collaborator Author

Thanks for the feedback. I have addressed the requested changes.

@aarnphm aarnphm requested a review from jackyzha0 September 16, 2024 15:55
@aarnphm aarnphm changed the title Responsive design grid feat: responsive design grid Sep 16, 2024
@aarnphm
Copy link
Collaborator

aarnphm commented Sep 17, 2024

hmm @saberzero1 maybe we should follow up with a PR updating docs wrt to page layout?

idk what jacky uses for drawing the layout image 🤔

@saberzero1
Copy link
Collaborator Author

hmm @saberzero1 maybe we should follow up with a PR updating docs wrt to page layout?

idk what jacky uses for drawing the layout image 🤔

Sure thing, I'll make a follow-up PR with the final layout as soon as possible after this PR has been merged.

It kind of looks like Figma, but I'm not entirely sure.

@saberzero1
Copy link
Collaborator Author

hmm @saberzero1 maybe we should follow up with a PR updating docs wrt to page layout?
idk what jacky uses for drawing the layout image 🤔

Sure thing, I'll make a follow-up PR with the final layout as soon as possible after this PR has been merged.

It kind of looks like Figma, but I'm not entirely sure.

Nevermind, I have included the updated docs in the PR.

@jackyzha0
Copy link
Owner

docs image is made in figma, lemme DM you the link on discord

@saberzero1
Copy link
Collaborator Author

saberzero1 commented Sep 23, 2024

docs image is made in figma, lemme DM you the link on discord

Thanks, I have updated the layout images.

Apparently I also don't know how to spell 'finalized'.

@jackyzha0
Copy link
Owner

thanks for this! you might also have to help point users in the right direction if things break for them :')

i apologize in advance for the inbound haha

@jackyzha0 jackyzha0 merged commit 7d7e334 into jackyzha0:v4 Sep 23, 2024
4 checks passed
@saberzero1
Copy link
Collaborator Author

thanks for this! you might also have to help point users in the right direction if things break for them :')

i apologize in advance for the inbound haha

Haha, that's fine.

@saberzero1 saberzero1 deleted the responsive-design-grid branch September 25, 2024 22:19
parkisutama pushed a commit to parkisutama/quartz that referenced this pull request Sep 28, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
@Stephen-X
Copy link
Contributor

@saberzero1 Sorry about the ping in a closed PR, please let me know if you prefer a new bug ticket. I think there is a minor issue with the layout: in mobile view, the right section is beneath the footer, as opposed to what the layout doc explains (below the hr break but above the footer?):

Screenshot 2024-10-01 at 12 26 02 AM

Thanks for introducing the grid layout btw! I'm also very looking forward to your mobile Explorer PR: #1441 😄 I'm doing this hack right now to make sure mobile visitors can still find links to documents:

left: [
    Component.DesktopOnly(explorerComp),
  ],
  right: [
    // Hide Graph View in mobile view to make room for Explorer
    Component.DesktopOnly(Component.Graph()),
    Component.MobileOnly(explorerComp),
  ],

@saberzero1
Copy link
Collaborator Author

@saberzero1 Sorry about the ping in a closed PR, please let me know if you prefer a new bug ticket. I think there is a minor issue with the layout: in mobile view, the right section is beneath the footer, as opposed to what the layout doc explains (below the hr break but above the footer?):

Screenshot 2024-10-01 at 12 26 02 AM Thanks for introducing the grid layout btw! I'm also very looking forward to your mobile Explorer PR: #1441 😄 I'm doing this hack right now to make sure mobile visitors can still find links to documents:
left: [
    Component.DesktopOnly(explorerComp),
  ],
  right: [
    // Hide Graph View in mobile view to make room for Explorer
    Component.DesktopOnly(Component.Graph()),
    Component.MobileOnly(explorerComp),
  ],

Fixed and being fixed.

Please open a new issue in the future.

@Stephen-X
Copy link
Contributor

Fixed and being fixed.

Please open a new issue in the future.

Will do. Thanks for the quick turnaround!

ChenghaoMou pushed a commit to ChenghaoMou/quartz that referenced this pull request Oct 5, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
brickfrog pushed a commit to brickfrog/notes.justin.vc that referenced this pull request Oct 7, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
DronHazra pushed a commit to DronHazra/quartz that referenced this pull request Oct 27, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
DronHazra pushed a commit to DronHazra/quartz that referenced this pull request Oct 28, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
renyunkang pushed a commit to MasterLibraries/quartz that referenced this pull request Oct 29, 2024
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
elasticdog added a commit to elasticdog/elasticdog-com that referenced this pull request Nov 26, 2024
The layout code has been changed upstream, so I need to adjust my
customizations to minimize rendering issues. Any customization I can
minimize, the better.

See:
- jackyzha0/quartz#1354
- https://quartz.jzhao.xyz/layout
kirill-markin pushed a commit to kirill-markin/quartz that referenced this pull request Jan 25, 2025
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
Nasr-905 pushed a commit to Nasr-905/cerebrum-secundum that referenced this pull request Feb 21, 2025
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Responsive design for all high DPI displays
5 participants