Skip to content

Conversation

@jelaniwoods
Copy link
Contributor

@jelaniwoods jelaniwoods commented Jun 6, 2021

Problem

Currently Bootstrap tooltips do not work.

web-git-broken-tooltip

Solution

web-git-fixed-tooltip

Additionally, I switch let to the more widely supported var in the very rare case that someone tries to use an older browser.

@raghubetina
Copy link
Contributor

Looks great. 🚢

Users should never see an error page if a Git action fails. web_git should fail gracefully and redirect with a flash message if something doesn't work.

This commit adds the following:
- enables session in Sinatra to display flash messages.
- refactors controller logic to rescue Git::GitExecuteError exceptions
- displays flash messages on redirect
@jelaniwoods jelaniwoods force-pushed the jw-enable-tooltips branch from 99d1dc2 to 4beb852 Compare June 7, 2021 20:50
@jelaniwoods jelaniwoods merged commit 4beb852 into spring2020 Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants