Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: uses new subscriptions table/drawer layout for zoneIngress #3153

Merged
merged 8 commits into from
Nov 8, 2024

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Nov 7, 2024

Adds new Subscription Table/Drawer UI to ZoneIngresses (whilst maintaining old-style for Egress and Dataplanes until we change those also)

Part of: #2921


Lots of failing tests here, so keeping in draft until I've sorted that. I would guess it's probably chore-like updating of tests but we'll see!

Turns out we can't use addRouteName from #3151 due to things being slightly different and weird between dev source and compiled/built source.

Instead I reverted to use route config props here, which was second favourite option. I plan to improve on this a little more, and if I ever figure out a more reliable way to add a dynamic global like $routeName I can add it at a later date. In the meantime I'd rather keep this table/drawers feature on track. Apologies for the noisy PR!

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit 871df37
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/672dd2b422d4bf0008137eb0
😎 Deploy Preview https://deploy-preview-3153--kuma-gui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor Author

@johncowen johncowen left a comment

Choose a reason for hiding this comment

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

This PR ended up needing to be a bit bigger than I'd wanted, so I left some inline notes also:

src/app/application/components/route-view/RouteView.vue Outdated Show resolved Hide resolved
src/app/kuma/locales/en-us/index.yaml Show resolved Hide resolved
src/app/subscriptions/data/index.ts Show resolved Hide resolved
src/app/subscriptions/routes.ts Show resolved Hide resolved
src/app/zones/data/index.ts Show resolved Hide resolved
src/types/index.d.ts Show resolved Hide resolved
@johncowen johncowen force-pushed the chore/zone-ingress-subs branch from 853fc66 to b28e256 Compare November 7, 2024 14:27
Signed-off-by: John Cowen <[email protected]>
@johncowen johncowen force-pushed the chore/zone-ingress-subs branch from e2c1906 to bec0a9d Compare November 7, 2024 15:25
@johncowen johncowen force-pushed the chore/zone-ingress-subs branch from 3072023 to 1f2586a Compare November 7, 2024 16:43
@johncowen johncowen marked this pull request as ready for review November 7, 2024 16:56
@johncowen johncowen requested a review from a team as a code owner November 7, 2024 16:56
Copy link
Contributor

@schogges schogges left a comment

Choose a reason for hiding this comment

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

👍
left some Qs 🙂

@johncowen johncowen merged commit 2e660c1 into kumahq:master Nov 8, 2024
16 checks passed
johncowen added a commit that referenced this pull request Nov 12, 2024
I made `.kuma.nanodate` and `.kuma.date` for the slightly different date
formats we have in the mocks.

I only used them in one mock to prove the outputs, and I also updated
the same mock to use `semver` and `commitSha`, but we should try to
gradually use these as we work on related features.

Note this mock along with changes in
#3153 mean this mock is now
entirely random 🎉

Signed-off-by: John Cowen <[email protected]>
Signed-off-by: John Cowen <[email protected]>
johncowen added a commit that referenced this pull request Nov 13, 2024
…in egress and dpps (#3159)

Similar to #3153 implements new
table/drawer layouts for subscriptions in both:

- ZoneEgress
- Dataplanes

... but seeing we now no longer use the old Subscription components, I
deleted those here also.

---------

Signed-off-by: John Cowen <[email protected]>
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.

3 participants