-
Notifications
You must be signed in to change notification settings - Fork 32
Footer #871
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
Footer #871
Conversation
Sorry for not noticing this earlier, but I somehow feel this is very related to the issues about customizing the header.
Why did you go with a custom Another consequence of the current setup is that we need yet another http call to show an app (making loading even slower), and for all older apps it will fill our logs with |
Those issues are indeed related, and are something we also want to allow customization of. I suppose the reason we did not want to define it in |
We have discussed this again today, and we have decided to keep it in a separate file with the current setup for now. And then at a later point we can combine multiple files into a single request were appropriate to reduce the number of requests when loading the form. |
@ivarne Same thing when looking for |
@olemartinorg Yes, but |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
I think we should have automatic tests for this thing (as I believe all features should have some form of automatic tests 😉). You can even use Cypress to mock the API response to test out different footers. I used that approach in #899, which made it a joy to develop the functionality (as I could have Cypress open in a different window where it tests the entire feature I'm in the process of making, while I'm making it - it caused me to find and fix several edge-cases). Without tests, anyone can break this functionality without noticing.
Nice, I assumed I needed to update frontend-test with a footer and updated nugets to test with cypress. If it is possible to mock I can do it before merging 👍 |
SonarCloud Quality Gate failed. |
Description
Removed the proposed grid-solution as I think it could be too complicated for a user friendly configuration in studio. Currently just a simple flexbox. Cypress tests depend on Altinn/app-lib-dotnet#183 being released and frontend-test updating nugets.
Related Issue(s)
Verification
src/layout/layout.d.ts
andlayout.schema.v1.json
, and these are all backwards-compatible