Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

feat: adds typscript and node v20 support #350

Merged
merged 8 commits into from
Nov 13, 2023

Conversation

winsby
Copy link
Contributor

@winsby winsby commented Oct 27, 2023

Description

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR fix an open issue?

  • Yes
  • No

Co-authored-by: Tristan Windham <tristanwindham@gmail.com>
Co-authored-by: Dylan Bathurst <dylanbathurst@users.noreply.github.com>
@winsby winsby requested a review from bucko13 October 27, 2023 20:40
.travis.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@bucko13 bucko13 left a comment

Choose a reason for hiding this comment

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

This is awesome. No major concerns. A couple nits and questions and there are some conflicts to resolve as well. Thanks for doing this!

vite.config.ts Outdated

// https://vitejs.dev/config/
export default defineConfig({
base: "/caravan/#",
base: "/caravan/",
Copy link
Contributor

Choose a reason for hiding this comment

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

I have a memory of there being issues when we moved away from the hash based routing, but I can't remember what it was. Maybe something to do with direct links to pages on the deployed version of the app. Do you remember why this change was necessary?

Copy link
Contributor

Choose a reason for hiding this comment

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

this had to do with the github hosted page not working properly, was added back here --> #323

i believe the tldr is ... if you hit caravan site directly and navigated around, everything was fine - but if you tried to hit a specific page (not the base site), it'd 404.

@@ -0,0 +1 @@
declare module "unchained-wallets";
Copy link
Contributor

Choose a reason for hiding this comment

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

🔜

src/utils/ExternalLink.tsx Outdated Show resolved Hide resolved
@@ -15,7 +15,7 @@ import {
braidDetailsToWalletConfig,
} from "unchained-wallets";
import { Box, Table, TableBody, TableRow, TableCell } from "@mui/material";
import { externalLink } from "../utils";
import { externalLink } from "utils/ExternalLink";
Copy link
Contributor

Choose a reason for hiding this comment

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

👌

src/components/AppContainer.tsx Show resolved Hide resolved
src/components/ClientPicker/PrivateClientSettings.jsx Outdated Show resolved Hide resolved
src/components/ScriptExplorer/OutputsForm.jsx Outdated Show resolved Hide resolved
@winsby winsby requested a review from bucko13 November 13, 2023 15:16
@@ -1,6 +1,9 @@
import React from "react";

export default (url, text) => (
export const externalLink = (
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be capitalized/Pascal case since it's a component.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nevermind. It should be a normal component but I see that the way it's being used elsewhere isn't jsx style. We don't need to address this now.

@bucko13
Copy link
Contributor

bucko13 commented Nov 13, 2023

Just need to revert the removal of the hash routing (or explicit confirmation that it won't break things for published versions of the site) and then I think we're good to go!

@winsby winsby requested a review from bucko13 November 13, 2023 17:55
Copy link
Contributor

@bucko13 bucko13 left a comment

Choose a reason for hiding this comment

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

🔥

@bucko13 bucko13 merged commit f5c3e90 into unchained-capital:master Nov 13, 2023
3 checks passed
@bucko13 bucko13 mentioned this pull request Feb 27, 2024
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants