-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[SIDE PANEL] Update the logic and fix help panel appearing without NVP #67159
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
Merged
Beamanator
merged 13 commits into
Expensify:main
from
software-mansion-labs:chore/regenerate-help-content
Aug 21, 2025
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1304307
Implement NumberedList
blazejkustra 65f8075
Move distance and scan to different files
blazejkustra 591eaa6
Regenerate content
blazejkustra ef8947f
Merge branch 'main' into chore/regenerate-help-content
blazejkustra 9388bf4
fix: prevent side panel actions when side panel NVP is undefined
blazejkustra 740b2ff
Merge branch 'main' of github.com:Expensify/App into chore/regenerate…
blazejkustra 5408586
Regenerate content and split r/ into two markdowns
blazejkustra 0143aaf
Run prettier
blazejkustra 668b99a
Fix eslint
blazejkustra 4d805bb
Merge branch 'main' of github.com:Expensify/App into chore/regenerate…
blazejkustra 4bb0867
Refactor spacing in help content and update styles for headings.
blazejkustra 1122633
Merge branch 'main' of github.com:Expensify/App into chore/regenerate…
blazejkustra 652c0cc
Enhance spacing for help content headings
blazejkustra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| layout: product | ||
| title: Expensify Chat | ||
| --- | ||
|
|
||
| # Chat | ||
|
|
||
| Chat is the foundation of New Expensify. Every expense, expense report, workspace, or member has an associated "chat", which you can use to record additional details, or collaborate with others. Every chat has the following components: | ||
|
|
||
| ## Header | ||
|
|
||
| This shows who you are chatting with (or what you are chatting about). You can press the header for more details on the chat, or additional actions to take upon it. | ||
|
|
||
| ## Comments | ||
|
|
||
| The core of the chat are its comments, which come in many forms: | ||
|
|
||
| - **Text** – Rich text messages stored securely and delivered via web, app, email, or SMS. | ||
| - **Images & Documents** – Insert photos, screenshots, movies, PDFs, or more, using copy/paste, drag/drop, or the attach button. | ||
| - **Expenses** – Share an expense in the chat, either to simply track and document it, or to submit for reimbursement. | ||
| - **Tasks** – Record a task, and optionally assign it to someone (or yourself!). | ||
|
|
||
| ## Actions | ||
|
|
||
| Hover (or long press) on a comment to see additional options, including: | ||
|
|
||
| - **React** – Throw a ♥️😂🔥 like on anything! | ||
| - **Reply in thread** – Go deeper by creating a new chat on any comment. | ||
| - **Mark unread** – Flag it for reading later, at your convenience. | ||
|
|
||
| ## Composer | ||
|
|
||
| Use the composer at the bottom to write new messages: | ||
|
|
||
| - **Markdown** – Format text using **bold**, *italics*, and [more](https://help.expensify.com/articles/new-expensify/chat/Send-and-format-chat-messages). | ||
| - **Mention** – Invite or tag anyone in the world to any chat by putting an `@` in front of their email address or phone number (e.g., **@awong@marslink.web**, or **@415-867-5309**). |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,24 @@ | ||
| --- | ||
| layout: product | ||
| title: Inbox Overview | ||
| title: Expensify Inbox | ||
| --- | ||
|
|
||
| # Inbox | ||
|
|
||
| The Inbox is a prioritized "to do" list, highlighting exactly what you need to do next. It consists of: | ||
|
|
||
| ## Priorities | ||
|
|
||
| At the top of the Inbox are the most important tasks you should do first, which include: | ||
|
|
||
| - Expense reports waiting on you | ||
| - Tasks assigned to you | ||
| - Chats that have mentioned you | ||
| - Anything you have pinned | ||
|
|
||
| ## Chats | ||
|
|
||
| Beneath the priorities are a list of chats (with unread chats highlighted in bold), in one of two view modes: | ||
|
|
||
| - **Most Recent** – Lists every chat, ordered by whichever was most recently active. | ||
| - **Focus** – Only lists chats with unread messages, sorted alphabetically. |
File renamed without changes.
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
25 changes: 25 additions & 0 deletions
25
src/components/SidePanel/HelpComponents/HelpNumberedList.tsx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| import type {ReactNode} from 'react'; | ||
| import React from 'react'; | ||
| import {View} from 'react-native'; | ||
| import Text from '@components/Text'; | ||
| import type {ThemeStyles} from '@styles/index'; | ||
|
|
||
| type HelpNumberedListProps = { | ||
| styles: ThemeStyles; | ||
| items: ReactNode[]; | ||
| }; | ||
|
|
||
| function HelpNumberedList({items, styles}: HelpNumberedListProps) { | ||
| return items.map((item, index) => ( | ||
| <View | ||
| // eslint-disable-next-line react/no-array-index-key | ||
| key={`numbered-list-item-${index}`} | ||
| style={[styles.flexRow, styles.alignItemsStart, styles.mt3]} | ||
| > | ||
| <Text style={[styles.textNormal, styles.pr2, styles.userSelectNone]}>{`${index + 1}.`}</Text> | ||
| <Text style={[styles.flex1]}>{item}</Text> | ||
| </View> | ||
| )); | ||
| } | ||
|
|
||
| export default HelpNumberedList; |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.