-
Notifications
You must be signed in to change notification settings - Fork 31
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
Show presentation texts and dueBefore on the select-instance page #886
Show presentation texts and dueBefore on the select-instance page #886
Conversation
@Febakke any thoughts on the design of the list showing already started instances of an application? |
I do agree with the action point that the mobile view could be better. If there is room for doing changes to it I can look into a more readable design? |
I'm not sure. This view is very analogous to the "message box", but limited to just one app, so they should probably be looked at together. My tentative wish list (for functionality, I'm not a designer) would be something like.
There are reasons to think some of this belongs in the message box, but configurability and dynamic functionality is much easier when it's an app specific thing. |
Could you elaborate on this?
I see that we have an issue related to this here: #286
That way we could focus on more simple views. But this is a more time consuming task. As of design, we have done some work on the mobile view for the table for the design system. It is added to some parts of Altinn 3. Maybe it should be added here as well. Or am I way of @olemartinorg ? Tables for small screens are not easy. If we would use the design from the design system it would look something like this. It is a little heavy on the left side when there is no radio button so we might need to do some spacing changes. And it takes more vertical space, but it is more readable then the one shown here. |
Nope, you're spot on! 😉 I'll create a separate issue to describe that change. See here: #897 |
I'd probably use "Tabs" (eller "Fane") instead of a radio button to decide whether to show active or archived instances. I'm aware of #286, but as I understand it the plan there is to somehow integrate it with the inbox that is shared with altinn 2. I'm just raising it as an issue here, because it might be relevant as part of a bigger picture if we decide to do something more than "Just extending the current functionality".
Just the same "Fortsett her" button that we have today. If extend the view to also include instances where the process has finished, the button to continue obviously should not be shown for those instances. |
I wasent thinking of radiobuttons, I was more thinking of different flows based on the task of the user, keeping the GUI simple. Someone that is going to start an instance from scratch dont need to see already started and archived instances. But this is something we can look into 🙌 |
I don't think there is any context to derive the current task of the user from when they access the root url of the app without any parameters indicating a choice made in the inbox or wherever the user found the link. So far I know 4 possibilities (not all relevant for every app).
|
This is maybe outside the scope of this PR, but I guess we lack design for handling more functionality on this "start" page? I can create an issue to start looking on some different possibilities based on your comments? |
I’m beginning to think I should just remove the mobile changes in this PR, remove header on presentationTexts, and say this PR is a strict improvement. Further work should be moved to an issue. |
Removing this PR from our sprint - but just let me know when it's ready for review again, and we'll include it in our planning. 😊 |
This builds on
and exposes that information in the frontend. It is fully backwards compatible with older versions of nuget packages (but will only show the new columns on newer package versions).
TODO:
PresentationTexts
(I went withTexts
)Images:
Related Issue(s)
Verification
src/layout/layout.d.ts
andlayout.schema.v1.json
, and these are all backwards-compatible