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

feat(manager): implement separate server stat card grid in the storybook #2084

Merged
merged 9 commits into from
Aug 2, 2024

Conversation

daniellacosse
Copy link
Contributor

@daniellacosse daniellacosse commented Jul 31, 2024

Not actually using it in the app yet. This is a prototype for how the updated server metrics could look. Can always delete later.

Resizing

Screen.Recording.2024-08-01.at.8.57.50.AM.mov

Editing the grid

Screen.Recording.2024-08-01.at.9.09.42.AM.mov

@daniellacosse daniellacosse marked this pull request as ready for review July 31, 2024 13:34
@daniellacosse daniellacosse requested a review from a team as a code owner July 31, 2024 13:34
@github-actions github-actions bot added size/M and removed size/S labels Aug 1, 2024
@daniellacosse daniellacosse changed the title feat(manager): implement separate server stat card in the storybook feat(manager): implement separate server stat card grid in the storybook Aug 1, 2024
</p>
<p class="stat-card-name">
${this.name}
</p>`
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm surprised the linter isn't picking up on things like a missing semi-colon. Or is it not playing nicely with Lit. Do you know?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmmmmmm I don't think eslint is enforcing semicolons. Frankly our linting could probably use an overhaul, but these sorts of things are notoriously difficult to get alignment on. I have configurations that I like - maybe we can start there? https://github.com/daniellacosse-code/promptspinner.com/blob/main/.eslintrc

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think alignment should be an issue these days. The official style guides are pretty comprehensive. Anyway I was mostly curious if I was missing something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wait, is there an official google eslint config? can we extend that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://github.com/google/eslint-config-google seems a little unmaintained 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

I was talking about the style guide, not tooling. But if we did want to look at tooling it seems https://github.com/google/gts might be more up to date?

Copy link
Contributor Author

@daniellacosse daniellacosse Aug 2, 2024

Choose a reason for hiding this comment

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

Right - sorry that I didn't fully explain my train of thought there - I was thinking there must be a tool to enforce our official style guide, and it turns out there is!! And you found it!

@github-actions github-actions bot added size/L and removed size/M labels Aug 1, 2024
@daniellacosse daniellacosse enabled auto-merge (squash) August 2, 2024 15:10
@daniellacosse daniellacosse merged commit 1451b19 into master Aug 2, 2024
17 checks passed
@daniellacosse daniellacosse deleted the daniellacosse/server_stat_card branch August 2, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants