Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[C-1291] Add base layout for navbar overhaul#2139

Merged
dylanjeffers merged 2 commits into
mainfrom
dj-c-1291-mobile-navbar-overhaul
Oct 13, 2022
Merged

[C-1291] Add base layout for navbar overhaul#2139
dylanjeffers merged 2 commits into
mainfrom
dj-c-1291-mobile-navbar-overhaul

Conversation

@dylanjeffers

@dylanjeffers dylanjeffers commented Oct 13, 2022

Copy link
Copy Markdown
Contributor

Description

Adds base layout for the nav-bar overhaul

  • Adds feature flag
  • Updates drawer naming and organization (it's no longer a notification-drawer, more of an "app-drawer")
  • Adds main pieces of overhaul: new drawer, new bottom-bar-tab, new headerLeft element
  • Adds environment-specific defaultFlags to ensure we get expected view on first paint, rather than waiting for optimizely to init and return the remote values.

@dylanjeffers dylanjeffers changed the title [C-1291] Add base architecture for navbar overhaul [C-1291] Add base layout for navbar overhaul Oct 13, 2022
@audius-infra

Copy link
Copy Markdown
Collaborator

@sliptype sliptype left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good stuff!


type FlagDefaults = Record<FeatureFlags, boolean>

export const environmentFlagDefaults: Record<

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like this but I'm trying to think if it's really necessary. Can't we just flip the flag on for staging in optimizely?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess this gives us granularity between dev and staging though

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah im also not sure if this is necessary... i think it's potentially helpful for that first paint where optimizely is still coming back? but yeah...

export const AppDrawerScreen = () => {
const [disableGestures, setDisableGestures] = useState(false)
const { isEnabled } = useFeatureFlag(FeatureFlags.MOBILE_NAV_OVERHAUL)
const DrawerComponent = isEnabled ? AccountDrawer : NotificationsDrawer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice

@dylanjeffers dylanjeffers merged commit 44916a5 into main Oct 13, 2022
@dylanjeffers dylanjeffers deleted the dj-c-1291-mobile-navbar-overhaul branch October 13, 2022 17:53
audius-infra pushed a commit that referenced this pull request Oct 15, 2022
[5cd5d68] [C-1322] Android and general performance improvements (#2149) Sebastian Klingler
[f6ef033] [C-1341] Add notifications bottom tab screen (#2148) Dylan Jeffers
[9ddfe72] [C-1335] Upgrade and share typescript version (#2145) Dylan Jeffers
[b701102] [C-1336] Implement account drawer (#2146) Dylan Jeffers
[8587b3f] Add structured data and update head (#2131) Joseph Lee
[40ef3b7] [C-1317] Improve client startup tooling (#2140) Raymond Jacobson
[e09c6f9] Update new tables to allow drag to add to playlist (#2134) Kyle Shanks
[4633581] Bump ios (#2144) Sebastian Klingler
[f331426] Slow down $AUDIO page Stripe/Coinbase button animation speed (#2143) Marcus Pasell
[44916a5] [C-1291] Add base layout for navbar overhaul (#2139) Dylan Jeffers
[e85955c] Prepend audius url to share url (#2142) Sebastian Klingler
[068917e] Use Hermes for Android app C-1329 (#2130) nicoback2
[98f845c] [C-1327] Fix deep linking for tracks with diacritics (#2137) Sebastian Klingler
[0ec460f] [PAY-685] Update Stripe button to use approved brand assets (#2138) Marcus Pasell
[1b1a377] Refactor bottom-tab-bar (#2136) Dylan Jeffers
[9dbb11e] fix play bar buttons target (#2135) nicoback2
[9daba05] [C-1303][C-1304] Fix misc. profile layout issues (#2129) Raymond Jacobson
[04eb0c9] [C-1272] Fix Search UI jank (#2133) Sebastian Klingler
[feaa6f0] Bump react-screens to 3.17.0 to avoid crash on android (#2132) Sebastian Klingler
[db996e8] Remove old table components and rename new table components (#2126) Kyle Shanks
[92a2c7e] [C-1319] Fix native profile collectibles (#2127) Dylan Jeffers
[7a83f29] [C-1282] Remove followUser social action in profile reducer (#2121) Dylan Jeffers
[26de098] [C-1309] Fix playlists/collectibles not loading (#2125) Dylan Jeffers
[78dee89] Fix getState undefined when opening reopening app on android (#2123) Sebastian Klingler
[ef69b70] [C-1318] Revert "[C-1184] Fetch lineups after coming back online (#2083)" (#2122) Andrew Mendelsohn
[42efd1b] [PAY-457] Add Geofilter for Coinbase, Stripe (#2118) Marcus Pasell
[e413d9a] Bring back unhealthySlotDiffPlays (#2119) Dylan Jeffers
[fb96ea4] Fix favorites page filtering on old tables (#2120) Kyle Shanks
[cf73f53] Fix android build (#2113) Sebastian Klingler
[ebaa5d8] [C-1040] Remove extraneous mobile logs (#2107) Dylan Jeffers
[bc7e7b0] bump libs in web and common (#2117) nicoback2
[dc16dcb] bump libs 1.0.12 (#2116) nicoback2
[c737535] Undo change to prevent cache update when no collectibles (#2114) Sebastian Klingler
[b2764ba] Keep screen awake when confirming tip (#2103) nicoback2
[4b39ec1] fix pw clipping on mobile (#2102) nicoback2
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants