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

Fix rendering issue for multiple APIRules #1069

Merged
merged 12 commits into from
May 24, 2024

Conversation

triffer
Copy link
Contributor

@triffer triffer commented May 22, 2024

Description
Rendering of the Host link for multiple APIRules fails and doesn't render the APIRule list. Additionally, the filtering of the APIRules for the host link must be moved to the list to be accurate.
Since we support multiple hosts with version v1beta2 and the host link is not working correctly for some time. we should just remove the link and render the value of the host field. In the details we can keep the host link for now.

Changes proposed in this pull request:

  • Remove link from the host field in the APIRules list

Related issues

@triffer triffer added the kind/bug Categorizes issue or PR as related to a bug. label May 22, 2024
@triffer triffer requested a review from a team as a code owner May 22, 2024 06:46
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 22, 2024
@triffer triffer requested a review from a team as a code owner May 22, 2024 06:46
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 23, 2024
@triffer triffer changed the title Fix duplicated host link when multiple APIRules exist Fix rendering issue for multiple APIRules May 23, 2024
@kyma-bot kyma-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 23, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label May 24, 2024
@kyma-bot kyma-bot merged commit 002d172 into kyma-project:main May 24, 2024
11 checks passed
nataliasitko pushed a commit to nataliasitko/api-gateway that referenced this pull request May 27, 2024
* Fix host link when multiple APIRules exist

* Add release notes

* Update release notes

* Add retries to reduce flakiness of tests

* Make tests more reliable by using scrollIntoView

* Fix scrolling issue with APIRule name

* Make host in APIRules only a text field to have more reliable rendering and less UI logic

* Remove unused code

---------

Co-authored-by: Marek Kołodziejczak <[email protected]>
@triffer triffer deleted the apirule-host-links branch September 16, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants