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

chore: emotionless #4178

Merged
merged 2 commits into from
Sep 11, 2023
Merged

chore: emotionless #4178

merged 2 commits into from
Sep 11, 2023

Conversation

pete-watters
Copy link
Contributor

@pete-watters pete-watters commented Sep 5, 2023

Try out this version of the Leather — download extension builds.

This PR refactors the wallet to:

  • use CSS objects for base CSS so we can load them into Panda
  • gets rid of our dependancy on emotion in the APP

We will need to QA carefully as we are removing the stacks UI base CSS but it looks mostly OK:

Kapture.2023-09-05.at.09.43.35.mp4

I updated the test-app also and it is missing some stuff inherited from Stacks UI (fonts etc. ) but I believe thats OK for now and we can schedule some improvements there if/when we see fit.

Kapture.2023-09-05.at.09.45.25.mp4

@fbwoolf
Copy link
Contributor

fbwoolf commented Sep 5, 2023

Can you link an issue to your PRs or add the , closes #... to a commit?

@pete-watters pete-watters linked an issue Sep 5, 2023 that may be closed by this pull request
@pete-watters
Copy link
Contributor Author

Can you link an issue to your PRs or add the , closes #... to a commit?

I linked the issue, thanks! Once things are ready for review I'll rebase and change the commit messages. Just working on this in phases and trying to keep work somewhat independent

@pete-watters pete-watters force-pushed the chore/emotionless branch 5 times, most recently from 55c7d17 to 1d2e578 Compare September 8, 2023 13:18
@pete-watters pete-watters marked this pull request as ready for review September 8, 2023 14:14
@fbwoolf fbwoolf changed the title Chore/emotionless chore: emotionless Sep 8, 2023
Copy link
Contributor

@fbwoolf fbwoolf left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Collaborator

@kyranjamie kyranjamie left a comment

Choose a reason for hiding this comment

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

Nice refactor Pete! This'll also help us remove the dependency on babel too.

One observation:
image

On linking issues in the commit itself, this is make a useful generated release log

@pete-watters
Copy link
Contributor Author

Nice refactor Pete! This'll also help us remove the dependency on babel too.

One observation: image

On linking issues in the commit itself, this is make a useful generated release log

Thanks, I know its good practice to do that, I just seemed to be making so many commits I didn't. I'll rebase this onto one commit with an issue linked.

I will fix the issue in the screenshot too before merging, thanks!

@@ -61,6 +61,10 @@ export const Header: React.FC<HeaderProps> = memo(props => {
justifyContent="space-between"
p="base"
minHeight={['', '80px']}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making this change as it looked like we needed a top margin but on review of the design we haven't been changing the colour of the header in extension view:

Screenshot 2023-09-11 at 08 43 14

OR this could be something that had been set by our base CSS

@pete-watters pete-watters added this pull request to the merge queue Sep 11, 2023
Merged via the queue into dev with commit 015c4e1 Sep 11, 2023
28 checks passed
@pete-watters pete-watters deleted the chore/emotionless branch September 11, 2023 07:45
@@ -135,6 +135,7 @@ const config = {
{
test: /\.(ts|tsx)$/,
exclude: /node_modules/,
// #4164 TODO investigate removing babel
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kyranjamie - I had meant to tag you here. I made a new issue for this #4199

Do you think removing babel is something you could do easily? I started to try but I was un-sure and had some difficulty with it

@pete-watters pete-watters linked an issue Sep 11, 2023 that may be closed by this pull request
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.

Remove Babel now that emotion has been removed Chore: Remove emotion + stacks UI
4 participants