kblincoe / VisualGit_SE701_2019_4

1 stars 0 forks source link

Git service for diffs #149

Closed rocketBANG closed 5 years ago

rocketBANG commented 5 years ago

Service that has

  1. Method to get all changed lines for a given filename (vs previous commit), would be nice to be able to specify a commit also but not priority

    {
    type: (Addition, Deletion, Existing)
    text: string,
    lineNumber: number
    }
  2. Method to get the full previous text of a file (vs previous commit), again would be nice to specify commit but not priority

  3. Method to get the author of each line in a file (for the previous commit) or any specific commit

    {
    line: number
    author: string
    }
rocketBANG commented 5 years ago

@sloushsu This is what the diff panel wants for the git service.

WanniCode commented 5 years ago

updated size label to 'Large' since it'll also involve a substantial refactor of functionality that handles the diff panel GUI from file.service.ts into diff.panel.component.ts, as well as establishing an inter-component connection between the file panel and diff panel components, and so on.

i was thinking of perhaps creating a separate issue for this also, but i'll leave the new size label for now.

WanniCode commented 5 years ago

service implemented, but integration of the service currently blocked by #195