Skip to content

Commit

Permalink
chore: update occurrences of insights to app (#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Oct 10, 2023
1 parent db1a426 commit c58cd3e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
release:
environment:
name: ${{ needs.setup.outputs.DEPLOY_ENVIRONMENT }}
url: https://${{ needs.setup.outputs.DEPLOY_SUBDOMAIN }}insights.opensauced.pizza
url: https://${{ needs.setup.outputs.DEPLOY_SUBDOMAIN }}app.opensauced.pizza
name: Semantic release
needs:
- setup
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<br>
<img alt="Open Sauced" src="https://i.ibb.co/7jPXt0Z/logo1-92f1a87f.png" width="300px">
<h1>🍕 insights.opensauced.pizza 🍕</h1>
<h1>🍕 app.opensauced.pizza 🍕</h1>
<strong>The site provides insights to Open Source projects.</strong>
</div>
<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const RecommendedRepoCard = ({ fullName, className }: RecommendedRepoCardProps):
<div className="flex flex-col gap-2 pb-3">
<a
className="text-xl font-semibold"
href={`https://insights.opensauced.pizza/hot/repositories/filter/${fullName}`}
href={`https://app.opensauced.pizza/hot/repositories/filter/${fullName}`}
rel="noopener noreferrer"
target="_blank"
>
Expand Down
1 change: 0 additions & 1 deletion components/organisms/InsightPage/InsightPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ const InsightPage = ({ edit, insight, pageRepos }: InsightPageProps) => {
</Title>

<TextInput placeholder="Page Name (ex: My Team)" value={name} handleChange={handleOnNameChange} />
{/* <Text>insights.opensauced.pizza/pages/{username}/{`{pageId}`}/dashboard</Text> */}
</div>

<div className="flex flex-col gap-4 py-6 border-light-slate-8">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"files": [
"build/**/*"
],
"homepage": "https://insights.opensauced.pizza",
"homepage": "https://app.opensauced.pizza",
"bugs": {
"url": "https://github.com/open-sauced/insights/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function MyApp({ Component, pageProps }: ComponentWithPageLayout) {
const interval = setInterval(() => {
chatButton = document.getElementById("sitegpt-chat-icon");
if (chatButton) {
if (hostname !== "insights.opensauced.pizza") {
if (hostname !== "app.opensauced.pizza") {
chatButton.style.display = "none";
}
if (router.asPath === "/feed" && isMobile) {
Expand Down
2 changes: 1 addition & 1 deletion stories/atoms/text-input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ WithDescriptionText.args = {
disabled: false,
autoFocus: true,
borderless: false,
descriptionText: "insights.opensauced.pizza/statelyai/slug",
descriptionText: "app.opensauced.pizza/statelyai/slug",
};

IsInvalid.args = {
Expand Down
4 changes: 2 additions & 2 deletions stories/atoms/typography-wrapper.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ const TypographyTemplate: StoryFn<typeof TypographyWrapper> = (args) => (
<h2>There are other elements we need to style</h2>
<p>
I almost forgot to mention links, like{" "}
<a href="https://insights.opensauced.pizza">this link to the OpenSauced Insights website</a>. We almost made them
blue but that&apos;s so yesterday, so we went with dark gray, feels edgier.
<a href="https://app.opensauced.pizza">this link to the OpenSauced Insights website</a>. We almost made them blue
but that&apos;s so yesterday, so we went with dark gray, feels edgier.
</p>
<p>We even included table styles, check it out:</p>
<table>
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/utils/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe("[lib] github methods", () => {
});
});
it("Should return an object with isValidUrl set to false", () => {
const result = generateRepoParts("https://insights.opensauced.pizza/hub/insights/new");
const result = generateRepoParts("https://app.opensauced.pizza/hub/insights/new");
expect(result.isValidUrl).toBeFalsy();
});
it("Should return an object with isValidUrl set to false", () => {
Expand Down

0 comments on commit c58cd3e

Please sign in to comment.