Repository navigation
Search bar - #3285
Draft
Soxasora wants to merge 21 commits into
Draft
Search bar#3285Soxasora wants to merge 21 commits into
Soxasora wants to merge 21 commits into
Conversation
Replace the separate desktop, mobile, and sticky headers with one responsive navigation row. Keep territory selection and analytics links in sync with the URL, and simplify account, wallet, and comment navigation. Remove obsolete menu visibility plumbing and the price carousel provider; let the price component own its persisted selection.
Add a shared two-column layout for feeds and item pages, with desktop-only sidebar mounting and a price display. Align the header and footer with the columns and constrain sidebar scrolling as the footer enters view, with normal-flow fallback styling.
Display territory details beside territory feeds and daily sats rankings beside the home feed. Keep the territory header on mobile, handle loading and empty/error states, and respect NSFW preferences and custom-domain links. Allow an explicit null topSubs limit for the complete ranking.
Portal the item table of contents into the desktop sidebar while retaining the mobile dropdown. Use stable heading keys and emit heading-navigation events so clipped post text expands before scrolling.
Display related posts beside eligible items on desktop and retain the inline mobile section. Share eligibility checks and add compact item metadata and matching loading skeletons.
Remove the territory picker from the post-type chooser while retaining selection in the posting form. Validate requested post types against selected territories and carry single-territory context into the page layout.
…-* tailwind utility; style popover with popover css vars
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Based on #3271
This PR replaces both the link to
/searchand the territory selector with a search bar.work in progress, PR will be updated with more details soon