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

Courey/circular view toggle #2919

Merged
merged 5 commits into from
Feb 26, 2025
Merged

Conversation

Courey
Copy link
Contributor

@Courey Courey commented Feb 25, 2025

Description

Turns the view selection into a toggle and brings all button order and size into line so there is no jumping around.

Related Issue(s)

Resolves #2866

Testing

This was tested locally visually with the flag on and off

FLAG ON:
Screenshot 2025-02-25 at 10 38 58 AM
Screenshot 2025-02-25 at 10 38 00 AM

FLAG OFF:

Screenshot 2025-02-25 at 11 02 27 AM

</details>
</div>
))}
<div className="margin-top-2">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is just adding the same amount of padding that is on the index results so the results don't have a different gap based on the different view.

Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 5.96%. Comparing base (2ec427c) to head (893af63).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...es/circulars._archive._index/SynonymGroupIndex.tsx 0.00% 4 Missing ⚠️
app/routes/circulars._archive._index/route.tsx 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #2919      +/-   ##
========================================
- Coverage   5.97%   5.96%   -0.02%     
========================================
  Files        171     174       +3     
  Lines       4334    4344      +10     
  Branches     476     477       +1     
========================================
  Hits         259     259              
- Misses      4073    4083      +10     
  Partials       2       2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -268,7 +281,7 @@ export default function () {
name="query"
type="search"
defaultValue={inputQuery}
placeholder="Search"
placeholder={searchText}
Copy link
Contributor

@jracusin jracusin Feb 25, 2025

Choose a reason for hiding this comment

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

This is also implemented in #2837, with slightly different wording.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

which one would we like to go with? Would you like me to remove the placeholder in this branch?

Copy link
Member

@lpsinger lpsinger left a comment

Choose a reason for hiding this comment

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

Please add a screen shot for a mobile-size window.

@Courey
Copy link
Contributor Author

Courey commented Feb 25, 2025

Screenshot 2025-02-25 at 5 11 45 PM Screenshot 2025-02-25 at 5 11 35 PM

@lpsinger lpsinger merged commit f02a8c8 into nasa-gcn:main Feb 26, 2025
9 checks passed
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.

Create intuitive mode control for Circulars index
3 participants