Live data from Hacker News

Show HN: Upmin – An Admin Framework for Ruby on Rails

upmin.com

11–20 of 55 posts

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#11

Earlier quoted context omitted.

I am biased, but I didn't like a few things about active admin: 1. Customizing views requires that you use Arbre. Learning an entirely new tool for generating webpages when every developer is already familiar with partials, html, erb, etc seemed backwards to me. 2. I tried to design upmin-admin so it was easier to setup. Active admin requires a little bit more work (but truthfully not a ton more). 3. Adding things li…

i like this, i think a new project can learn from what (some) people don't like of AA: stuff like arbre, too much dynamism/magic, not so rails way, custom css... at first look upmin seems on the right way (imho), but i personally don't like the haml choice.

Re the choice of haml - you don't have to use haml. That just happens to be what I chose to use, but if you watch the videos you will see that you can create partials with erb files instead.

I intentionally used erb in the videos to try to get this point across, but perhaps I should try to make it more obvious.

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#12
I've always been at peace with Rails' lack of default opinions or framework for admin views...I kind of just thought that Admin was just a hard problem to solve anyway, so why even bother. But then again, I probably would've thought that about ORM, and yet ActiveRecord can fill in very admirably...Hope this project is successful in creating that kind of happy balance between abstraction and customization.

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#13
post #12

I've always been at peace with Rails' lack of default opinions or framework for admin views...I kind of just thought that Admin was just a hard problem to solve anyway, so why even bother. But then again, I probably would've thought that about ORM, and yet ActiveRecord can fill in very admirably...Hope this project is successful in creating that kind of happy balance between abstraction and customization.

Thanks

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#14

Earlier quoted context omitted.

i like this, i think a new project can learn from what (some) people don't like of AA: stuff like arbre, too much dynamism/magic, not so rails way, custom css... at first look upmin seems on the right way (imho), but i personally don't like the haml choice.

Re the choice of haml - you don't have to use haml. That just happens to be what I chose to use, but if you watch the videos you will see that you can create partials with erb files instead. I intentionally used erb in the videos to try to get this point across, but perhaps I should try to make it more obvious.

Just a quick glitch-in-the-matrix report... in your video about using your own widgets, the state of the shipment was "out for delivery" or something like that. But when you added the widget and refreshed, it showed as a few states behind.

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#16

Earlier quoted context omitted.

Re the choice of haml - you don't have to use haml. That just happens to be what I chose to use, but if you watch the videos you will see that you can create partials with erb files instead. I intentionally used erb in the videos to try to get this point across, but perhaps I should try to make it more obvious.

Just a quick glitch-in-the-matrix report... in your video about using your own widgets, the state of the shipment was "out for delivery" or something like that. But when you added the widget and refreshed, it showed as a few states behind.

Haha, I noticed this but didn't want to redo the video. This is because the store_demo application doesn't actually store a status - it just randomizes it. See: https://github.com/upmin/store_demo/blob/master/app/models/s...

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#17

How does Upmin approach forms for relationships? With both rails_admin and Active Admin, I found complex relationships like has many through multiple, and has one with scoped collections frustratingly hard. (in fairness I know it's not easy to automate)

Right now, we don't do much more than show relationships. I think we can do much better than Active Admin or Rails Admin (and hopefully they can learn from us :D) but it won't be added in for at least a week. If you want to create the issue on GitHub I can try to keep you updated on the status of this. - https://github.com/upmin/upmin-admin-ruby/issues

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#19

I checked out the videos but haven't used the software. Two questions: - I need my fields to be nillable. Does upmin differentiate nil and empty string? - How difficult is it to add support for DataMapper?

Nil/Empty String - not right now. If you (or I can) create an issue we can get this supported correctly.

DataMapper - An issue exists for this, but it is not currently implemented. I'm not 100% sure the scope of supporting it, but from what little research I have done it shouldn't be a major undertaking.

Re: Show HN: Upmin – An Admin Framework for Ruby on Rails

#20

Earlier quoted context omitted.

Just a quick glitch-in-the-matrix report... in your video about using your own widgets, the state of the shipment was "out for delivery" or something like that. But when you added the widget and refreshed, it showed as a few states behind.

Haha, I noticed this but didn't want to redo the video. This is because the store_demo application doesn't actually store a status - it just randomizes it. See: https://github.com/upmin/store_demo/blob/master/app/models/s...

Dang! I thought I saw a real glitch. :)
Post reply on HN