Skip to content

Commit ced98d3

Browse files
committed
Merge branch 'main' into fix-changed-workspace-copy-to-add-variation-without-policyName
2 parents d7932c4 + 39610da commit ced98d3

133 files changed

Lines changed: 1563 additions & 1091 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/scripts/createDocsRoutes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const routes = yaml.load(fs.readFileSync(`${docsDir}/_data/_routes.yml`, 'utf8')
4141
const platformNames = {
4242
expensifyClassic: 'expensify-classic',
4343
newExpensify: 'new-expensify',
44+
travel: 'travel',
4445
} as const;
4546

4647
/**
@@ -140,9 +141,11 @@ function createHubsWithArticles(hubs: string[], platformName: ValueOf<typeof pla
140141
function run() {
141142
const expensifyClassicArticleHubs = fs.readdirSync(`${docsDir}/articles/${platformNames.expensifyClassic}`);
142143
const newExpensifyArticleHubs = fs.readdirSync(`${docsDir}/articles/${platformNames.newExpensify}`);
144+
const travelArticleHubs = fs.readdirSync(`${docsDir}/articles/${platformNames.travel}`);
143145

144146
const expensifyClassicRoute = routes.platforms.find((platform) => platform.href === platformNames.expensifyClassic);
145147
const newExpensifyRoute = routes.platforms.find((platform) => platform.href === platformNames.newExpensify);
148+
const travelRoute = routes.platforms.find((platform) => platform.href === platformNames.travel);
146149

147150
if (expensifyClassicArticleHubs.length !== expensifyClassicRoute?.hubs.length) {
148151
console.error(warnMessage(platformNames.expensifyClassic));
@@ -154,8 +157,14 @@ function run() {
154157
process.exit(1);
155158
}
156159

160+
if (travelArticleHubs.length !== travelRoute?.hubs.length) {
161+
console.error(warnMessage(platformNames.travel));
162+
process.exit(1);
163+
}
164+
157165
createHubsWithArticles(expensifyClassicArticleHubs, platformNames.expensifyClassic, expensifyClassicRoute.hubs);
158166
createHubsWithArticles(newExpensifyArticleHubs, platformNames.newExpensify, newExpensifyRoute.hubs);
167+
createHubsWithArticles(travelArticleHubs, platformNames.travel, travelRoute.hubs);
159168

160169
// Convert the object to YAML and write it to the file
161170
let yamlString = yaml.dump(routes);

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ android {
114114
minSdkVersion rootProject.ext.minSdkVersion
115115
targetSdkVersion rootProject.ext.targetSdkVersion
116116
multiDexEnabled rootProject.ext.multiDexEnabled
117-
versionCode 1009018202
118-
versionName "9.1.82-2"
117+
versionCode 1009018203
118+
versionName "9.1.82-3"
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

docs/_data/_routes.yml

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,14 @@ platforms:
8484
icon: /assets/images/subscription-annual.svg
8585
description: Review Expensify's subscription options, plan types, and payment methods.
8686

87-
- href: travel
88-
title: Travel
89-
icon: /assets/images/plane.svg
90-
description: Manage all your corporate travel needs with Expensify Travel.
91-
9287

9388
- href: new-expensify
9489
title: New Expensify
9590
hub-title: New Expensify - Help & Resources
9691
hub-description: Questions? Find the answers by clicking a Category or using the search bar.
9792
url: new.expensify.com
9893
description: "Your account settings look like this:"
99-
image: /assets/images/settings-new-dot.svg
94+
image: /assets/images/help-new.png
10095

10196
hubs:
10297
- href: getting-started
@@ -133,11 +128,6 @@ platforms:
133128
title: Expensify Card
134129
icon: /assets/images/hand-card.svg
135130
description: Explore the perks and benefits of the Expensify Card.
136-
137-
- href: travel
138-
title: Travel
139-
icon: /assets/images/plane.svg
140-
description: Manage all your corporate travel needs with Expensify Travel.
141131

142132
- href: connections
143133
title: Connections
@@ -154,3 +144,41 @@ platforms:
154144
icon: /assets/images/subscription-annual.svg
155145
description: Review Expensify's subscription options, plan types, and payment methods.
156146

147+
- href: travel
148+
title: Expensify Travel
149+
hub-title: Expensify Travel
150+
hub-description: Questions? Find the answers by clicking a Category or using the search bar.
151+
url: travel.expensify.com
152+
description: "Get the help you need to book and manage travel."
153+
image: /assets/images/help-travel.png
154+
155+
hubs:
156+
- href: getting-started
157+
title: Getting Started
158+
icon: /assets/images/accounting.svg
159+
description: "Learn how to get started with Expensify Travel."
160+
161+
- href: booking-travel
162+
title: Booking with Expensify Travel
163+
icon: /assets/images/simple-illustration__luggage.svg
164+
description: "Everything you need to know about booking flights, hotels, and more with Expensify Travel."
165+
166+
- href: managing-trips
167+
title: Managing trips
168+
icon: /assets/images/plane.svg
169+
description: "Learn how to easily manage, modify, or cancel your trips."
170+
171+
- href: company-setup
172+
title: Setting up your company in Expensify Travel
173+
icon: /assets/images/gears.svg
174+
description: "Set up your company to manage departments, users, booking restrictions, and more."
175+
176+
- href: travel-policy
177+
title: Creating a travel policy
178+
icon: /assets/images/simple-illustration__rules.svg
179+
description: "Create a clear, effective travel policy for employee bookings."
180+
181+
- href: travel-analytics
182+
title: Travel Analytics
183+
icon: /assets/images/simple-illustration__chart.svg
184+
description: "Track spend, spot savings, and drive smarter bookings with travel analytics."

docs/_includes/hub.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
{% assign activePlatform = page.url | replace: '/', ' ' | truncatewords: 1 | remove:'...' %}
1+
{% assign urlParts = page.url | split: '/' %}
2+
{% assign activePlatform = urlParts[1] %}
3+
{% assign activeHub = urlParts[3] %}
4+
25
{% assign platform = site.data.routes.platforms | where: "href", activePlatform | first %}
36

4-
{% assign activeHub = page.url | remove: activePlatform | remove: "/hubs/" | remove: "/" | remove: ".html" %}
57
{% assign hub = platform.hubs | where: "href", activeHub | first %}
68

79
<h1 class="title">{{ hub.title }}</h1>

docs/articles/expensify-classic/travel/Approve-travel-expenses.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

docs/articles/expensify-classic/travel/Book-With-Expensify-Travel.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)