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

Fix/translating error msg creating space/421 #423

Merged
merged 95 commits into from
Apr 12, 2022

Conversation

zak39
Copy link
Collaborator

@zak39 zak39 commented Feb 11, 2022

When we input a workspace name similary to a workspace existing, this new error message is trigger :

  • title: Error - This workspace name already exists

  • message: Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)

Resolve this issue: #421

Demo

translating-error-message-creating-space

zak39 and others added 30 commits December 28, 2021 17:26
The idea is to have a button 'Settings & Import / Convert' and select the groupfolders to import / convert. The SelectGroupfolders component is created to be in a modal and select the groupfolders to convert / import
…r from the store

With the groupfolders var from the store, I will print in the SelectGroupfolders modal
Fill the groupfolders list in SelectGroupfolders list when the general manager open the modal. Then, empty this list when the general manager close this modal window
We can convert / import a groupfolder in space and sort automatically
I had to change the data structure for the sorting. Now, the keys of data structure is the mount_point and not the folderId for state.groupfolders
I had to change the function to convert a groupfolder in space of the Front and Back side. Now, when I select one or more groupfolders, they are converted in spaces. Todo: Take users present in the groups into account
When we add a groupfolder with users exists from groups, they will be adding to space with theirs (sub)groups exists and user group
When I translated it, the translating took all width.
After import the groupfolders, the counter users didn't increase. It's fixed now.
When I added a groupfolders to convert in space. It displayed all subgroups. But not users for each subgroups. So, I renamed the 'users' var which erased another var which has the same name. To differentitate, I renamed the 'users' var by 'usersOfAGroup' which contains the IUser list
I had an issue on the build to accept the PR
I think I repaire the build npm side.... To test
I should use this rule : 'vue/first-attribute-linebreak'. I tried config it but it doesn't work... I should search how to work it
Signed-off-by: John Molakvoæ <[email protected]>
There is an error in the CI where it doesn't find webpack :

' [webpack-cli] Error: Cannot find module 'webpack''
zak39 and others added 28 commits March 24, 2022 11:11
I don't need this config file, I use jest now

#413 (comment)
The idea is to have a button 'Settings & Import / Convert' and select the groupfolders to import / convert. The SelectGroupfolders component is created to be in a modal and select the groupfolders to convert / import
…r from the store

With the groupfolders var from the store, I will print in the SelectGroupfolders modal
Fill the groupfolders list in SelectGroupfolders list when the general manager open the modal. Then, empty this list when the general manager close this modal window
We can convert / import a groupfolder in space and sort automatically
I had to change the data structure for the sorting. Now, the keys of data structure is the mount_point and not the folderId for state.groupfolders
I had to change the function to convert a groupfolder in space of the Front and Back side. Now, when I select one or more groupfolders, they are converted in spaces. Todo: Take users present in the groups into account
When we add a groupfolder with users exists from groups, they will be adding to space with theirs (sub)groups exists and user group
When I translated it, the translating took all width.
After import the groupfolders, the counter users didn't increase. It's fixed now.
When I added a groupfolders to convert in space. It displayed all subgroups. But not users for each subgroups. So, I renamed the 'users' var which erased another var which has the same name. To differentitate, I renamed the 'users' var by 'usersOfAGroup' which contains the IUser list
I had an issue on the build to accept the PR
I think I repaire the build npm side.... To test
I should use this rule : 'vue/first-attribute-linebreak'. I tried config it but it doesn't work... I should search how to work it
I created 2 tests on the converting groupfolders to space
When we input a workspace name similary to a workspace existing, this new error message is trigger :

- title: Error - This workspace name already exists

- message: Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)
@zak39 zak39 merged commit feaefd6 into main Apr 12, 2022
@zak39 zak39 deleted the fix/translating-error-msg-creating-space/421 branch June 30, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Ongoing correction translating Modification related to translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify error message : two workspaces can't have the same name
5 participants