Skip to content

30614 Add expiration date validation to edit#1583

Merged
eve-git merged 2 commits intobcgov:mainfrom
eve-git:30614
Nov 27, 2025
Merged

30614 Add expiration date validation to edit#1583
eve-git merged 2 commits intobcgov:mainfrom
eve-git:30614

Conversation

@eve-git
Copy link
Collaborator

@eve-git eve-git commented Nov 26, 2025

Issue #:
https://app.zenhub.com/workspaces/names-team-board-new-655554cbddd49510027dad2e/issues/gh/bcgov/entity/30614

Description of changes:

  1. add expiration date validation to edit
  2. fixed a few warnings when compiling

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

<LoadingSpinner v-if="search.isLoading" />
</div>

<PopupDialog :show="showDateDialog">
Copy link
Collaborator Author

@eve-git eve-git Nov 26, 2025

Choose a reason for hiding this comment

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

fixed the warning:

cannot be child of , according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.

optionsDisplay: (option: any) => option,
}
)
}>()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed the warning: withDefaults() is unnecessary when using destructure with defineProps().

<LoadingSpinner v-if="isLoading" />
</div>

</div>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed the warning:

cannot be child of , according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.

@eve-git eve-git requested a review from hfekete November 26, 2025 22:29
@eve-git
Copy link
Collaborator Author

eve-git commented Nov 26, 2025

/gcbrun

@cd-runner
Copy link

cd-runner bot commented Nov 26, 2025

Temporary Url for review: https://namex-dev--pr-1583-67s66qmy.web.app

Copy link
Collaborator

@hfekete hfekete left a comment

Choose a reason for hiding this comment

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

Looks good!
There is one comment, please check it and see if you want to act on it.

</table>

<div class="absolute bottom-1/2 right-1/2 translate-x-1/2 translate-y-1/2 transform">
<LoadingSpinner v-if="search.isLoading" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

you could try moving the v-if="search.isLoading" in the div above:

<div v-if="search.isLoading" class=absolute...

I think it should work, and entire div would be out of the page when loading is not set to true.

Otherwise, div is there, though probably of size 0 or 1px or smth like that.

But if this works, and that div is not in the way of the page it can stay.

</div>
</table>
<div class="absolute bottom-1/2 right-1/2 translate-x-1/2 translate-y-1/2 transform">
<LoadingSpinner v-if="isLoading" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

same as above for the v-if

@eve-git
Copy link
Collaborator Author

eve-git commented Nov 27, 2025

/gcbrun

@cd-runner
Copy link

cd-runner bot commented Nov 27, 2025

Temporary Url for review: https://namex-dev--pr-1583-67s66qmy.web.app

@eve-git eve-git merged commit 3f1bfc0 into bcgov:main Nov 27, 2025
7 of 8 checks passed
hfekete added a commit that referenced this pull request Jan 22, 2026
* test github app (#1578)

- verify pre-view build workflow using github app instead of token

* 31118 bug fix: SUBMITTED DATE SORT does not work (#1581)

* bug fix: SUBMITTED DATE SORT does not work

* order on submitted date only

* 30614 Add expiration date validation to edit (#1583)

* add expiration date validation to edit

* update

* 31568 - Chore: remove broken link (#1584)

* 31568 - Chore: remove broken link

* 31569 - Test: update search test to match current order criteria

---------

Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
hfekete added a commit that referenced this pull request Jan 27, 2026
* test github app (#1578)

- verify pre-view build workflow using github app instead of token

* 31118 bug fix: SUBMITTED DATE SORT does not work (#1581)

* bug fix: SUBMITTED DATE SORT does not work

* order on submitted date only

* 30614 Add expiration date validation to edit (#1583)

* add expiration date validation to edit

* update

* 31568 - Chore: remove broken link (#1584)

* 31568 - Chore: remove broken link

* 31569 - Test: update search test to match current order criteria

* Name Examination UI: change to use Namex API GW URL and API key#30767

Signed-off-by: stevenc987 <steven.chen@gov.bc.ca>

* Name Examination UI: change to use Namex API GW URL and API key#30767

Signed-off-by: stevenc987 <steven.chen@gov.bc.ca>

* Refactor: improve highlighting logic and modularize with `highlightWord` utility function

---------

Signed-off-by: stevenc987 <steven.chen@gov.bc.ca>
Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
Co-authored-by: stevenc987 <steven.chen@gov.bc.ca>
hfekete added a commit that referenced this pull request Feb 3, 2026
* test github app (#1578)

- verify pre-view build workflow using github app instead of token

* 31118 bug fix: SUBMITTED DATE SORT does not work (#1581)

* bug fix: SUBMITTED DATE SORT does not work

* order on submitted date only

* 30614 Add expiration date validation to edit (#1583)

* add expiration date validation to edit

* update

* 31568 - Chore: remove broken link (#1584)

* 31568 - Chore: remove broken link

* 31569 - Test: update search test to match current order criteria

* Name Examination UI: change to use Namex API GW URL and API key#30767

Signed-off-by: stevenc987 <steven.chen@gov.bc.ca>

* Name Examination UI: change to use Namex API GW URL and API key#30767

Signed-off-by: stevenc987 <steven.chen@gov.bc.ca>

* Refactor: improve highlighting logic and modularize with `highlightWord` utility function

* 31278-Update code owners. (#1588)

* Chore: remove unused `backup-pnpm-lock.yaml.backup` file

updated plugins to return names
Fix tests to run locally

* reverted some changes in plugins

* Fix: remove duplicate `LoadingSpinner` component in `ResultsBox.vue`

* Test: add Vue Router setup to test configuration

* Chore: update `happy-dom` to version 20.4.0 in `pnpm-lock.yaml` and dependencies (dealing with vulnerabilities in v14)

* Chore: update Node.js to v24, configure module type, and improve typings and event handling

* chore: upgrade cloud build to node 24 & pnpm

* chore: add pnpm version 10.28.1 and node version 24.x to CI/CD workflows

* chore: remove unused `@vitejs/plugin-vue` dependency from package.json

* missing pnpm-lock.yaml
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.

2 participants