Create Some Helix Design Guidelines for Consistency? #4715
Unanswered
robenkleene
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been noticing a pattern in discussions where there are some overarching design guidelines for Helix, but these aren't published anywhere (that I'm aware of). So you only really see them come up in the comments when ideas are proposed that contradict them.
Here's a few example conversations like this:
I think there would be some value in publishing these guidelines somewhere, then we could reference that document when replying.
And for sure the canonical example is tall the discussions about
vgld
(#863, #1215, #4429, #1511). #1215 especially highlights the importance of a consistent set of design principles, since it seems like the entirevgld
conversation is misguided, since it implies thatgl
(andgh
,gs
, etc...) should actually be selecting the text first.A secondary goal of creating the guidelines would also be to clean up some of the inconsistencies like the goto family of movements not selecting. There are a few other cases where Helix itself seems inconsistent to me, and it would be great to fix that (or publish the reasoning for the inconsistencies, e.g., perhaps there's a logic to it I'm missing).
Suggested Guidelines
selection -> action
model. This means that nothing should change the existing text in a buffer without selecting it first. This also means by extension, all instances of find and replace should leverage selection.gl
,gh
,gs
,ge
, andgg
should be fixed to select by default.)Ctrl-u/d
go up and down a page, but have entirely different meanings in insert mode.)Do these seem like a good set of guidelines? And more importantly, what do you think about publishing these (or others that are agreed upon) somewhere?
I don't think the specifics themselves are so important, but I think it would be great to just have the guidelines people agree on published somewhere, and implemented consistently in the app.
Beta Was this translation helpful? Give feedback.
All reactions