kblincoe / VisualGit_SE701_2019_1

1 stars 0 forks source link

Add tagging support #29

Open softeng-701 opened 5 years ago

softeng-701 commented 5 years ago

Feature request:

Add support for tagging commits in the past and/or the current commit that has yet to be pushed. This will allow users to mark important points in their repository for example "v1.0" without needing to search for a certain commit message/checksum. Users should also be able to view the tags on the main page.

Ravid12 commented 5 years ago

Update

I spent a lot of time trying to figure out how to do this ticket, and ran into a few issues on the way. Just going to document what I tried and learned from it here:

UI

I first spent some time figuring out how to implement a way for users to add a tag. I figured this would take place in the same modal that pops up when a user clicks a commit on the graph screen.

Add Tag Logic

Display Tag Logic

This was where I had the most trouble.

After a lot of time debugging and further google searching, I was unable to fix this, and ended up working on other things.

Please find my attempt at changing this here: https://github.com/Ravid12/VisualGit_SE701_2019_1/tree/feature/29-raha837-add-tagging-support