Coder Social home page Coder Social logo

mathkruger / litefy Goto Github PK

View Code? Open in Web Editor NEW
103.0 6.0 114.0 15.54 MB

a lightweight spotify client

Home Page: https://mathkruger.github.io/litefy

License: MIT License

JavaScript 0.98% TypeScript 69.43% HTML 21.82% CSS 7.77%
first-timers-only angular11 spotify-web-api spotify-sdk

litefy's Introduction

Matheus Kruger

GIF

ℹ About

  • 🔭 Currently working at CI&T
  • 🏠 Living in Itu, SP - Brazil 🇧🇷
  • 🖥 Fullstack Web developer for 6 years.
  • Me 🤝 Typescript

📞 Contact

🌐 Social


✨ Tech Skills


GIT  TYPSCRIPT  JAVASCRIPT  ANGULAR  NODE.JS  HTML5  CSS3  BOOTSTRAP  JAVA  SPRING  PYTHON  C  C++ 


👨‍💻 Statistics

GitHub Streak

litefy's People

Contributors

absanthosh avatar admirhusic avatar alexcode4ever avatar alperergul avatar beniusis avatar crisouteda avatar csubiii avatar devios01 avatar dvirberlo avatar eleonora2687 avatar felix-khlmnn avatar gicorada avatar gkamtzir avatar govindkm avatar idelta777 avatar lazylittlestar avatar mathkruger avatar mayuri2307 avatar nastyadunaeva avatar palakyadav30 avatar plethiec avatar raymond-design avatar sajdakabir avatar semla avatar suhyrhasan avatar sumitshinde-84 avatar surajy93 avatar tragiccow avatar tushar12222 avatar zeljkocarevic 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  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  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  avatar

litefy's Issues

issue reagrding default language

hey @mathkruger

it seems like u did fixed on #55 (commit)

this.translate.setDefaultLang(languages.includes(navigator.language) ? navigator.language : "en");
  1. it still loads a "ukraine" language on the first start rather than "EN" a global language even tho in language picker it is set to English.
    showing the problem

NOTE: it seems to be like if you remove the ua.json the default goes back to en

just wanted to create the issue to make sure it is not intended before I make a pull request

also regarding the push the update of .gitignore to add these two files because it wasn't before :
package-lock.json
yarn.lock

Feature Type: Create/Edit playlist and add track action

Spotify API supports creating and editing playlists. There are many places where the action can happen. For example: The Create Playlist feature can be a button above the list of playlists on the LIbrary page. The Edit Playlist feature can be a button next to the follower/tracks text on the individual playlist's page. The individual tracks should also be able to be added to playlists. The feature would involved new components and changes to existing components. Any ideas on these features?

Errorhandling when not premium

I am getting errors because I am not premium.
Screenshot from 2021-02-04 09-23-48

I can add error-handling. I imagine the api provides some info if the user is prem or not. So could either check that before making the request. Or handle the error after the request. I suggest the latter (handling the error). Easier to get started with and probably good to get add some error-handling in the services anyways?
What do you think?

Make page accessible

I ran an accessibility audit on the page and found accessibility issues like:

  • Missing form labels
  • Missing alternative text
  • Language missing/invalid
  • Redundant links
  • Broken ARIA reference etc
Screenshot 2024-04-25 at 15 32 55

🐛 Bug: Profile picture not showing properly

Subject of the issue 📝

Hi there 👋
Hope everyone is having an amazing day 🌞
This is the first time im using Litefy 💚

After I have installed everything and loged in I saw that the profile picture of my user account wasn't showing properly 🤔

Environment 💻

Angular CLI: 10.2.1
Node: 12.18.1
OS: win32 x64
Crhome: 94.0.4606.71
Angular: 10.2.4

Screenshot 📸

image

Feature: Add country flags for the languages

Would be nice to have little icons with a flag representing the language. Maybe using the most relevant country that speaks that language. I don't know if this would bother someone, but I'll try to do my best lol

Add support for more languages

I think it would be a good idea to add support for other common languages by extending the existing language switching feature.

Refactor function/variable naming

Description

In some parts of code functions and variables are being named in Spanish. That makes it harder for developers to read the code (especially when they don't speak Spanish). It also makes the code less consistent and thus harms future maintainability.

Example of problem
in file search.component.ts:

obterResultados(items) {
    this.resultadosTracks = items.tracks.items;
    this.resultadosPlaylists = items.playlists.items;
    this.resultadosAlbums = items.albums.items;
    this.resultadosArtistas = items.artists.items;
  }

Suggested solution

It might be a good idea to refactor the current code and rename functions and variables from Spanish to English. Doing so would also make it easier for new contributors to understand the code faster.

Convert application to PWA

Progressive Web Apps (PWAs) are applications that you build by using web technologies, and that can be installed and can run on all devices, from one codebase.

PWAs provide native-like experiences to your users on supporting devices. They adapt to the capabilities supported by each device and they can also run in web browsers, like websites.

Does the project use a code formatter?

Does the project have a formatter (i.e prettier)? I know that we have an eslint config but it does not provide formatting.

Code formatter could serve as a coding style guideline for future contributions.

Edit: I could take this on

Improve login page

create a landing page for the login page, showing informations about the project. It may have a link to the github project.

Bug in the language switcher and the language itself

When i first entered the website, i noticed that the page was all in English, but the language switch was showing Portuguese Brazil. It started working properly after i changed it. Nothing serious, but i guess i should point that.

Enhancement: The Settings drop-down menu should disappear when user clicks away

Currently, the drop-down menu (to see the profile and settings) stays dropped down after it is trigger. The drop-down menu feature on Spotify (and Github too) disappears when the user clicks elsewhere, so that the menu doesn't partially block the screen. I think this would sense too, since the language switching feature (which is beside it) also disappears when the user triggers something else.

UI/UX improvements

Hey!
Great project you have there but the UI can have some love as well.

Do you mind If i do some improvements like consistent, responsive UI and UI elements?

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.