atomic_assets's People
Forkers
dhumphreysatomic_assets's Issues
Component Generator Bug
In lib/rails/generators/atomic_assets/templates/component.rb
line 1 references @component.component_name
but is never set in the generator.
asset generator has atomic_cms specific code in it
We should migrate most of the methods out of the templates/component.rb file and push that logic over to the CMS specific generators.
def edit
rtn = cms_fields(field_types)
rtn << h.component(<%= ":#{@component.key}" %>, field_previews).render
rtn.html_safe
end
protected
def field_previews
{
header: "{{preview.header}}",
content: markdown_preview('preview.content')
}
end
def field_types
{
header: { field_type: "text" },
content: { field_type: "markdown" }
}
end
and from the component
if add_option(options[:header])
is an active controller hack that is included in the AtomicCms readme, not even the project.
Lets clean it up!
Generating text_block component freezes
While installing and configuring the Atomic CMS, at the step where you have to create the text_block component, after I ran rails g atomic_assets:component text_block
the terminal hangs.
atomic asset generator
When creating a new atomic asset, the developer should be able to run
rails g atomic_assets:component component_name
and have the associated files created for them
- component_name.rb
- component_name.scss
- component_name.js
- component_name.html.slim
Gem ownership
Hey guys! :) Tyler asked me to add Spartan as a gem owner on ruby gems. He said the username was "spartansystems", but the CLI wants an email and gives me this result when I try to transfer:
$ gem owner -a spartansytems atomic_assets
# Adding spartansytems: Owner could not be found.
Let me know the email(s) to use, and I will add you guys.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.