Search

Ideas that are…

Search Ideas


3007 ideas match your query.:

As of 9702c05, a revision activity now says that the idea was either marked or unmarked as a criticism.

#353·Dennis HackethalOP, over 1 year ago·CriticismArchived

Done as of 735c3cc.

#352·Dennis HackethalOP, over 1 year ago·CriticismArchived

When a comment is a criticism on another criticism, the activity should say ‘So and so addressed criticism #…’

#351·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

The activity feed just shows top-level criticisms as regular ideas. They should be shown as criticisms just like when they are child ideas.

#349·Dennis HackethalOP revised over 1 year ago·Original #340·CriticismCriticized1Archived

such like

‘just like’

#348·Dennis HackethalOP, over 1 year ago·CriticismArchived

Done as of 8269806.

#347·Dennis HackethalOP, over 1 year ago·CriticismArchived

Done as of 7e7c6cd.

#346·Dennis HackethalOP, over 1 year ago·CriticismArchived

Should probably show the explanation in a revision, when given. In the activity feed, that is.

#344·Dennis HackethalOP revised over 1 year ago·Original #338·CriticismCriticized1Archived

Done as of 146e967.

#343·Dennis HackethalOP, over 1 year ago·CriticismArchived

Highlight current nav item.

#342·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

It doesn’t really matter. This would be like calling a controller action from a helper method. Not something people do.

#341·Dennis HackethalOP, over 1 year ago·CriticismArchived

The activity feed just shows top-level criticisms as regular ideas. They should be shown as criticisms such like when they are child ideas.

#340·Dennis HackethalOP, over 1 year ago·CriticismCriticized2Archived

Should I give the icons in the activity feed colors?

#339·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

Should probably show the explanation in a revision, when given.

#338·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

When all I change during a revision is the criticism flag, the activity log just says ‘no changes’.

#337·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

I think the thing I’m really fighting here is Rails being object-oriented. Which I can’t do anything about.

Not sure the Rails team realizes how much OOP reduces the extensibility of Rails.

#335·Dennis HackethalOP revised over 1 year ago·Original #334

I think the thing I’m really fighting here is Rails being object-oriented. Which I can’t do anything about.

Not sure the Rails team realizes how much OOP reduces the extensibility of Rails.

#334·Dennis HackethalOP, over 1 year ago·CriticismCriticized1

Having explored three different ideas, I believe #302 – having regular helper methods to render Hiccdown structures – is the best.

The idea is not without its flaws, but having to qualify a method name by, say, calling it idea_form instead of form is still better than manually having to pass the view context around all the time and not being able to trivially access instance variables.

So I’ll stick with #302 for now, which is the status quo already.

#333·Dennis HackethalOP, over 1 year ago

#327 applies here, too: no access to instance variables inside helper class methods.

#332·Dennis HackethalOP, over 1 year ago·Criticism

Not as of #330, they couldn’t.

#331·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

Hiccdown methods should live in their own, separate classes. How about they are called ‘displays’?

ruby
class ProductsDisplay
def index vc, # …
vc.some_helper_method
end
end

Behind the scenes, the Hiccdown gem would need to make the instance variables available to the display class:

ruby
display = @display_module.new
view_context.instance_variables.each do |iv|
display.instance_variable_set(
iv,
view_context.instance_variable_get(iv)
)
end

Then:

ruby
class ProductsDisplay
def index vc, # …
vc.some_helper_method(@products)
end
end
#330·Dennis HackethalOP revised over 1 year ago·Original #313·Criticized2Archived

That’s way too verbose.

#329·Dennis HackethalOP, over 1 year ago·CriticismArchived

They are: vc.instance_variable_get(:@foo)

#328·Dennis HackethalOP, over 1 year ago·CriticismCriticized1Archived

Instance variables are not available inside the methods.

#327·Dennis HackethalOP, over 1 year ago·CriticismArchived

I’m trying this now. Having to prepend every invocation of a helper method with vc. is getting really old really fast.

#326·Dennis HackethalOP, over 1 year ago·CriticismArchived