Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatierung der Infos bei der Installation und besseres Feedback beim Fortschritt #2

Merged
merged 7 commits into from
May 12, 2022

Conversation

pavl21
Copy link
Contributor

@pavl21 pavl21 commented May 10, 2022

Die Texte wurden überarbeitet und es wurden Farben + Icons (Unicode) hinzugefügt.

gnmyt and others added 6 commits May 9, 2022 23:32
Es wird jetzt deutlicher gemacht., was genau gerade passiert. Vorher wurde nur mitgeteilt, das etwas fehlt. Jetzt wird jeder Abschnitt gezeigt (Überprüfung). 
Zudem wurde log zu echo ersetzt und es wurden einige Farb- und Sonderzeichenformatierungen hinzugefügt, damit es nicht so langweilig aussieht.
Der Prozess wurde von der Sicht des Nutzers komplett überarbeitet. Man bekommt jetzt mehr Feedback, was genau gerade passiert. Einige Sonderzeichen (Unicodes) wurden hinzugefügt und die Hinweise wurden überarbeitet.
Copy link
Owner

@gnmyt gnmyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich bin auch der Meinung, dass das alles mit Emojis besser aussieht. Noch die 4 kleinen Änderungen hier und da und dann kann ich das ganze mergen. Danke schonmal 👀

install.sh Outdated
echo -e "$GREEN-$NORMAL-$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL$GREEN-$NORMAL" #multicolor
echo -e "$GREEN✓ Installation abgeschlossen: $NORMAL MySpeed wurde unter $INSTALLATION_PATH installiert."
echo -e "Die Weboberfläche findest du im Browser unter $BLUEhttp://localhost:5216$NORMAL."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier müsste man das Leerzeichen verschieben, weil sonst Bash das "http" noch als Variable erkennt

Suggested change
echo -e "Die Weboberfläche findest du im Browser unter $BLUEhttp://localhost:5216$NORMAL."
echo -e "Die Weboberfläche findest du im Browser unter$BLUE http://localhost:5216$NORMAL."

install.sh Outdated
if ! command -v curl &> /dev/null
then
log "Das Paket \"curl\" wurde nicht gefunden, wird aber benötigt. Es wird nun installiert..."
echo -e "$YELLOWℹ\"curl\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier sollte noch ein Leerzeichen ergänzt werden, weil sonst die Anführungszeichen direkt neben dem Emoji stehen, was ein bisschen komisch aussieht 😅

Suggested change
echo -e "$YELLOW\"curl\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
echo -e "$YELLOW \"curl\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."

install.sh Outdated
if ! command -v node &> /dev/null
then
log "Das Paket \"nodejs\" wurde nicht gefunden, wird aber benötigt. Es wird nun installiert..."
echo -e "$YELLOWℹ\"node\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier das gleiche wie vorhin. Vielleicht wieder einfach ein Leerzeichen zwischen dem Emoji und den Anführungszeichen

Suggested change
echo -e "$YELLOW\"node\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
echo -e "$YELLOW \"node\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."

install.sh Outdated
if ! command -v unzip &> /dev/null
then
log "Das Paket \"unzip\" wurde nicht gefunden, wird aber benötigt. Es wird nun installiert..."
echo -e "$YELLOWℹ\"unzip\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier auch wieder das Problem mit den Anführungszeichen. Hier könnte auch wieder ein Leerzeichen rein, damit das ganze besser aussieht

Suggested change
echo -e "$YELLOW\"unzip\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."
echo -e "$YELLOW \"unzip\" ist nicht installiert.$NORMAL Die Installation wurde gestartet..."

Copy link
Owner

@gnmyt gnmyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, jetzt passt alles :)

@gnmyt gnmyt merged commit 61bd3f4 into gnmyt:development May 12, 2022
@gnmyt gnmyt changed the title Patch 1 - Formatierung der Infos bei der Installation und besseres Feedback beim Fortschritt Formatierung der Infos bei der Installation und besseres Feedback beim Fortschritt Jun 10, 2022
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.

2 participants