Project

General

Profile

Actions

Bug #22135

closed

Project view's loading indicator sometimes present on empty projects

Added by Lucas Di Pentima about 1 month ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release:
Release relationship:
Auto

Description

When navigating through different projects by clicking on the left hand side tree, sometimes the "No data found" and "No workflow runs found" message is not being rendered on empty projects.

The attached video file demonstrates the problem.


Files

project-loading-indicator-bug.mov (27.1 MB) project-loading-indicator-bug.mov Lucas Di Pentima, 09/19/2024 02:11 PM

Subtasks 1 (0 open1 closed)

Task #22147: Review 22135-project-loading-indicatorResolvedLisa Knox10/16/2024Actions
Actions #1

Updated by Lucas Di Pentima about 1 month ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz about 1 month ago

  • Target version changed from Development 2024-09-25 sprint to Development 2024-10-09 sprint
Actions #3

Updated by Peter Amstutz about 1 month ago

  • Assigned To set to Lisa Knox
Actions #4

Updated by Peter Amstutz about 1 month ago

  • Assigned To changed from Lisa Knox to Stephen Smith
Actions #5

Updated by Peter Amstutz 20 days ago

  • Assigned To deleted (Stephen Smith)
Actions #6

Updated by Peter Amstutz 20 days ago

  • Target version changed from Development 2024-10-09 sprint to Development 2024-10-23 sprint
Actions #7

Updated by Peter Amstutz 19 days ago

  • Assigned To set to Stephen Smith
Actions #8

Updated by Peter Amstutz 19 days ago

  • Assigned To changed from Stephen Smith to Lisa Knox
Actions #9

Updated by Lisa Knox 19 days ago

  • Status changed from New to In Progress

developer-run-tests-services-workbench2: #1240

22135-project-loading-indicator @ 2bcf7e2a294eeb4bb27762dcf5a2471782a23d4e

  • ✅ All agreed upon points are implemented / addressed.
  • ✅ Anything not implemented (discovered or discussed during work) has a follow-up story.
  • ✅ Code is tested and passing, both automated and manual, what manual testing was done is described
  • - Documentation has been updated.
  • - Behaves appropriately at the intended scale (describe intended scale).
  • - Considered backwards and forwards compatibility issues between client and server.
  • ✅ Follows our coding standards and GUI style guidelines.
Actions #10

Updated by Lucas Di Pentima 19 days ago

Some comments:

  • There're some linter warnings that would be easy to fix: Line 188:46: Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations no-mixed-operators
  • I wonder if we can somehow have a test that exercise this code path, doesn't need to be an e2e test if a unit test is simpler to write, but I think this kind of bugs are difficult to spot if they appear again and are untested.

Other than that, LGTM.

Actions #11

Updated by Lisa Knox 12 days ago

Actions #12

Updated by Lucas Di Pentima 12 days ago

  • Test looks good except for one suspicion of mine: a "test-project" named project is created but the browser isn't told to navigate to it after login, correct? So this might pass now that there's no wf run on the admin's home project but may fail in the future.
  • If my observation above is correct, everything would be ready to merge with that fixed, and also LGTM otherwise.

Thanks!

Actions #13

Updated by Lisa Knox 12 days ago

  • Test looks good except for one suspicion of mine: a "test-project" named project is created but the browser isn't told to navigate to it after login, correct?

That is correct, the intention was to navigate to the created project (that we know will be empty) and make assertions there. It is now fixed and I will go ahead and merge. Thanks!

Actions #14

Updated by Lisa Knox 12 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF