•  
     
    story #28823 [modal] create artifact
Summary
Empty
[modal] create artifact
Empty
  • There is a new option "→ Create new artefact" (first item) in the artifact picker dropdown. When the user picks this option, an inline form is displayed where the user has to:
    • Specify the title of the artifact
    • Select the project (of the tracker where the artifact will be created): by default, current project is selected
    • Select the tracker of the new artifact
  • [Create] button adds the artifact newly created artifact to the table, [Cancel] resets and hides the inline form.
  • The artifact modal [Submit] button is disabled while creation is ongoing.
  • Once created and appended to the table, the artifact picker is re-focused.
  • If the user creates a second artifact, the previously selected tracker is kept.
  • If a tracker doesn't allow quick creation, it's disabled and a tooltip appears on <option> hover giving more information to the user
  • If the user has started to type something in the search field of the artifact picker, the string is appended to the label of "→ Create new artefact"
  • All these steps must be easily achievable using the keyboard only

All these points can be found in this Figma flow

Empty
Empty
Status
Trackers
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#28823
Benjamin Dauton (bdauton_enalean)
2023-06-21 12:48
2022-09-14 10:15
3657

References
Referencing story #28823

Git commit

tuleap/tuleap/stable

Add a feature flag endpoint 1d09104fa1
Add the artifact creation feature flag 50fe4e5275
refactor: use JSONResponseBuilder 3ec60ae6b5
feat: Add "create new item" button in lazybox 3bcffa1239
refacto: build the Tracker representation from Project resource in a dedicated class 345e38319c
feat: Add Create new artifact button 83a307652c
refactor: Lazybox search field custom element 4579f8827c
Introduce new `with_creation_semantic_check` key in the tracker minimal representation b3bc033b18
`cannot_create_reasons` in tracker minimal representation take in d6e6731c8a
feat: Create new artifact button opens an inline form f37ea0fdc3
chore: Rename ArtifactProject to Project c1559bb84d
refactor: Replace table by flexbox 1b5dad5b62
feat: load projects + error 572fd7f272
fix: Add back removed data-test ced54891ac
feat: Show more in error alert b4888ca282
chore: Make REST API types libraries build-less 52fce7ce3c
feat: Improve error-handling when creating an artifact 5c42e9fa98
Retrieve trackers at project selection a5efa9663b
chore: Distinguish the current project and any project 2f3293c0d0
feat: Have a reactive "new item label" bdf8649ef6
Disable tracker selection if user cannot create artifact 7a4fba6c7e
feat: Select current project at init f98d0eba72
feat: List-picker circular colors and avatars should not be squished up 82a129da09
feat: Create a fake new link 8bb1f493ce
feat: Select current tracker at init and memorize tracker choice 8ed96d7ccf
feat: Clear selected tracker when invalid 5ed124e8c4
feat: focus lazybox after creating 16b6de9216
feat: Cache projects retrieval 22a11ad9d6
Fill the artifact title with the autocompleter query value f4b9f0f877
feat: Create real artifact with fake data 0bf2421630
feat: Retrieve real artifact data 35a85d54c1
feat: Show accurate disabling message when creating artifact fdb5c3e74b
Make the Tracker selector filterable 6d31cc7918
feat: Prevent form submission when selected tracker is Nothing 69cc66d6b2
Remove the artifact creation feature flag b965da3cb7
Remove the feature flag in backend 804f919aec
chore: e2e test for artifact link creation aea0dd4871

Follow-ups

User avatar
Joris MASSON (jmasson)2023-04-03 14:45
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from Selected to On going