-
Notifications
You must be signed in to change notification settings - Fork 50
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
New material view (subset) #3797
New material view (subset) #3797
Conversation
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
a83d3b0
to
3404310
Compare
3404310
to
6ae4f77
Compare
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.
Visually looks good to me :)
I think it is not very useful to export the material excels from all periods at once. But it was this way before, you didn't make it worse :)
6ae4f77
to
3a318ff
Compare
06c9da2
to
25f8635
Compare
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.
Look & feel good to me (except the point with the show/hide activity material, which I'd like to throw into the round)
Some optimizations on number of API calls still possible, but we can address this separately
</template> | ||
<v-card-text> | ||
<e-switch |
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.
From a look & feel, removing the switch to hide activity material is the only thing I would challenge. The number of material items coming from activities could become very large for longer camps. Not having the possibility to hide activity material could make it very cumbersome, if I really want to review the camp/period material only.
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.
I'm not sure what the use case for this is. I think we should look at this in a separate issue, where we can tackle the confusion about period/activity material as well. For me this is the much bigger problem. Now you can just look at the individual lists which will alleviate the issue with loading.
If you think we should look at this in this issue, then I would suggest making the lastColumn sortable (based on type: activity
/ period
)
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.
I'm not sure what the use case for this is.
Let's take a 2 week camp. This could easily include a few hundred activity material items (14 days * 5 activities * 5 material items = 350 items). Now I want to add/edit my period/camp material (a few items only). In order to so so, i need to
- Load all these other 350 material items
- Visually navigate around these 350 material items which I'm not interested in. This is made even harder because at the moment, all period material is sorted at the beginning, but the form to add new items is at the bottom.
I'm not saying the hide/show toggle is the best and only solution. But above user experience is not very nice.
I'm also fine if we tackle this in a separate issue. However, in this PR we're removing code that allows to show/hide activity material which we might add again if we decide show/hide actually is the best solution. So I wonder if it's not easier to keep this toggle in at the moment (even if it's visually not very nice), and remove it later once we have a better solution for it.
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.
What do you think about: 0780683?
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.
@usu I added a column header filter:
Unfiltered:
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.
😃 The functionality is there. The UX I'm not sure. But I think this is easier to discuss face-to-face + maybe trying to get some user feedback on how they use or want to use the material feature.
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.
Okay, maybe it is really better to discuss this at the hackathon. I still don't get the importance and think this whole mental model period vs activity material isn't helping our users. It has a bad UX and solves the wrong problem.
79a20b3
to
1c546ca
Compare
1c546ca
to
0b13542
Compare
Sorry this was due to a review suggestion that did not work.
It is not the primary action. I tested this with someone and they expected it to be behind the menu.
It is necessary, as when you click on mobile in the MaterialLists component (same as sidebar) then you'd want a back button. |
@pmattmann could you create issues for the other suggestions? Then you could specify it a bit more, because I don't fully understand what you mean. |
Implemented changes
5f27d9e
to
1e6213a
Compare
I think this PR is ready to be merged as is functionality wise, as it doesn't get any easier to maintain. Could you please create further issues for feature requests with detailed descriptions. Of course, bugs (like the download xlsx) are still a blocker, but everything else should be put into an enhancement issue and linked to this PR. |
I know you guys have different opinions on this, but I just wanted to reiterate that mixing PR reviews with rebasing and adding commit makes it really difficult to do proper delta reviews. I just spent way too much time, trying to figure out which code lines have changed since my last review. |
@usu as a reviewer I agree 😅 |
Fixes subset of #3549