Skip to content

feat(ui+api): logic changes to substatus filters & renewal badge#1506

Merged
JazzarKarim merged 5 commits intobcgov:mainfrom
JazzarKarim:1118-replace-substatus-filters
Apr 13, 2026
Merged

feat(ui+api): logic changes to substatus filters & renewal badge#1506
JazzarKarim merged 5 commits intobcgov:mainfrom
JazzarKarim:1118-replace-substatus-filters

Conversation

@JazzarKarim
Copy link
Copy Markdown
Collaborator

@JazzarKarim JazzarKarim commented Apr 8, 2026

Issue:

Description of changes:
Here are a list of changes of what this PR does:

  • Review now only shows registrations that are provisionally reviewed or provisionally approved that DO NOT have the decider block filled in. Meaning, they were approved but no examiner actually have looked at them yet and made a decision.
  • Review Renew, follows a similar path. Renewals that have been provisionally approved but no examiner have looked and made a decision on that renewal.
  • If a registration now is Suspended or Cancelled, we actually show it in the sub-status column as well. Examiners want to see that

I tested my changes in both old and new dashboard. They both look good from my perspective. Old dashboard works the exact same way as before. New one has that updated logic.

Here's an example of stuff that won't show anymore in Review:
Previously, something like this used to show:
image
Now, it doesn't. Reason is because it was provisionally approved and there is a decider.

For review renew, something like this won't show anymore:
image
Reason being, it's a provisionally approved renewal with a decider.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the BC Registry and Digital Services BSD 3-Clause License

@JazzarKarim JazzarKarim self-assigned this Apr 8, 2026
@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-examiner-dev--pr-1506-cjnz9264.web.app

1 similar comment
@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-examiner-dev--pr-1506-cjnz9264.web.app

@JazzarKarim JazzarKarim marked this pull request as ready for review April 8, 2026 20:38
@JazzarKarim JazzarKarim requested a review from thorwolpert as a code owner April 8, 2026 20:38
@JazzarKarim JazzarKarim requested a review from dimak1 April 8, 2026 20:38
Copy link
Copy Markdown
Collaborator

@dimak1 dimak1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, looks good, just few comments to clarify.

Comment thread strr-api/src/strr_api/models/rental.py
Comment thread strr-examiner-web/app/pages/dashboard.vue Outdated
Copy link
Copy Markdown
Collaborator

@dimak1 dimak1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@JazzarKarim JazzarKarim force-pushed the 1118-replace-substatus-filters branch from c7826b0 to d55d6bc Compare April 13, 2026 21:53
@JazzarKarim
Copy link
Copy Markdown
Collaborator Author

As per new requirements:
Review Renew:

  • filed renewal
  • no top-level decider,
  • provisional status

Review:

  • no top-level decider,
  • provisional status

Badge: same as Review Renew

@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-examiner-dev--pr-1506-cjnz9264.web.app

@sonarqubecloud
Copy link
Copy Markdown

@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-examiner-dev--pr-1506-cjnz9264.web.app

@JazzarKarim JazzarKarim changed the title feat(ui+api): fixes to how substatus column/filters work feat(ui+api): fixes to how substatus column/filters work + renewal badge logic fix Apr 13, 2026
@JazzarKarim JazzarKarim changed the title feat(ui+api): fixes to how substatus column/filters work + renewal badge logic fix feat(ui+api): logic changes to substatus column/filters + renewal badge Apr 13, 2026
@JazzarKarim JazzarKarim changed the title feat(ui+api): logic changes to substatus column/filters + renewal badge feat(ui+api): logic changes to substatus filters & renewal badge Apr 13, 2026
@JazzarKarim JazzarKarim merged commit 783ed24 into bcgov:main Apr 13, 2026
22 of 24 checks passed
@dimak1 dimak1 mentioned this pull request Apr 15, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants