Skip to content

Add native bottom navigation mock - #10

Open
frankieroberto wants to merge 3 commits into
mainfrom
add-native-bottom-navigation
Open

Add native bottom navigation mock#10
frankieroberto wants to merge 3 commits into
mainfrom
add-native-bottom-navigation

Conversation

@frankieroberto

Copy link
Copy Markdown
Collaborator

This adds a mockup of the native bottom-navigation component, as an alternative to the web version

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an alternative “native” bottom navigation mock to the prototype kit, switching the layout footer between the existing web footer and the new native-style bottom navigation based on data.web.

Changes:

  • Replace the inline footer macro call with a conditional include that selects either the web footer or native bottom navigation.
  • Add new include partials for the web footer and native bottom navigation.
  • Add unread-message state helper and corresponding Sass for the native bottom navigation.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
app/views/layout.html Switches footer rendering to a conditional include (web footer vs native bottom navigation).
app/views/_includes/web-footer.html Extracts the existing footer macro call into a reusable include.
app/views/_includes/native-bottom-navigation.html Adds the native-style bottom navigation markup and unread icon state logic.
app/locals.js Introduces a view helper to determine whether unread messages exist.
app/assets/sass/native-bottom-navigation.scss Adds styles for the fixed native bottom navigation and page bottom padding.
app/assets/sass/main.scss Imports the new native bottom navigation styles.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/locals.js Outdated
Comment thread app/views/_includes/native-bottom-navigation.html Outdated
Comment thread app/views/_includes/native-bottom-navigation.html
@frankieroberto
frankieroberto temporarily deployed to nhs-app-prot-add-native-sgvwzw August 27, 2026 16:28 Inactive
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