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

RAM pages polishing #138

Merged
merged 19 commits into from
Oct 1, 2024
Merged

RAM pages polishing #138

merged 19 commits into from
Oct 1, 2024

Conversation

dafuga
Copy link
Contributor

@dafuga dafuga commented Sep 13, 2024

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Sep 13, 2024

Deploying 2nicove with  Cloudflare Pages  Cloudflare Pages

Latest commit: e38a22c
Status: ✅  Deploy successful!
Preview URL: https://31b62761.unicove2.pages.dev
Branch Preview URL: https://ram-polishing.unicove2.pages.dev

View logs

let { data, debug = true }: Props = $props();
// Seeing a weird bug with svelte where this component is rerendered with data being undefined
// This is a workaround to prevent the component from breaking the page
let { data = [], debug = true }: Props = $props();
Copy link
Member

Choose a reason for hiding this comment

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

I'm not seeing any issues here with it removed. This must be your local environment?

I'd rather not leave code like this here 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is super weird, I only see the error when going from the RAM overview page to one of the other RAM pages. You're not seeing the same thing?

Copy link
Member

Choose a reason for hiding this comment

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

No I don't see anything weird when navigating between the RAM page without this code.

Copy link
Contributor Author

@dafuga dafuga Sep 14, 2024

Choose a reason for hiding this comment

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

weird.. Maybe there is something different about my environment 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just ran bun clean and I'm still seeing the errors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2024-09-14 at 12 28 40 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah actually, the above was redundant because of this line. If you remove it, you should see the error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the redundent code above 👍

dafuga and others added 11 commits September 13, 2024 17:39
Cast to a number and leave as unknown
refactor: rename extended select option type
* refactor: use index in token select value

* refactor: attempt fix on generic types

* fix: type error in token select props

* Refactor token select dafuga (#144)

* debug: making selected a value

* fix: type errors

* fix: type error

* chore: make format

* chore: remove unused method

---------

Co-authored-by: Dean Sallinen <7519573+deansallinen@users.noreply.github.com>

* revert: update eslint.config.js

---------

Co-authored-by: Daniel Fugere <danielfugere28@gmail.com>
@aaroncox aaroncox merged commit 6b405a2 into dev Oct 1, 2024
1 of 3 checks passed
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.

3 participants