Search

Ideas that are…

Search Ideas


2068 ideas match your query.:

That means duplicate functionality; anytime I customize Devise in the future, I’ll have to remember to adjust this one method as well.

#2693​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

I could extract discussions#show into a new, separate StreamController or something like it. That controller would not use Devise.

#2691​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

Then again, I’d want to redirect users to the sign-in page (and then ideally back to where they were trying to go).

#2690​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

Duplicate of #2677/#2683.

#2685​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

While ideas load, cmd +f won’t work.

#2684​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

I could render the first ~10 top-level ideas immediately and only render the rest as turbo frames off screen. By the time the user scrolls down, they should all be loaded.

#2683​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

Yes, it would be even worse than #2677 (see criticism #2681), where only top-level ideas were turbo frames.

#2682​·​Dennis HackethalOP, 5 months ago​·​Archived

Too many requests when there are enough top-level ideas.

#2681​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

That means cmd + f won’t always work.

#2678​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

For large discussions, wouldn’t that flood the server with requests?

#2676​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

This page used to take ~3.5 seconds to load. Now it renders within 600ms :)

#2668​·​Dennis HackethalOP, 5 months ago​·​Archived

The following commits should address this:

  • 3af3966 Clarify in title that someone revised an idea (rather than originated idea)

    The HTML title now says ‘Idea x revised by…’

  • 6c70cea Underneath idea, indicate that someone revised an idea (rather than submitted it)

    It says ‘Dennis Hackethal, 1 day ago’ for new ideas, ‘Dennis Hackethal revised 1 day ago’ for revisions

  • d20d386 Explain that users can revise each others’ ideas

    As part of the alert on the revision page, when the user is about to revise someone else’s idea.

  • c5748e3 Turn ‘revise’ link into ‘revise their idea’ when it’s someone else’s idea

    Underneath each idea.

  • e0fbd41 List user under each revision in version history

    So that each version is clearly attributed to the corresponding user.

  • 06d3241 List contributors at top of version history

    Comma-separated list to see all contributors at a glance. Eg see here

#2663​·​Dennis HackethalOP revised 5 months ago​·​Original #439​·​CriticismArchived

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.

#2661​·​Dennis HackethalOP revised 5 months ago​·​Original #2658​·​CriticismArchived

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

#2659​·​Dennis HackethalOP revised 5 months ago​·​Original #2646​·​ Battle testedArchived

Complex, requires non-trivial scroll listeners correlated to deeply nested ideas.

#2657​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

Just saw this app that lets you play ambient sounds at home: https://x.com/mirdhaaakanksha/status/1983238682154021218

#2656​·​Dennis HackethalOP, 5 months ago

Idea: ‘The Second Renaissance’, ‘2nd Renaissance’, ‘2R’ for short.

#2654​·​Dennis HackethalOP, 5 months ago​·​Archived

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

#2652​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

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.

#2651​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

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

#2649​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

… copying extra stuff above and below the box quote, and neither gave me the > sign.

Cannot reproduce, neither on iPad nor macOS.

#2644​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

A single new idea somewhere down the tree could invalidate the cache and slow things down again.

#2641​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

Initial page loads would still be slow for users.

#2640​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived

To be clear, if you copy the entire box quote and paste it into a textarea, it will start with the > sign. I just double checked.

You’re saying you’d still want the > if you only copy/pasted part of the box quote, right?

#2639​·​Dennis HackethalOP, 5 months ago​·​Archived

Cache invalidation for user-based caching sounds like a nightmare.

#2638​·​Dennis HackethalOP, 5 months ago​·​CriticismArchived