I sometimes work on PRs where most commits are “valuable” for history/blame, but some are not (for example, correcting the CI config file might be 10 separate commits).
Here’s an idea. A button “select multiple” for commits on the Pull Request page. After you selected a couple of them (selected should go in a row), for example, a dozen of commits in which you were correcting the CI file, you can squash them into one.
They’re not squashed immediately, but they’re squashed at the moment you merge into the branch (your fork or initial branch is not affected).
And then you still can preserve commits which deserve “a separate place”, while squash those you don’t really need to be preserved.
What do you think?