Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
James
@CrazyPython
Does SubFire Radio support pulling from SoundCloud or Pandora?
James
@CrazyPython
@acroyear I got it working on firefox: just fork goatslacker/alt-devtool, add my fork as a remote, and cherry-pick f2a7f48 against your repo. Then run npm install. Then about:debugging > Load Temporary Add-on > select any file inside the cloned repo
Joe Shelby
@acroyear

SubFire Radio is just my own system. - it works on the rules, the 'generators', you configure it with. It has reference to the subsonic access (API) to last.fm info for 'similar artists' but that's the closest to external it integrates with. All the app does is configure the rules and generate playlists (which store those rules in json as comments), and then my subfire players can run those generators at runtime to create a unique play queue on demand.

i looked at alt-ng but the changes in direction don't impress me. i'm comfortable with what i have.

the framework is "subfirebase" - it has browser for bookmarks, radio playlists, regular playlists, folders/files, and artists/albums, and a loading component that loads the items as you pick them (All through react-router). then each player just has to create its framing and its player - so i have a dashboard app that is landscape mode, and simpler (no support for file/folder/artist/album browsing -- too distracting in a car), and a full portrait mode mobile player (the replacement for the chrome extension version). The framework took about 9 months, and is itself a standalone web app/PWA...it just doesn't look 'great' because that wasn't the goal. it was a proof of concept for each feature/button...then the players can pick which of those buttons/features they want to support and where they go. the all-in-one approach I tried the first time, where the same app works on a phone and works on a TV, just doesn't really scale right - it is imperfect in both and that wasn't where i wanted it to be.

I have no need for native. PWA is fine by me. I have no need to 'compete' in the webstores with the multiple Android and IOS apps already there. The only exception is the amazon store for FireOS devices (TV and Tablet), the new TV version is still a work in progress (trying to get closer to the Android TV layout specification).

the framework contains the alt actions, stores, dispatcher, even the alt-containers. i just need to instantiate the alt-containers in my App.js and I get it all in the app.
James
@CrazyPython
oh, I thought you meant a general framework that tied those 3 together for any application at all
Joe Shelby
@acroyear
no, very specific to being a subsonic music player app
i can't really see a way to make things more 'generic' - stores and actions are domain specific, your material-ui views are what they are.
Borislavsl
@Borislavsl
Can you show me where I can find materials for React + Alt .js
(except Alt Docs)?
Jovica Aleksic
@loopmode
Hi everybody. Just want to say hi and drop two cents :) because I'm delighted there is still activity in here!
I have a heavily customized alt, or rather something based on alt, in use for really long now in a big project, and I must agree with some of the messages posted here recently: Yes, alt is remarkably stable, and flexible as hell.
I think the only "weak point" is that it's "too flexible": You can achieve things in many different ways, and as a beginner, you just can't tell which one to choose, even or especially after reading the docs. But I still love it. I hope some day I find the time to polish, document and release my remix of alt.
Anyways, cheers to all, and happy coding
hachtr
@hachtr
Question for folks here, is there an actively maintained fork of Alt.js that anyone knows of?
I saw some references to a fork in previous comments but no links.
Jason Rogers
@jacaetevha
@hachtr what would you want a fork to do? Why not get in contact with @goatslacker and ask if you can help with this repo? Or start picking off issues and creating pull requests?
hachtr
@hachtr
@jacaetevha my understanding is @goatslacker isn't updating alt anymore given no updates have been since Sep 8, 2016. I'm mainly looking for updates with the type definitions and using alt with Typescript. I've looked at what is currently there and have had trouble getting it to work in our code base. Also my understanding is Alt Containers use the older React Context API.
Jason Rogers
@jacaetevha

@hachtr my earlier suggestions still stand... Why not get in contact with @goatslacker and ask if you can help with this repo? Or start picking off issues and creating pull requests?

Or, why not ask @goatslacker if you can take over the project?

saeed karami
@saeedkarami_gitlab

hi i want add new makeSelector add to project but this err TypeError: Cannot read property 'toJS' of undefined
(anonymous function)
src/store/ducks/inventories/selectors.js:26
23 |
24 | export const makeSelectProcurements = createSelector(
25 | selectProcurements,

26 | (substate) => substate.toJS(),
27 | );
28 |
29 |

Mateusz
@malaskow
hi there, just one question - does it works with react 16.X?
Jason Rogers
@jacaetevha
Yes. We've been using it with 16.x for over a year now at ISS.
Dan Sadaka
@dsadaka
Greetings everone.
Lim Boon Khai
@bklim5
Hi everyone! Sorry if someone already asked and answer this question, I am having a tough time trying to figure out testing with alt. Essentially my setup is create-react-app with alt, and when I follow the store testing tutorial, I always ended up with TypeError: Class constructor xxxStore cannot be invoked without 'new'. Running the code itself is fine, not sure if everyone has any idea?
Dan
@DanielASAndrews

So I'm upgrading from 0.17.8 to latest, and it seems like alt.js used to support dispatching actions that didn't return anything?

elementSyncComplete() { this.dispatch(); }

Now following through the migration guide where this.dispatch calls are replaced by return

So now I have:

elementSyncComplete() { return; }

But this does not work now, the action does not get dispatched. What's the recommended approach for this?

chetna
@chetnashah
Where is the code for "locations" example given in the official tutorial ?
Could not find full source/link in the docs nor github.
James
@CrazyPython

Hi everyone! Sorry if someone already asked and answer this question, I am having a tough time trying to figure out testing with alt. Essentially my setup is create-react-app with alt, and when I follow the store testing tutorial, I always ended up with TypeError: Class constructor xxxStore cannot be invoked without 'new'. Running the code itself is fine, not sure if everyone has any idea?

sounds like you forgot a "new" keyword

Gourav Makhija
@gouravmakhija18

Good Morning everyone !!

@CrazyPython James I am also facing the same issue. I am trying to run alt-tutorial demo from 'https://github.com/goatslacker/alt-tutorial' using create-react-app with some modification but I also got stock.

Please help if someone has already faced this issue . Repo link where I am facing issue is https://github.com/gouravmakhija18/flux-demo

Note: I don't want to update Alt package with https://www.npmjs.com/package/isb-alt to resolve this issue.

Gourav Makhija
@gouravmakhija18
@CrazyPython James I found solution. Replace 'import Alt from 'alt' with 'import Alt from 'alt/src/index';'
Gourav Makhija
@gouravmakhija18
Working link: https://github.com/gouravmakhija18/flux-demo with additional Add city and remove favourite changes. Only issue pending is Internet explorer because of 'alt/src/index' path babel need to configure in package.json.
Mozahedul
@Mozahedul
Hello, I am here for learning some awesome programming knowledge.
I wanna work and share my programming knowledge with some enthusiastic programmer.
rohit-br-k
@rohit-br-k
hello everyone
am new to alt
is this simple compared to redux and mobx
hello anyone here