You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Legal API: should return "some" business info for a bootstrap business #25535
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingtechdebt
observe that slim business calls are not returning a valid business object
observe that business state changes (eg, the filing becoming completed) are not recognized or communicated to the user; the user will have to click F5 to refresh the page
What do you think? Is there any reason we should not update the business endpoint to minimally support T businesses? Is there anything else we could do, in the UI, to determine if a bootstrap filing in the ledger has been updated?
@vysakh-menon-aot@thorwolpert What do you think about a new endpoint to return "last modified datetime" for both businesses and bootstrap businesses? Or some other solution that doesn't require the UI to use 2 separate mechanisms to poll for changes?
Vysakh, I was thinking the Legal API would abstract the fact that the business might be a bootstrap filing and return a "last modified" value in that case also -- the value wouldn't come from the business object; it would come from the bootrstrap filing itself.
(My gut tells me it's much easier for the API to handle the 2 scenarios (since it's responding to a single call) instead of coding separate polling mechanisms in the UI.)
I am ok with creating a new endpoint /businesses/<identifier>/status@thorwolpert any objection?
i think it's a bad idea. It adds more bad techdebt onto a decision that created techdebt.
The problem as I understand it, as that you go to the business page, before the business is created.
Our skeuomorphism is based on bank accounts and ledgers, there you don't get to go to the account until it's approved and created.
If I were re-writing those views into the system today I'd be pushing to fix that, instead of add to it.
Re-designing our "bootstrap business look-alike page" is not in scope for this ticket, and would require much UI/UX input (and this was their design to start with). cc: @janisrogers@jacqueline-williams-549@forgeuxGH5
With upcoming refactors of various UIs, there is an opportunity to redesign what a bootstrap business looks like, but we're not there yet.
I think this leave us two options: complicate the UI to poll the bootstrap filing itself, or do nothing and leave just-filed bootstrap filings looking like they're pending until the user manually refreshes the page. cc: @OlgaPotiagalova
This was a rebuild, and it was added back in. Doubtful another rebuild would have a different outcome
Yes, the Business Dashboard UI is new, but the underlying issue that the UI is async with Pay and Filer was not resolved as it's inherent in the current architecture.
Making the dashboard "real time" is maybe the ultimate goal, but is out of scope for now.
The option of a new endpoint is simple and contained and provides a functional solution with little effort. I'm not 100% pushing for this as we could accept to defer a different solution for this issue, or we could accept this workable solution now. Thoughts or other ideas?
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingtechdebt
Activity
severinbeauvais commentedon Mar 12, 2025
This is ready for someone to pick up.
severinbeauvais commentedon Mar 12, 2025
@vysakh-menon-aot This ticket is one potential solution for the issue in #25845.
What do you think? Is there any reason we should not update the
businessendpoint to minimally support T businesses? Is there anything else we could do, in the UI, to determine if a bootstrap filing in the ledger has been updated?vysakh-menon-aot commentedon Mar 19, 2025
@thorwolpert Do you have suggestion on this? I do remember we decided not to return temp business on business endpoint
vysakh-menon-aot commentedon Mar 19, 2025
vysakh-menon-aot commentedon Mar 19, 2025
The UI can still use business (slim) endpoint to determine if a bootstrap filing is CompletedThats not correctseverinbeauvais commentedon Mar 19, 2025
Do you have a example URL ?
vysakh-menon-aot commentedon Mar 19, 2025
I can suggest a new endpoint (
/businesses/<string:identifier>/filing-status/<int:filing_id>), which only provides the minimal response./businesses/<temp-identifier>/filing-status) temp identifier. Include identifier once processed/businesses/<identifier>/filing-status/<filing-id>) identifier and filing idseverinbeauvais commentedon Mar 19, 2025
Ideally, the UI could use the same mechanism to poll for changes, whether it's a bootstrap business or an actual business.
A new endpoint that provides filing status wouldn't be ideal for the general case because we don't know what filing might change status.
We really want the ability to identify "any" change to the business as a whole. Looking at filing changes is a good proxy for that.
severinbeauvais commentedon Mar 21, 2025
@vysakh-menon-aot @thorwolpert What do you think about a new endpoint to return "last modified datetime" for both businesses and bootstrap businesses? Or some other solution that doesn't require the UI to use 2 separate mechanisms to poll for changes?
vysakh-menon-aot commentedon Mar 21, 2025
We don't have
last modified datetimefor a filing. So its not possible to provide that with the current model for bootstrap businessesseverinbeauvais commentedon Mar 21, 2025
Vysakh, I was thinking the Legal API would abstract the fact that the business might be a bootstrap filing and return a "last modified" value in that case also -- the value wouldn't come from the business object; it would come from the bootrstrap filing itself.
(My gut tells me it's much easier for the API to handle the 2 scenarios (since it's responding to a single call) instead of coding separate polling mechanisms in the UI.)
vysakh-menon-aot commentedon Mar 25, 2025
I am ok with creating a new endpoint
/businesses/<identifier>/status@thorwolpert any objection?2 remaining items
thorwolpert commentedon Mar 25, 2025
i think it's a bad idea. It adds more bad techdebt onto a decision that created techdebt.
The problem as I understand it, as that you go to the business page, before the business is created.
Our skeuomorphism is based on bank accounts and ledgers, there you don't get to go to the account until it's approved and created.
If I were re-writing those views into the system today I'd be pushing to fix that, instead of add to it.
severinbeauvais commentedon Mar 25, 2025
Re-designing our "bootstrap business look-alike page" is not in scope for this ticket, and would require much UI/UX input (and this was their design to start with). cc: @janisrogers @jacqueline-williams-549 @forgeuxGH5
With upcoming refactors of various UIs, there is an opportunity to redesign what a bootstrap business looks like, but we're not there yet.
I think this leave us two options: complicate the UI to poll the bootstrap filing itself, or do nothing and leave just-filed bootstrap filings looking like they're pending until the user manually refreshes the page. cc: @OlgaPotiagalova
Thoughts on how to proceed?
thorwolpert commentedon Mar 25, 2025
This was a rebuild, and it was added back in. Doubtful another rebuild would have a different outcome
Mihai-QuickSilverDev commentedon Mar 26, 2025
Mihai-QuickSilverDev commentedon Mar 26, 2025
severinbeauvais commentedon Mar 26, 2025
Yes, the Business Dashboard UI is new, but the underlying issue that the UI is async with Pay and Filer was not resolved as it's inherent in the current architecture.
Making the dashboard "real time" is maybe the ultimate goal, but is out of scope for now.
The option of a new endpoint is simple and contained and provides a functional solution with little effort. I'm not 100% pushing for this as we could accept to defer a different solution for this issue, or we could accept this workable solution now. Thoughts or other ideas?
severinbeauvais commentedon Mar 26, 2025
@kzdev420 We took your name off until we agree on an approach.