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

BEDbase Stats UI #170

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open

BEDbase Stats UI #170

wants to merge 12 commits into from

Conversation

sanghoonio
Copy link
Member

Starting a PR for the stats view

Copy link

cloudflare-workers-and-pages bot commented Feb 20, 2025

Deploying bedhost-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2465ab5
Status: ✅  Deploy successful!
Preview URL: https://2cc39d02.bedhost.pages.dev
Branch Preview URL: https://stats-ui.bedhost.pages.dev

View logs

@khoroshevskyi khoroshevskyi requested a review from nleroy917 March 7, 2025 03:51
Copy link
Member

@nleroy917 nleroy917 left a comment

Choose a reason for hiding this comment

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

Two tiny suggestions, but otherwise this looks great!

@@ -185,7 +188,7 @@ export const GenomicFeatureBar = (props: Props) => {
}

return (
<div className="border rounded p-2 shadow-sm">
<div className="border rounded p-2 shadow-sm" style={{ height: "calc(100% - 0.5rem - 2px)" }}>
Copy link
Member

Choose a reason for hiding this comment

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

Second time I've seen this style -- could just add to our globals css sheet

);

type Props = {
type: string;
Copy link
Member

Choose a reason for hiding this comment

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

consider making this a MetricPlotType type:

type MetricPlotType = 'bar' | 'pie'

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