GithubHelp home page GithubHelp logo

tresoneur / caerostris Goto Github PK

View Code? Open in Web Editor NEW
40.0 5.0 5.0 828 KB

A Spotify client for the web, written in C# with Blazor.

License: GNU Affero General Public License v3.0

HTML 71.19% C# 4.69% CSS 10.03% JavaScript 1.99% SCSS 12.11%

caerostris's Introduction

Cærostris

Demo

The latest version of Cærostris can be accessed here. Cærostris should be viewed in desktop browsers and on screens at least 1600 pixels wide.

Status of this project

This project is currently under development.

The goal of this project

To create a proof-of-concept Blazor WebAssembly PWA Spotify client with .NET languages and tooling.

How to build

  • Get the latest .NET SDK (and the latest Visual Studio 2019 Preview)

  • Get SpotifyService. You can either place SpotifyService where Caerostris.sln and Caerostris.csproj expect it to be or you can edit the path in the following locations:

    Project("{...}") = "SpotifyService", "..\SpotifyService\SpotifyService.csproj", "{...}"
    EndProject
    
    <ItemGroup>
        <ProjectReference Include="..\SpotifyService\SpotifyService.csproj" />
    </ItemGroup>
  • Get a DevExpress Blazor (free (as in beer)) license and use VS or dotnet nuget add source to supply the resulting nuget source.

  • Run dotnet build.

Design considerations

  • Cærostris uses SCSS. Each razor folder contains a Styles folder with at least one .scss file, which are included in /Styles/Site.scss along with other .scss files in the /Styles folder that do not belong to any one particular component.

  • Cærostris is a Progressive Web App.

caerostris's People

Contributors

tresoneur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

caerostris's Issues

Janky virtual scrolling in datagrids

Virtual scrolling in DevExpress DxDataGrid components feels janky regardless of the amount of data loaded, suggesting a mistake in their implementation.

Pie chart resets its state when a tooltip is clicked

The DevExpress DxChart implementation simply doesn't take it into account that a tooltip might be clicked. A fix for the content of tooltip persisting after its background disappears has already been incorporated into Caerostris.

Playback started in the Library shouldn't end after just a few songs

The Spotify Web API doesn't support starting a playback with the user's saved tracks as a context. DxDataGrid doesn't have support for retrieving the filtered and sorted data.
Result: a hack is used to gather the tracks visible to the user. DxDataGrid doesn't honor the page size property in virtual scrolling mode, so no more than 25 tracks can be known to Caerostris at a time, unless I were willing to use the interface of DxDataGrid to retrieve the sorting and filtering rules, which I am not, because writing my own datagrid would take considerably less time.

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.