feat: use nextjs link tag instead of a #85

Merged
annadavi merged 9 commits from link-tag-nextjs into ui_change 2026-10-27 19:39:25 +00:00
Member

Using nextjs built-in link element instead of normal tag use the client side navigation which make the experience smoother along with having faster load time

Closes #84

Type of change

New feature

Testing

  • I added/updated tests.
  • I tested my changes locally.
    • I tested my changes with a laptop-size screen.
    • I tested my changes with a phone-size screen.
    • I tested my changes with a tablet-size screen.
  • I tested on the kennel preview deployment for this pull request.

Screenshots/Recordings

Checklist

  • My code follows the project's existing style.
  • I have reviewed my changes.
  • Only the necessary files and lines have been changed.
  • This PR is ready for review.
Using nextjs built-in link element instead of normal <a> tag use the client side navigation which make the experience smoother along with having faster load time ## Related Issue Closes #84 ## Type of change New feature ## Testing - [x] I added/updated tests. - [x] I tested my changes locally. - [x] I tested my changes with a laptop-size screen. - [x] I tested my changes with a phone-size screen. - [x] I tested my changes with a tablet-size screen. - [x] I tested on the kennel preview deployment for this pull request. ## Screenshots/Recordings <!-- If this includes a UI change, attach screenshots on both laptop and mobile. --> ## Checklist - [x] My code follows the project's existing style. - [x] I have reviewed my changes. - [x] Only the necessary files and lines have been changed. - [x] This PR is ready for review.
feat: use nextjs link tag instead of a
All checks were successful
Test / Integration tests (pull_request) Successful in 2m2s
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
Test / Unit tests (pull_request) Successful in 33s
kennel/build build succeeded
kennel/deploy deployment healthy
7d54b7c143

Kennel Deployments

Torn down at 2026-10-27 19:39:26 UTC.

<!-- kennel-deployment --> ### Kennel Deployments Torn down at 2026-10-27 19:39:26 UTC.
feat: force drawer close on mobile nav
All checks were successful
kennel/build build succeeded
kennel/deploy deployment healthy
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
Test / Unit tests (pull_request) Successful in 31s
Test / Integration tests (pull_request) Successful in 1m58s
5b70a44d07
Merge branch 'ui_change' of ssh://git.cmu.dev/ScottyLabs/study into link-tag-nextjs
All checks were successful
kennel/build build succeeded
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
Test / Unit tests (pull_request) Successful in 32s
kennel/deploy deployment healthy
Test / Integration tests (pull_request) Successful in 1m58s
77193c59a7
Merge branch 'link-tag-nextjs' of ssh://git.cmu.dev/ScottyLabs/study into link-tag-nextjs
All checks were successful
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
kennel/build build succeeded
kennel/deploy deployment healthy
nixbot/nix-build 0 attributes built
Test / Unit tests (pull_request) Successful in 1m16s
Test / Integration tests (pull_request) Successful in 2m15s
a503a096c1
Merge branch 'ui_change' into link-tag-nextjs
All checks were successful
kennel/build build succeeded
kennel/deploy deployment healthy
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
Test / Integration tests (pull_request) Successful in 2m16s
Test / Unit tests (pull_request) Successful in 1m19s
63dcbd7f0e
Merge branch 'ui_change' into link-tag-nextjs
All checks were successful
kennel/deploy deployment healthy
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
kennel/build build succeeded
Test / Integration tests (pull_request) Successful in 2m14s
Test / Unit tests (pull_request) Successful in 1m19s
8d51667be3
annadavi approved these changes 2026-10-26 03:24:16 +00:00
Dismissed
annadavi dismissed annadavi's review 2026-10-26 03:27:47 +00:00
annadavi requested changes 2026-10-26 03:35:00 +00:00
Dismissed
annadavi left a comment

There are a few external links that shouldn't use the Link element since it is meant for internal links. I commented on each location. Just revert to whatever it used before (a or href) for those. All the internal links are fine.

There are a few external links that shouldn't use the Link element since it is meant for internal links. I commented on each location. Just revert to whatever it used before (a or href) for those. All the internal links are fine.
@ -57,12 +58,12 @@ export default function AccessRestrictedPage() {
{/* Subtle footer note */}
<div className="mt-12 text-sm text-black opacity-70 dark:text-white">
If you believe you reached this page in error, please contact{" "}
<a
Member

This is an external link, so shouldn't use Link.

This is an external link, so shouldn't use Link.
@ -32,12 +33,12 @@ export default function EligibilityUnavailablePage() {
<div className="mt-12 text-sm text-black opacity-70 dark:text-white">
If this continues, please contact{" "}
<a
Member

This (mailto) is an external link, so shouldn't use Link.

This (mailto) is an external link, so shouldn't use Link.
@ -184,3 +185,3 @@
You can revoke the app&apos;s access to your Google Account at any
time via your{" "}
<a
<Link
Member

This is an external link, so shouldn't use Link.

This is an external link, so shouldn't use Link.
@ -104,2 +116,2 @@
</a>
<a
</Link>
<Link
Member

This is an external link, so shouldn't use Link.

This is an external link, so shouldn't use Link.
@ -73,3 +73,3 @@
<div className="sidebar-bottom">
<nav className="sidebar-utilities" aria-label="Utility navigation">
<a
<Link
Member

This is an external link, so shouldn't use Link.

This is an external link, so shouldn't use Link.
Revert "feat: use nextjs link tag instead of a"
All checks were successful
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
kennel/build build succeeded
kennel/deploy deployment healthy
Test / Unit tests (pull_request) Successful in 1m19s
Test / Integration tests (pull_request) Successful in 2m15s
dc397d16da
This reverts commit 7d54b7c143.

fix: external link changed to <a>
Author
Member

Fixed

Fixed
fix: one more page
Some checks failed
nixbot/nix-eval evaluation failed
nixbot/nix-build merge conflict
kennel/build build succeeded
kennel/deploy deployment healthy
Test / Unit tests (pull_request) Successful in 1m47s
Test / Integration tests (pull_request) Successful in 2m40s
2681b0135e
annadavi approved these changes 2026-10-27 14:58:45 +00:00
annadavi merged commit 2681b0135e into ui_change 2026-10-27 19:39:25 +00:00
annadavi deleted branch link-tag-nextjs 2026-10-27 19:39:25 +00:00
Sign in to join this conversation.
No description provided.