Ok sam let’s do it, ember or vue.js doesn’t make any difference to me, your call.
Then I might try Vue.js, I have already tried Ember and React. Might be a good opportunity.
OK… after quite a lot of interesting reads…
I’m building a base Rails 5 API (postgres) with no sprockets/turbolinks/action cable, using webpack to build/load es6 js files and scss css files. And the framework will be Vue.js. There will probably be no css framework, and unless you are against it I will use flexbox.
I’ve decided webpack over rollup quite a bit arbitrary, but I’ve found a lot more documentation on webpack than on rollup.
Once I’ve finished the skeleton, I will submit it for review.
@erlend_sh I need you on how we rate sites:
- arbitrary (discourse staff defines the sites featured on the home) and categories lists sites alphabetically
- people can vote for sites (+/-) or only (+)
- something else?
- we probably need a system to avoid spamming/against law submissions, any idea on this?
- do you have a list of categories for the sites please?
This one, at least for starters.
Maybe we could hook the submission process up with user API keys?
- Site admin enters
- Site admin opts in to the directory via the user API
- The new site enters our queue for review.
That way, as far as I can tell, the only way to spam our queue would be to generate a great number of Discourse instances, which is…, not very cost efficient spamming.
Right. About that, what do you think about a more tag-like system? I often find myself limited by a single category. Take http://forum.gethopscotch.com/ for instance. I think this community is equal parts “Online Education” and “Software Development”, so I’d like it to appear in both.
The tougher question then is how we should do featured listings. If it’s not too hard to do, I’d prefer to select featured items per tag and not globally, i.e. Hopscotch could be a featured community in “Online Education”, but a regular listing in “Software Development”.
The taxonomy will certainly change over time, but here’s something to start with:
- Software Development
- Media Outlets
thx, 100% agreed on tags.
I will think about your answer and make a proposal.
Im about to finish my skeleton app.
Ok I feel like I have something decent:
Waiting for comments, do not hesitate, I want to learn. Also tell me if you have any issue starting the apps.
The skeleton is mostly focused on the js side of the App, the rails side is easier for me and shouldn’t have any surprise (active_model_serializer/rspec…) I will work on it later, once js is OK.
I tried to follow what you use on Discourse, but chose
Karma as it’s recommended with webpack.
It’s hard for me to just review a skeleton app like this. I think it probably makes sense to focus more on building out the features to the point where we can try it out.
Sure Working on it!
Any news on this Joffrey? I realised we never talked in-depth about UX & general layout. You’re free to design it to your fancy, but if you’d like some specifics I’d be happy to provide some mockups.
Im in mauritius island for one more week, and then I will resume work on this.
But yes anything you have on UX, features… is interesting for me.
@erlend_sh so what do you have ?
It seemed more complicated in my head, but when I’m laying it out on the screen I don’t see much reason to make it more complex than this:
Featured section with random picks from the Featured pile
Secondary section showing either randomly selected sites or most recently updated (i.e. most recently pinged, not most recently added). That way if a site has gone down it’ll get pushed to the bottom.
It’d work basically the same if you drill into a tag like #games, except of course it’d only show sites tagged #games in both the Featured and regular section.
The horizontal tags menu might benefit from a drop-down to the far left, similar to Discourse’s category selector. Most popular tags could still be shown next to it.
Anything like what you imagined? Won’t mind doing some back-and-forth on this.
Im thinking that for a v1 we maybe dont need any front js stuff, just using rails and a basic config file (contains a list of sites with tags) you could edit on github, would be good enough, no?
the most annoying thing with this static file is that we will duplicate tags, and its kind of error prone.
how do we decide the list of tags shown at the top? we display all tags?
ok I think I can start from it, my plane is tomorrow, so expect some work by monday.