•  
     
    story #10495 have base cross tracker search widget (step 1)
Summary
user
have base cross tracker search widget (step 1)
Empty

This is the first step of cross tracker search. It's almost not functional at all but set the bases for future work.

We get:

  • Step A - A new widget
    • For user and project dashboards
    • An angular 1.6 application
    • With an empty state as nothing was selected
  • Step B - The widget allows to select a limited number of trackers in several projects
    • The limit is set to 10 trackers
    • The selector is made of 2 simple select boxes
      • They use the /projects/ REST route that need to be modified to allow to search on project that I'm member of. Both query and representation must be adapted to add this information
    • The selection is saved via REST calls attached to cross tracker feature (it's not widget preference). Needed routes
      • OPTION|POST /xtracker_reports/
      • OPTION|GET|PUT /xtracker_reports/:id
    • Edit of the query is done inline
    • On save the trackers and projects that are no longer visible are removed
    • When a project or a tracker is deleted, the widgets are cleaned
    • On widget delete, remove the report
  • Step C - Run the query and display results
    • Query done via REST
      • OPTION|GET /xtracker_reports/:id/content
    • Result presented as a tlp table with fixed columns (like artifact folder) and only the first 30 results
  • Step D - Widget inheritnace
    • On project clone (template) widget is inherited with its configuration
Empty
Status
Empty
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
#10495
Manuel Vacelet (vaceletm)
2017-09-15 15:44
2017-07-21 16:09
4492

References
Referencing story #10495

Git commit

tuleap/tuleap/stable

Create widget for projects b7640e4b55
Create widget for my 2e68871d8e
Create a presenter to init app c1201be1aa
Init angular app 3f30d6866c
Refactoring: DRY for isInDashboard d506f5b027
Add a directive for an empty state d3f486ee0b
Add tests 564225082d
Load angular only once 7e0a8d0f8c
Test about the current page should not assume $_SERVER['REQUEST_URI'] is set 8a1c0f761b
Update /projects/ route with member_of 2518da8289
Rename member_of to is_member_of 1c99ff0f4b
Add ability to query GET /projects for projects I'm member of ec647dc894
Remove angular 1.6 b992f9d7b4
GET cross_tracker_reports/:id 95f4a63352
Refactoring: ask directly to the widget its dependencies 02ee73584f
at widget creation we should instanciate an empty report 0288fbf720
Select the trackers: PUT /xtracker_reports/:id a336decaf3
Rest route should only retrieve active projects e8462049b1
project deletion must be taken into account 96cda91660
Correct the CI for stable/master 7b834fbd52
widget deleted -> xtracker report deleted dd03a20cfe
Select the trackers 1ab7c16df5
PUT route must be able to support empty trackers_id array 78a1b6eec1
Inherit trackers used in cross tracker widgets 5fa5441228
Query done via REST b1db26dc7a
Inherit cross tracker widget 795deda0c3
API GET /api/v1/cross_tracker_reports/<id> send project info e78e990876
Save the selected trackers ffcf8ff6bd
Query should retrieve informations needed to create tracker badge. df08aba3bb
Correct save message translation 430dbb580e
Do not display html entities in project name e6fdabbbc8
Display results 7c9e673921
Format displayed date d6a7e5a370
Display the result: artifact title should be displayed with its own badge dd6719409d
Display tooltip in cross tracker widget ad8e32db2b
Display the result: users should be properly formatted 39396fdd63
Display result at report save 38a41c2743
Refactoring: Move all REST calls to a rest-querier object 1a28a55749
Route $id/content should have a query parameter 8dd274d853
Refactoring: extract mode change to a dedicated object 4ee90e0790
Better alignment of project icon 96e6729135
Display the result for search button b6e2ec89e7
User should only be able to retrieve dashboard he can see with UI 97aae9dd1d
Adjust white space of project icon 15ec87e9fd

Follow-ups

User avatar
gerrit #9115 integrated into Tuleap 9.10.99.43

  • 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 Ready (stalled) to On going
  • Permissions set to