Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Indent guide is wrong #2367

Closed
Closed

Description

@kevinsawicki

Notice how React editor is showing an indent guide under fixturesRoot which shouldn't be there.

Current Editor

screen shot 2014-05-22 at 2 23 42 pm

React Editor

screen shot 2014-05-22 at 2 23 01 pm

Activity

  1. nathansobo commented on May 23, 2014

    @nathansobo
    Contributor

    Why shouldn't it be there again? Seems to make sense to emphasize that indent level.

  2. kevinsawicki commented on May 23, 2014

    @kevinsawicki
    ContributorAuthor

    It definitely is subjective but it seems like over kill to be there in this case, to me the indent guide is only supposed to show when the indent level is changing and between those two lines the indent level isn't changing.

    Look how noisy this gets:

    screen shot 2014-05-23 at 4 08 21 pm

  3. nathansobo commented on May 24, 2014

    @nathansobo
    Contributor

    That seems reasonable, thanks for the explanation.

  4. benogle commented on Jun 17, 2014

    @benogle
    Contributor

    Is this something we're going to fix / change?

  5. nathansobo commented on Jun 17, 2014

    @nathansobo
    Contributor

    Yes. I'll add the remaining issues to the list.

  6. benogle commented on Jun 18, 2014

    @benogle
    Contributor

    I dont think this needs to be in to ship the react editor. We can change the visuals later.

  7. kevinsawicki commented on Jun 18, 2014

    @kevinsawicki
    ContributorAuthor

    @benogle The behavior has regressed though, why wouldn't we fix it?

  8. benogle commented on Jun 18, 2014

    @benogle
    Contributor

    I think we should fix it, but IMO, it's just a visual thing that no one will notice. I dont think it's a blocker to enabling the react editor.

  9. kevinsawicki commented on Jun 18, 2014

    @kevinsawicki
    ContributorAuthor

    The indent guide is completely wrong though, lets just turn it off if it isn't working.

  10. benogle commented on Jun 18, 2014

    @benogle
    Contributor

    I guess I dont see how it is completely wrong. I honestly like the way it is now. I like that I can follow the line through the line breaks:

    screen shot 2014-06-18 at 2 38 06 pm

    Like you said, it's a subjective thing, so I dont think it's a blocker for flipping the switch.

  11. kevinsawicki commented on Jun 18, 2014

    @kevinsawicki
    ContributorAuthor

    Not extending the lines over empty lines is the main issue for me, my main concern is that there were specs for all these cases that grew over time so I view this as a regression.

    Old Editor

    screen shot 2014-06-18 at 2 40 55 pm

    React Editor

    screen shot 2014-06-18 at 2 40 33 pm

  12. kevinsawicki commented on Jun 20, 2014

    @kevinsawicki
    ContributorAuthor

    Here is another example of it being wrong in the React editor I came across this morning:

    Old Editor

    screen shot 2014-06-20 at 9 33 55 am

    React Editor

    screen shot 2014-06-20 at 9 33 43 am

  13. kevinsawicki commented on Jun 20, 2014

    @kevinsawicki
    ContributorAuthor

    In the previous screenshots, I have invisibles turned on so there is no whitespace on any of the empty lines.

  14. benogle commented on Jun 24, 2014

    @benogle
    Contributor

    In those screenshots, the empty line is not being updated. This will fall out of #2711 if it lands as it's using ReactComponents for lines. Otherwise, we can update the empty lines on LinesComponent.updateLineNode()

  15. added 2 commits that reference this issue on Jul 7, 2014
    d692ee1
    2878196
  16. benogle commented on Jul 8, 2014

    @benogle
    Contributor

    🎊 ✨

  17. lock commented on Jan 26, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  18. locked as resolved and limited conversation to collaborators on Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions