entity icon indicating copy to clipboard operation
entity copied to clipboard

Remove -Refresh F5 - Output Page - Hide Documents

Open NaveenHebbale opened this issue 1 year ago • 8 comments

OCM suggestion to Remove Hide Documents from UI

image.png

NaveenHebbale avatar May 02 '24 22:05 NaveenHebbale

@yuisotozaki FYI

severinbeauvais avatar May 02 '24 23:05 severinbeauvais

Makes sense to me!

yuisotozaki avatar May 03 '24 15:05 yuisotozaki

The button needs to exist because this ledger entry is an expanded list item (which needs to be expanded or contracted).

How about this?

image.png

The code change (line 15):

image.png

Sample filing: http://localhost:8080/Ta08xzwyRK?filing_id=149112

severinbeauvais avatar May 06 '24 18:05 severinbeauvais

Design team met on May 9 to review this design.

  • Remove/hide the "Hide Documents" button altogether in this state
  • The design team is curious to learn why we cannot simply wait longer after filing submission for the real URL and load that. Or, add a timer that waits for the backend process to complete and then redirect to the real URL.

yuisotozaki avatar May 09 '24 20:05 yuisotozaki

OK, we can implement a special case to remove the expansion toggle button altogether. We should also implement a special case that this type of filing is always auto-expanded (since, without the button, it cannot be expanded if collapsed).

As for why not wait longer? Mostly it's because the back end processes can sometimes get stuck (until we restart them). There is no "minimum wait time for BE to complete" value.

severinbeauvais avatar May 09 '24 20:05 severinbeauvais

The design team's dream solution is to have the front time-out on the back end and have a purpose designed page to let the user know that a) the filing was submitted, b) something went wrong so we cannot display the result, and c) please check back later.

yuisotozaki avatar May 10 '24 17:05 yuisotozaki

That's doable. What do you think the business page should look like during the delay period? How long should the timeout be? Is a modal OK to inform the user? What are the modal actions?

severinbeauvais avatar May 10 '24 17:05 severinbeauvais

@ArwenQin @OlgaPotiagalova

I pre-assigned this ticket to Arwen.

Arwen, when you are finished your previous ticket (or if you are temporarily blocked on it and need more work), then move this ticket to In Progress.

Arwen, you and I need to chat about the requirements and how to satisfy them. It will be a bit exploratory to figure out the cleanest way to implement this but I will work through it with you.

severinbeauvais avatar May 16 '24 17:05 severinbeauvais

Oops! I just noticed that there's a second "Hide Details" button on the ledger item. This ticket should go back to the Sprint Backlog or In Progress.

image.png

severinbeauvais avatar May 27 '24 21:05 severinbeauvais

^^ I believe the button above is in FiledAndPendingPaid.vue.

I also think that FutureEffectivePaid needs to be updated similarly.

severinbeauvais avatar May 28 '24 16:05 severinbeauvais

@ketaki-deodhar , see what was done for PR 656, linked above, in case you want to copy that change.

severinbeauvais avatar May 28 '24 16:05 severinbeauvais

The pay system seems to be down - will try again later.

yuisotozaki avatar May 29 '24 22:05 yuisotozaki

Observation:

  • I can tab into the div and press space to trigger the expand / collapse; the div should not be a tab target
image.png

yuisotozaki avatar May 30 '24 16:05 yuisotozaki

@ketaki-deodhar @ArwenQin , we have CSS to disable pointer events. Please also add tabindex="-1" to the div to prevent tabbing onto it. (See this commit for sample code.)

Yui's second observation (exposing the hidden buttons) means we're not looking at the right HTML elements to determine if the div is open or closed. Or something. But if we block the tabbing then this won't come into play, so I say we ignore it.

severinbeauvais avatar May 30 '24 16:05 severinbeauvais

Got it Sev! Will put a fix for this. Thanks

ketaki-deodhar avatar May 30 '24 17:05 ketaki-deodhar

Pay system still not working - cannot UXA the main part of this ticket.

yuisotozaki avatar Jun 03 '24 16:06 yuisotozaki

The main part of this ticket passes UXA. Just need the tab-focus removed from the div and we're good to go!

yuisotozaki avatar Jun 03 '24 19:06 yuisotozaki

Ready for QA.

yuisotozaki avatar Jun 06 '24 16:06 yuisotozaki