Veritula – Meta

Showing only ideas leading to #2646 and its comments.

See full discussion​·​See most recent related ideas
  Log in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.

Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2630​·​
Only version leading to #2646 (2 total)

Discussions are getting slower to render as they grow. It’s a rendering issue (not a db issue).

CriticismCriticized1*Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2646​·​
1st of 2 versions

I could use ActionController::Live to stream ideas to the page one by one. Instant page load.

Criticized2Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2660​·​

Superseded by #2659. This comment was generated automatically.

Criticism of #2646Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2661​·​
2nd of 2 versions

Changing the view logic so that the controller can stream each deeply nested idea separately sounds non-trivial. It’s not clear to me how to do that currently. It may be possible someday if I adjust Hiccdown to allow the use of enumerators or something like that.

Criticism of #2646Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2647​·​

Including that module significantly slows down hot reloads on all pages. I need a tight feedback loop in dev.

Criticism of #2646Criticized1Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2652​·​

Replacing a raw SQL query in Idea.tree with a standard ActiveRecord query solves this issue.

Criticism of #2647Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2648​·​

Fast UX is more important than fast developer experience.

Criticism of #2647Criticized1Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2649​·​

A slow developer experience will slow down all further development, including bug fixes and feature rollouts, which hurts UX as well.

Criticism of #2648Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2650​·​

After resetting my working directory and beginning to implement streams a second time, I can no longer reproduce this issue, despite reasonable attempts to reproduce it.

Criticism of #2647Criticized1Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#2651​·​

I’ve since been able to reproduce the issue after all. Running a raw SQL query in Idea.tree in combination with the inclusion of the Live module seems to mess with Rails’s reloader.

Criticism of #2650Archived