Skip to content

web/admin: fix html error on oauth2 provider page (cherry-pick #7384)#7424

Merged
BeryJu merged 1 commit intoversion-2023.10from
cherry-pick-c246f8-version-2023.10
Nov 3, 2023
Merged

web/admin: fix html error on oauth2 provider page (cherry-pick #7384)#7424
BeryJu merged 1 commit intoversion-2023.10from
cherry-pick-c246f8-version-2023.10

Conversation

@gcp-cherry-pick-bot
Copy link
Contributor

Cherry-picked web/admin: fix html error on oauth2 provider page (#7384)

  • web: break circular dependency between AKElement & Interface.

This commit changes the way the root node of the web application shell is
discovered by child components, such that the base class shared by both
no longer results in a circular dependency between the two models.

I've run this in isolation and have seen no failures of discovery; the identity
token exists as soon as the Interface is constructed and is found by every item
on the page.

  • web: fix broken typescript references

This built... and then it didn't? Anyway, the current fix is to
provide type information the AkInterface for the data that consumers
require.

  • # Details

Extra > symbol screwed up the reading of the rest of the component. Unfortunately,
too many fields in an input are optional, so it was easy for this bug to bypass any
checks by the validators. I should have caught it myself, though.

* web: break circular dependency between AKElement & Interface.

This commit changes the way the root node of the web application shell is
discovered by child components, such that the base class shared by both
no longer results in a circular dependency between the two models.

I've run this in isolation and have seen no failures of discovery; the identity
token exists as soon as the Interface is constructed and is found by every item
on the page.

* web: fix broken typescript references

This built... and then it didn't?  Anyway, the current fix is to
provide type information the AkInterface for the data that consumers
require.

* \# Details

Extra `>` symbol screwed up the reading of the rest of the component.  Unfortunately,
too many fields in an input are optional, so it was easy for this bug to bypass any
checks by the validators.  I should have caught it myself, though.
@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested a review from a team as a code owner November 3, 2023 10:59
@netlify
Copy link

netlify bot commented Nov 3, 2023

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit 589ccc8
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/6544d279ff7c340008fe50f2
😎 Deploy Preview https://deploy-preview-7424--authentik.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95 (🔴 down 1 from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 80 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@BeryJu BeryJu merged commit e4c251a into version-2023.10 Nov 3, 2023
@BeryJu BeryJu deleted the cherry-pick-c246f8-version-2023.10 branch November 3, 2023 12:17
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