Fixing Pay Invoice and Send Invoice articles #48012
Conversation
trying to fix an issue that's breaking the article format
Trying to fix a formatting issue that's breaking the article. Added "{% include end-selector.html %}" below the Mobile and Desktop settings
|
A preview of your ExpensifyHelp changes have been deployed to https://afe786b9.helpdot.pages.dev ⚡️ |
|
@Christinadobrzyn can you confirm using the preview of your changes that this looks the way you expect it to? |
|
@blimpich thanks for referencing the preview, no it doesn't look right. Everything is grouped by the mobile or desktop. should I create a new PR to try and fix this? The article should look like this: https://8a741651.helpdot.pages.dev/articles/new-expensify/expenses-&-payments/Create-an-expense This is the draft of what is should look like |
|
Ah I see, lemme take a look at it for a minute and see if I can figure out why it looks so wonky |
Update a formatting issue at the top of the article- checked preview and it looks right.
blimpich
left a comment
There was a problem hiding this comment.
Okay I think I understand. @Christinadobrzyn I think what @rushatgabhane meant by this comment is that we are missing a {% include end-selector.html %} from the document. This PR does that but it also removes multiple {% include end-option.html %}.
They are basically acting like HTML tags, so for every time {% include selector.html values="desktop, mobile" %} shows up that means that there needs to be a corresponding {% include end-selector.html %} below it to act as a kind of closing tag. Sort of like Russian nesting dolls.
@Christinadobrzyn can you go through these documents again and make sure that your changes are simply adding the missing {% include end-selector.html %}? Your changes to the end-option tags I think are breaking more things.
| 4. Tap **More features**. | ||
| 5. Under the Earn section, enable the Invoice toggle. | ||
|
|
||
| {% include end-option.html %} |
|
|
||
| {% include info.html %} | ||
| Anyone who receives an Expensify invoice can pay it using Expensify—even if they don’t have an Expensify account. | ||
| {% include end-info.html %} |
There was a problem hiding this comment.
I don't think we should delete this.
| 2. Click **Pay**. | ||
| 3. Choose **Pay as an individual** or **Pay as a business**. | ||
| 4. Click **Add Bank Account** or **Add debit or credit card** to issue payment. | ||
| {% include end-option.html %} |
There was a problem hiding this comment.
Same here, don't think this should be deleted.
| 2. Tap **Pay**. | ||
| 3. Choose **Pay as an individual** or **Pay as a business**. | ||
| 4. Tap **Add Bank Account** or **Add debit or credit card** to issue payment. | ||
| {% include end-option.html %} |
|
And if its easier for you just create a new PR with your changes and add me as the reviewer 👍 |
Creating a new PR based on discussions here - #48012
Creating a new PR based on this discussion #48012
|
Okay, I created a new PR - #48022 If you can take a peek. TY! |
Details
These two articles look bad:
https://help.expensify.com/articles/new-expensify/expenses-&-payments/pay-an-invoice
https://help.expensify.com/articles/new-expensify/expenses-&-payments/Send-an-invoice
I'm hoping this PR will fix them. Per this Slack convo I added "{% include end-selector.html %}" below the mobile and desktop sections.
Fixed Issues
Hopefully I fixed the formatting issue so that the article looks correct. See screenshots below of what it currently looks like.
I think there will probably be other things that need to be fixed - it looks like the links are working but if we can at least fix the formatting then I can figure out what else needs to be fixed.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos