Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Mar 1, 2024

Adds back the dedicated class for grouped navigation items, but implemented better this time. This better separates concerns, and makes the data state of both classes clearer, and reduces the need for conditional returns and state dependent type logic. Targets #1568

@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from 0ef6e95 to 2ba269e Compare March 1, 2024 20:14
@codecov
Copy link

codecov bot commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.95%. Comparing base (0b4e924) to head (ff4e949).

Additional details and impacted files
@@                       Coverage Diff                        @@
##             improved-navigation-internals    #1601   +/-   ##
================================================================
  Coverage                            99.95%   99.95%           
- Complexity                            1775     1778    +3     
================================================================
  Files                                  183      184    +1     
  Lines                                 4801     4809    +8     
================================================================
+ Hits                                  4799     4807    +8     
  Misses                                   2        2           

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

@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from 81e16fb to 737734d Compare March 2, 2024 10:53
emmadesilva and others added 2 commits March 2, 2024 12:09
Co-Authored-By: GPT 3.5 Turbo <openai-machine-user@hydephp.com>
@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from 02a2aac to 0132df1 Compare March 2, 2024 11:23
@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from 89665b1 to a888012 Compare March 2, 2024 11:29
This makes more sense as a method on the NavGroupItem class.
@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from 1bfc6b6 to 4ca2b69 Compare March 11, 2024 10:28
@emmadesilva emmadesilva force-pushed the extract-back-navitem-dropdown-class branch from fd59578 to e830cda Compare March 11, 2024 12:19
@emmadesilva emmadesilva marked this pull request as ready for review March 11, 2024 16:31
@emmadesilva emmadesilva merged commit 5de65be into improved-navigation-internals Mar 11, 2024
@emmadesilva emmadesilva deleted the extract-back-navitem-dropdown-class branch March 11, 2024 16:59
@emmadesilva emmadesilva added this to the v2 milestone Jul 9, 2024
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.

2 participants