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

Merged
merged 15 commits into from
Mar 12, 2025
Merged

BEDbase Stats UI #170

merged 15 commits into from
Mar 12, 2025

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: 0bf186d
Status: ✅  Deploy successful!
Preview URL: https://3e91a8fd.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'

Copy link
Member Author

Choose a reason for hiding this comment

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

added MetricPlotType

@sanghoonio sanghoonio merged commit 8c759c4 into dev Mar 12, 2025
2 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