Skip to content

Rebase the draft for "trying to only use next endpoint for the major data" onto master #1

Closed
@mk-pmb

Description

@mk-pmb

Thanks for inviting me! As discussed over in "trying to only use next endpoint for the major data", I'm trying to rebase your draft onto master and also apply the changes suggested in the review there.

I've pushed these branches that hopefully will help you see my progress so far, when you look at them in a railroad diagram (like with gitg):

  • use-only-next-for-extra-info-base: The parent commit from which your original branch forked.
  • use-only-next-for-extra-info-250319: My current progress in splitting your draft into small, understandable (for me) parts that I can then try to replicate based on master.
  • use-only-next-for-extra-info-meh: Reverts the improvements, in order to become identical (empty diff) with your original draft. This helps me ensure I didn't forget anything, and also you can easily review exactly what I would like to omit or change.
    • The "[rejected]"/"[debated]" commits revert improvements that I have made based on the review. I marked those review comments with a rocket, so you can more easily see which still need your reply.
    • The bad swap commit most likely was a mistake and should be omitted.
    • I think we should also avoid the bad indent commit because it has a really ugly and confusing diff.

Next steps where I could use your help:

  • Please review my splitting, and if you like it (i.e. makes sense, looks like I've understood what you meant to do), reset your draft branch to use-only-next-for-extra-info-250319.
  • In the "[meh]" commit, the end after templated "watch" seems to be the end of a function. So, how about we avoid the huge "then" branch by instead inverting the condition, putting the short "else" branch first, repeat the templated "watch" and return early? That way, what would have become the "then" branch, can stay as is and doesn't need the ugly indent commit.
    • If it's trivial for you, please add an early return commit to your draft. If you don't have the capacity soon, I can instead try to learn enough crystal to try it myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions