From c505633004b43de8df663e7151d649f2f4f33c6e Mon Sep 17 00:00:00 2001 From: Pascal Andy Date: Mon, 9 May 2022 17:24:09 -0400 Subject: [PATCH 1/2] UX: refactoring config_default.sh --- bashlava.sh | 11 ++--------- bashlava_config.sh => config_default.sh | 0 2 files changed, 2 insertions(+), 9 deletions(-) rename bashlava_config.sh => config_default.sh (100%) diff --git a/bashlava.sh b/bashlava.sh index 9d0c2d9..64b1f1b 100755 --- a/bashlava.sh +++ b/bashlava.sh @@ -18,17 +18,10 @@ PR Title: New Feat: 0o0o - Impact on: #4, #8, #9 #10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -TODO -PR Title: UX: prompt NEXT STEP must shows more details -- x() is done | app_name: branch_name -- With the interactivity (next move), we can forget where we were -- it will help us a lot when shuffling between different projets, branch, pr -- Impact on: #4, #8 - # TODO -- rename config_default.sh -- consider config_custom (which overrides the default) +- UX: refactoring config_default.sh +- consider config_custom.sh (which overrides the default) # TODO show version is missing diff --git a/bashlava_config.sh b/config_default.sh similarity index 100% rename from bashlava_config.sh rename to config_default.sh From 2d5ec0d30030ed50dbaf472a7efb09f570541623 Mon Sep 17 00:00:00 2001 From: Pascal Andy Date: Mon, 9 May 2022 17:27:31 -0400 Subject: [PATCH 2/2] UX show more log() when we commit --- bashlava.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bashlava.sh b/bashlava.sh index 64b1f1b..c84397a 100755 --- a/bashlava.sh +++ b/bashlava.sh @@ -20,19 +20,20 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # TODO -- UX: refactoring config_default.sh + +UX: refactoring config_default.sh - consider config_custom.sh (which overrides the default) +- Impact on: #4, #8 +UX show more log() when we commit +- voir la version short du hash +- Impact on: #4, #8 # TODO show version is missing - need to add it back - was delete when we refactor show() -# TODO log() -- voir la version short du hash - - TODO edge() - dynamic edge name creation - update path to ~/Library/Application Support/FirePress/bashlava @@ -229,7 +230,7 @@ function commit { # User_ git status && git add -A && git commit -m "${input_2}" && git push Show_What_Was_Done - git --no-pager log --decorate=short --pretty=oneline -n1 + git --no-pager log --decorate=short --pretty=oneline -n4 _doc_name="fct_c_next.md" && Show_Docs } @@ -486,7 +487,7 @@ function log { # User_ Condition_Attr_2_Must_Be_Empty Condition_No_Commits_Pending - echo && git --no-pager log --decorate=short --pretty=oneline -n10 && echo + echo && git --no-pager log --decorate=short --pretty=oneline -n8 && echo } function test { # User_