-
- Downloads
Allow adding new entries to existing path
If an entry has been removed from the tree and later, during the same session, a user is trying to add a new item with the same name/path we should allow for that as long as the original entry is marked with `deleted`.
Showing
- app/assets/javascripts/ide/stores/actions.js 2 additions, 1 deletionapp/assets/javascripts/ide/stores/actions.js
- app/assets/javascripts/ide/stores/modules/commit/actions.js 2 additions, 0 deletionsapp/assets/javascripts/ide/stores/modules/commit/actions.js
- app/assets/javascripts/ide/stores/mutation_types.js 2 additions, 0 deletionsapp/assets/javascripts/ide/stores/mutation_types.js
- app/assets/javascripts/ide/stores/mutations.js 13 additions, 0 deletionsapp/assets/javascripts/ide/stores/mutations.js
- app/assets/javascripts/ide/stores/mutations/file.js 5 additions, 1 deletionapp/assets/javascripts/ide/stores/mutations/file.js
- app/assets/javascripts/ide/stores/state.js 1 addition, 0 deletionsapp/assets/javascripts/ide/stores/state.js
- app/assets/javascripts/ide/stores/utils.js 4 additions, 2 deletionsapp/assets/javascripts/ide/stores/utils.js
- changelogs/unreleased/60859-upload-after-delete.yml 5 additions, 0 deletionschangelogs/unreleased/60859-upload-after-delete.yml
- spec/javascripts/ide/stores/actions_spec.js 32 additions, 11 deletionsspec/javascripts/ide/stores/actions_spec.js
- spec/javascripts/ide/stores/mutations/file_spec.js 13 additions, 0 deletionsspec/javascripts/ide/stores/mutations/file_spec.js
- spec/javascripts/ide/stores/mutations_spec.js 68 additions, 0 deletionsspec/javascripts/ide/stores/mutations_spec.js
- spec/javascripts/ide/stores/utils_spec.js 26 additions, 0 deletionsspec/javascripts/ide/stores/utils_spec.js
Please register or sign in to comment