Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Add the possibility to rename #291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bguillaumat
Copy link

@bguillaumat bguillaumat commented Jan 21, 2021

louneskmt
louneskmt previously approved these changes Jan 21, 2021
}

this.$bvToast.toast(
`You've successfully changed your Name`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
`You've successfully changed your Name`,
`You've successfully changed your name`,

Shouldn't this be lowercase?

size="lg"
:disabled="isChangingName || newName.length === 0"
@click="changeName"
>{{ isChangingName ? 'Changing Name...' : 'Change name'}}</b-button>
Copy link
Contributor

Choose a reason for hiding this comment

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

(Same here)

@@ -380,6 +439,56 @@ export default {
getReadableTime(timestamp) {
return moment(timestamp).format("MMM D, h:mm:ss a");
},
async changeName() {
if (this.newName.length === 0) {
return this.$bvToast.toast("Trying to set an empty name...", {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would replace this message with "You name must not be empty" or something like that

src/views/Settings.vue Outdated Show resolved Hide resolved
@AaronDewes
Copy link
Contributor

@bguillaumat Can you rebase this PR?

Little fixes

Fix typo error

Co-authored-by: Lounès Ksouri <[email protected]>
@bguillaumat
Copy link
Author

@bguillaumat Can you rebase this PR?

Done

@AaronDewes
Copy link
Contributor

Seems like there still is a conflict... Also for the other branch. Make sure to rebase this on Umbrel's master branch, not the master branch of your fork.
grafik

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants