Skip to content
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

API-3656 Replace Gotham fonts #261

Merged
merged 2 commits into from Jan 10, 2024
Merged

Conversation

davezuch
Copy link
Member

What does this pull request do?

We are losing our license for Gotham fonts soon, so we replace them with an open source lookalike, Metropolis.

How should this be manually tested?

  • Make sure the fonts render in UI guide

We are losing our license for Gotham fonts soon, so we replace them with
an open source lookalike, Metropolis.
@davezuch davezuch requested review from a team and citizengabe and removed request for a team January 10, 2024 02:16
@citizengabe
Copy link
Contributor

@davezuch I'm having trouble building this project using either Node versions 18 or 20. What version are you on?

@citizengabe
Copy link
Contributor

I was able to get around the webpack error I was seeing on node v18 by using a workaround, but it caused an error in parcel which required me to unset the env var.

I think we need to investigate not using an old version of webpack and getting this project working on the latest version of node.

Copy link
Contributor

@citizengabe citizengabe left a comment

Choose a reason for hiding this comment

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

I worked once I got things built.

@davezuch
Copy link
Member Author

@citizengabe yeah I had to use Node 14 to get the build working. Node 14 is past EOL so in order to install it with Nix I had to run:

NIXPKGS_ALLOW_INSECURE=1 nix-shell -p nodejs_14 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz

I think we need to investigate not using an old version of webpack and getting this project working on the latest version of node.

Yeah I wondered if we should spend time solving this instead of working around it. My feeling is that this repo is basically in maintenance mode and we won't be working with it much more, so it's not worth it. If you feel otherwise though, I'm not opposed to it being addressed.

The step of bumping the `package.json` version was only for Quicksight,
as it isn't used by PureScript package managers. Quicksight no longer
uses this library, so we can get rid of the step.
@davezuch
Copy link
Member Author

@citizengabe I pushed up one more minor change if you don't mind looking it over as well fbecd2b.

@citizengabe
Copy link
Contributor

@citizengabe I pushed up one more minor change if you don't mind looking it over as well fbecd2b.

Looks good

@davezuch
Copy link
Member Author

Thanks for the review!

@davezuch davezuch merged commit 7ed3eed into main Jan 10, 2024
1 check passed
@davezuch davezuch deleted the dave/API-3656/Remove_Gotham_fonts branch January 10, 2024 18:35
@citizengabe
Copy link
Contributor

@citizengabe yeah I had to use Node 14 to get the build working. Node 14 is past EOL so in order to install it with Nix I had to run:

NIXPKGS_ALLOW_INSECURE=1 nix-shell -p nodejs_14 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz

I think we need to investigate not using an old version of webpack and getting this project working on the latest version of node.

Yeah I wondered if we should spend time solving this instead of working around it. My feeling is that this repo is basically in maintenance mode and we won't be working with it much more, so it's not worth it. If you feel otherwise though, I'm not opposed to it being addressed.

I'm fine not updating as long as I can use it as a library without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants