Skip to content

Highlight TODO and FIXME. #2634

Closed
Closed

Description

@MickaToast

Would be nice to have a way to easily find/see TODO and FIXME written in files.

i.e: See if a Pull Request stills contain new TODO/FIXME.

Activity

  1. sindresorhus commented on Dec 18, 2019

    @sindresorhus
    Member

    Can you elaborate more on how you imagine it would look? For example, would TODO comments be bolded or something.

  2. fregante commented on Dec 18, 2019

    @fregante
    Member

    It could also be shown in #2579, e.g. "This PR adds 2 TODOs" but it would require a fetch of all the changes, which might be heavy (or heavy PRs could be excluded, if possible)

  3. MickaToast commented on Dec 19, 2019

    @MickaToast
    Author

    Can you elaborate more on how you imagine it would look? For example, would TODO comments be bolded or something.

    Not sure here what could be the best, either write it somewhere to show the total added TODO, or something like this:

    Capture d’écran 2019-12-19 à 14 24 30

    Maybe also make it available in header of file description:
    Capture d’écran 2019-12-19 à 14 39 30
    And on view changes from PR:
    Capture d’écran 2019-12-19 à 14 41 37

    And finally in the code highlight the TODOs

  4. Zeko369 commented on Dec 19, 2019

    @Zeko369

    Maybe also show FIXMEs

  5. MickaToast commented on Dec 20, 2019

    @MickaToast
    Author

    Maybe also show FIXMEs

    Indeed, will change the title

  6. changed the title [-]Highlight TODOs.[/-] [+]Highlight TODO and FIXME.[/+] on Dec 20, 2019
  7. fregante commented on Aug 8, 2020

    @fregante
    Member

    Note: I think eslint can automatically show this information inline as GitHub annotations. Example:

    Screen Shot 2020-04-18 at 12 13 32

    Hopefully XO will soon too. xojs/xo#465

  8. ocarreterom commented on Oct 25, 2020

    @ocarreterom

    What do you think about something like this?

    Captura de pantalla 2020-10-25 a las 19 37 02 2

    Captura de pantalla 2020-10-25 a las 19 37 02

  9. fregante commented on Oct 26, 2020

    @fregante
    Member

    Too complex, plus that line is already super crowded and we had to disable a feature on it already.

    On the files tab, I think XO or eslint already takes care of that via GitHub Actions annotations.

    On the Conversation tab it would be useful to show this piece of information before the Mergeability box as suggested. I wonder if it’s useful to just show a compact list of GitHub annotations as a generic feature.

  10. MickaToast commented on Oct 26, 2020

    @MickaToast
    Author

    Not sure what's actually the idea behind the project, but handling features via Github Actions (or any other CI application) would add some restrictions to the project. For instance, I don't use and don't intend to use Github Actions, such features wouldn't be accessible to me if it's handled this way.

  11. fregante commented on Oct 27, 2020

    @fregante
    Member

    Indeed. Adding this piece of information is actually not too difficult on the Files tab since the content is already there; the problem is finding a way to place it other than inline/per-file like you showed in your mockup in December.

    Perhaps this feature can initially be just that since it doesn’t require any API calls.

  12. fregante commented on Sep 17, 2021

    @fregante
    Member

    Tracked in #2579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions