Giter VIP home page Giter VIP logo

pacta-dashboard-svelte's Introduction

pacta-dashboard-svelte

This is a demonstration of a dashboard for the Pacta project using Svelte, SvelteKit, Vite, TypeScript, Tailwind and Skeleton UI.

Developing

You will need to have Node.js installed on your machine. You can download it from nodejs.org.

First, install the dependencies:

npm install # or pnpm install or yarn

Then start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

This project uses Vite, which is a build tool that aims to provide a faster and leaner development experience for modern web projects. It's configured in vite.config.js.

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

pacta-dashboard-svelte's People

Contributors

jdhoffa avatar monikafu avatar

Watchers

 avatar

pacta-dashboard-svelte's Issues

deps: adapt to `d3` version 7

It seems that old versions of d3, in particular d3-color, have a pretty severe security dependency.
Unfortunately, we can't just update directly to d3@7 as some of the breaking changes to affect and break out code here.

Will need to consider carefully the version bump, and determine how to adjust the VolTraj and TechMix plotting code to adapt to this new dependency.

Relates to #5, #6, #7 and https://github.com/RMI-PACTA/pacta-dashboard-svelte/security/dependabot/1

FYI @cjyetman @AlexAxthelm this might also be an issue in https://github.com/RMI-PACTA/pacta.interactive.plot and https://github.com/RMI-PACTA/pacta.portfolio.report but would never be caught as there is no packages.json file in that repo for dependabot to check automatically.

feat: handle cases when parameter choices yield no plot in an elegant way

Currently (for techmix but it will be implemented for other plots too) when the parameter choice yields no data an empty white rectangle is drawn in the div. This is not informative for the user. We should come up with a way to inform the user that the selection they made yields no data in an elegant way.

Best to do this once the plots are wired up with all selectors and we do it consistently for all plots.

AB#11900

feat: remove light/dark mode

This dashboard will eventually be served within the PACTA WebApp.

As far as I can tell, there will be no light/dark mode in this WebApp, so I think it doesn't make so much sense to have it in the dashboard (will probably be a bit awkward). Also having two styles would make it much trickier to align the WebApp and Dashboard style.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.